sysstatemgmt/tsrc/public/basic/MT_SysLangUtil/MT_SysLangUtil.h
branchRCL_3
changeset 22 8cb079868133
parent 0 4e1aa6a622a0
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
       
     1 /*
       
     2 * Copyright (c) 2002 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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MT_SYSLANGUTIL_H__
       
    20 #define __MT_SYSLANGUTIL_H__
       
    21 
       
    22 //  EXTERNAL INCLUDES
       
    23 #include <CEUnitTestSuiteClass.h>
       
    24 #include <EUnitDecorators.h>
       
    25 #include <f32file.h>
       
    26 
       
    27 //  CLASS DEFINITION
       
    28 /**
       
    29  * SysLangUtil API test
       
    30  */
       
    31 NONSHARABLE_CLASS( MT_SysLangUtil )
       
    32 	: public CEUnitTestSuiteClass
       
    33     {
       
    34     public:     // Constructors and destructors
       
    35         /**
       
    36          * Two phase construction
       
    37          */
       
    38         static MT_SysLangUtil* NewL();
       
    39         static MT_SysLangUtil* NewLC();
       
    40         /**
       
    41          * Destructor
       
    42          */
       
    43         ~MT_SysLangUtil();
       
    44 
       
    45     private:    // Constructors and destructors
       
    46         MT_SysLangUtil();
       
    47         void ConstructL();
       
    48 
       
    49     private:    // New methods
       
    50          void SetupL();        
       
    51          void Teardown();        
       
    52          void T_SysLangUtil_IsValidLanguageL();        
       
    53          void T_SysLangUtil_GetDefaultLanguageL();        
       
    54          void T_SysLangUtil_GetInstalledLanguagesL();        
       
    55          void T_SysLangUtil_RestoreSIMLanguageL();
       
    56         
       
    57     private:    // Data		
       
    58         EUNIT_DECLARE_TEST_TABLE;
       
    59         
       
    60         // Own: file server session
       
    61         RFs iFs;
       
    62     };
       
    63 
       
    64 #endif      //  __MT_SYSLANGUTIL_H__