sysstatemgmt/systemstatemgr/test/tss/inc/tss_appstart.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 __TSS_APPSTART_H__
       
    23 #define __TSS_APPSTART_H__
       
    24 
       
    25 #include "tss_step_base.h"
       
    26 #include "testandstopper.h"
       
    27 #include "ssmtestapprvafterretry.h"
       
    28 #include "testandcanceler.h"
       
    29 
       
    30 //APPFWK-SSS-0001
       
    31 _LIT(KCTestCaseAppStart, "AppStart");
       
    32 
       
    33 
       
    34 class CSsTestStepAppStart : public CSsStepBase
       
    35 	{
       
    36 	
       
    37 public:
       
    38 	CSsTestStepAppStart();
       
    39 	~CSsTestStepAppStart();
       
    40 	
       
    41 	TVerdict doTestStepPreambleL();
       
    42 	TVerdict doTestStepPostambleL();
       
    43 	
       
    44 public:
       
    45 	void DoTestFireAndForgetAsyncL();
       
    46 	void DoTestWaitForStartAsyncL();
       
    47 	void DoTestFireAndForgetSyncL();
       
    48 	void DoTestWaitForStartSyncL();
       
    49 	void DoTestWaitForStartSuccessiveSyncL();
       
    50 	void DoTestAppStartWithRetriesL();
       
    51 	
       
    52 	// From MSsTestAsyncNotifier
       
    53 	void SsTestNotify( TInt aNotify );
       
    54 	
       
    55 public:
       
    56 	// From CTestStep
       
    57 	TVerdict doTestStepL();
       
    58 	
       
    59 private:
       
    60 	CActiveScheduler* iActiveScheduler;
       
    61 	
       
    62 	};
       
    63 
       
    64 #endif // __TSS_APPSTART_H__