profilesservices/ProfileEngine/tsrc/public/basic/EngineMdlTest/inc/T_MProfile3DToneSettings.h
changeset 0 8c5d936e5675
equal deleted inserted replaced
-1:000000000000 0:8c5d936e5675
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  MProfile3DToneSettings test class.
       
    15 *
       
    16 */
       
    17 
       
    18 ////////////////////////////////////////////////////////////////////////
       
    19 // T_MProfile3DToneSettings.h
       
    20 //
       
    21 
       
    22 // INCLUDES
       
    23 #include <CEUnitTestSuiteClass.h>
       
    24 
       
    25 #include <f32file.h>
       
    26 #include <s32file.h>
       
    27 
       
    28 #include <APGCLI.H>
       
    29 
       
    30 
       
    31 // FORWARD DECLARATION
       
    32 class MProfileEngine;
       
    33 class MProfile;
       
    34 class MProfileExtraSettings;
       
    35 class MProfile3DToneSettings;
       
    36 class CRepository;
       
    37 
       
    38 /**
       
    39  * Test suite for class MProfile
       
    40  */
       
    41 class T_MProfile3DToneSettings : public CEUnitTestSuiteClass
       
    42     {
       
    43     public:     // Construct / destruct
       
    44         static T_MProfile3DToneSettings* NewLC();
       
    45         ~T_MProfile3DToneSettings();
       
    46 
       
    47     private:
       
    48         void ConstructL();
       
    49 
       
    50     private:    // Assistance methods
       
    51 
       
    52     private:    // test methods
       
    53         // setups
       
    54         void EmptySetupL();
       
    55         void SetupL();
       
    56 
       
    57         // teardowns
       
    58         void EmptyTeardown();
       
    59         void Teardown();
       
    60 
       
    61         // tests
       
    62         void EmptyTestL();
       
    63 
       
    64         void GetEffectTestL();
       
    65         void GetEchoTestL();
       
    66 
       
    67     private:    // Implementation
       
    68 
       
    69         EUNIT_DECLARE_TESTCASE_TABLE;
       
    70 
       
    71     private:    // Data
       
    72         MProfileEngine* iProfileEngine;
       
    73         MProfile* iProfile;
       
    74         TInt iActiveId;
       
    75         RFs iFs;
       
    76 
       
    77         const MProfileExtraSettings* iProfileExtraSettings;
       
    78         const MProfile3DToneSettings* iProfile3DToneSettings;
       
    79         CRepository* iCenRep;
       
    80     };
       
    81