sysstatemgmt/systemstarter/test/tapstart/src/tapstart_step.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-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 #ifndef __APSTART_STEP_H__
       
    23 #define __APSTART_STEP_H__
       
    24 
       
    25 #include <test/testexecutestepbase.h>
       
    26 
       
    27 class CApaStarter;
       
    28 class RWsSession;
       
    29 
       
    30 _LIT(KCTestCaseApStart, "CApStartTestStep");
       
    31 
       
    32 class TApaTask;
       
    33 
       
    34 class CApStartTestStep : public CTestStep
       
    35 	{	
       
    36 public:
       
    37 	CApStartTestStep();
       
    38 	
       
    39 	// from CTestStep
       
    40 	TVerdict doTestStepL();
       
    41 	TVerdict doTestStepPreambleL();
       
    42 	TVerdict doTestStepPostambleL();
       
    43 	
       
    44 private:
       
    45 	void ExecuteL();
       
    46 	void TestInitApparcL();
       
    47 	void TestStartAndForgetL(RWsSession& aWsSession);
       
    48 	void TestStartAndFollowUpL(RWsSession& aWsSession);
       
    49 	TApaTask TestStartL(TRequestStatus* aRequestStatus, RWsSession& aWsSession);
       
    50 	
       
    51 private:
       
    52 	CApaStarter* iAppStart;
       
    53 	};
       
    54 	
       
    55 #endif