fep/frontendprocessor/test/inc/TFepGen.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code
       
    20 */
       
    21 
       
    22 #if !defined(__TFEPGEN_H__)
       
    23 #define __TFEPGEN_H__
       
    24 
       
    25 #include <coecntrl.h>
       
    26 #include <test/testexecutestepbase.h>
       
    27 #include "appfwk_test_AppUi.h"
       
    28 
       
    29 
       
    30 //! A CTestStep Derived Class.
       
    31 class CTFepGenStep : public CTmsTestStep
       
    32 	{
       
    33 public:
       
    34 	CTFepGenStep();
       
    35 	~CTFepGenStep();
       
    36 	virtual TVerdict doTestStepL();
       
    37 	void ConstructFepGenAppL(CCoeEnv* aCoe);
       
    38 private:
       
    39 	};
       
    40 	
       
    41 
       
    42 //! A CTestCoeAppUi derived class.
       
    43 class CFepGenAppUi : public CTestCoeAppUi 
       
    44     {
       
    45 public:
       
    46 	CFepGenAppUi(CTmsTestStep* aStep);
       
    47     ~CFepGenAppUi();
       
    48     void ConstructL();
       
    49 	void DoTestsL();
       
    50 protected:
       
    51 	void RunTestStepL(TInt aStepNum);
       
    52 private:
       
    53 	void CreateFepGenericL();
       
    54 	void FepStoreAndBroadCastL();
       
    55 	void StoreOriginalSettingsL();
       
    56 	void RetrieveOriginalSettingsL();
       
    57    	};
       
    58  
       
    59  
       
    60 _LIT(KTFepGen,"TFepGen");
       
    61 
       
    62 #endif
       
    63 
       
    64 
       
    65