messagingfw/msgtestfw/Framework/inc/CMtfTestBeginManager.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 /**
       
     2 * Copyright (c) 2003-2009 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 
       
    20 /**
       
    21  @file
       
    22 */
       
    23 
       
    24 #ifndef __CMTF_TEST_BEGIN_MANAGER_H__
       
    25 #define __CMTF_TEST_BEGIN_MANAGER_H__
       
    26 
       
    27 #include <test/testexecutestepbase.h>
       
    28 class CMtfTestServer;
       
    29 
       
    30 /** Used by the framework to create a new scripted test case. */
       
    31 class CMtfTestBeginManager : public CTestStep
       
    32 {
       
    33 public:
       
    34 	virtual ~CMtfTestBeginManager();
       
    35 	
       
    36 	static CMtfTestBeginManager* NewL(CMtfTestServer& aTestServer, 
       
    37 			const TBool& aSynchronous);
       
    38 
       
    39 	/** Required by TestExecute. */
       
    40 	virtual TVerdict doTestStepPreambleL();  
       
    41 	
       
    42 	/** Required by TestExecute. */	
       
    43 	virtual TVerdict doTestStepL();
       
    44 	
       
    45 	/** Required by TestExecute. */
       
    46 	virtual TVerdict doTestStepPostambleL();   
       
    47 	
       
    48 private:
       
    49 	CMtfTestBeginManager(CMtfTestServer& aTestServer,
       
    50 			const TBool& aSynchronous);
       
    51 	
       
    52 private:
       
    53 	CMtfTestServer&	iTestServer;
       
    54 	TBool 			iSynchronous;
       
    55 };
       
    56 
       
    57 #endif
       
    58