gssettingsuis/Gs/tsrc/public/basic/MT_GSLauncher/MT_CGSLauncher.h
branchRCL_3
changeset 54 7e0eff37aedb
parent 0 8c5d936e5675
equal deleted inserted replaced
53:8ee96d21d9bf 54:7e0eff37aedb
       
     1 /*
       
     2 * Copyright (c) 2002 - 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MT_CGSLAUNCHER_H__
       
    20 #define __MT_CGSLAUNCHER_H__
       
    21 
       
    22 //  EXTERNAL INCLUDES
       
    23 #include <CEUnitTestSuiteClass.h>
       
    24 #include <EUnitDecorators.h>
       
    25 #include <GSLauncher.h>
       
    26 
       
    27 //  INTERNAL INCLUDES
       
    28 
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 
       
    32 
       
    33 //  CLASS DEFINITION
       
    34 /**
       
    35  * Auto-generated test suite
       
    36  *
       
    37  */
       
    38 NONSHARABLE_CLASS( MT_CGSLauncher )
       
    39 	: public CEUnitTestSuiteClass
       
    40     {
       
    41     public:     // Constructors and destructors
       
    42 
       
    43         /**
       
    44          * Two phase construction
       
    45          */
       
    46         static MT_CGSLauncher* NewL();
       
    47         static MT_CGSLauncher* NewLC();
       
    48         /**
       
    49          * Destructor
       
    50          */
       
    51         ~MT_CGSLauncher();
       
    52 
       
    53     private:    // Constructors and destructors
       
    54 
       
    55         MT_CGSLauncher();
       
    56         void ConstructL();
       
    57 
       
    58     private:    // New methods
       
    59 
       
    60 		 void EmptySetupL();
       
    61 		 
       
    62          void SetupL();
       
    63         
       
    64          void Teardown();
       
    65          
       
    66          TBool KillGSL();
       
    67         
       
    68          void T_CGSLauncher_NewLL();
       
    69         
       
    70          void T_CGSLauncher_LaunchGSViewLL();
       
    71          
       
    72          void LaunchGWView_gs_not_running();
       
    73          
       
    74          void LaunchGWView_gs_is_running();
       
    75         
       
    76 
       
    77     private:    // Data
       
    78 		
       
    79         CGSLauncher* iCGSLauncher;
       
    80         EUNIT_DECLARE_TEST_TABLE; 
       
    81 
       
    82     };
       
    83 
       
    84 #endif      //  __MT_CGSLAUNCHER_H__
       
    85 
       
    86 // End of file