sysstatemgmt/systemstarter/test/tsysstart2/src/tsysstart2_teststep.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 #ifndef __APPFWK_SYSSTART2_TESTSTEP_H__
       
    17 #define __APPFWK_SYSSTART2_TESTSTEP_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <test/testexecutestepbase.h>
       
    21 #ifndef SYMBIAN_SYSTEM_STATE_MANAGEMENT
       
    22 #include "../../../startsafesrc/startsafe.h"
       
    23 #else
       
    24 #include <startsafe.h>
       
    25 #endif
       
    26 
       
    27 // Default throttle time of SysMon
       
    28 const TInt KThrottleTime = 15000000; // 15 seconds
       
    29 const TInt KSysStart2TestKillCode = 666;
       
    30 
       
    31 
       
    32 class CAppFwkSysStart2TestStep : public CTestStep
       
    33 	{
       
    34 public:
       
    35 	TVerdict doTestStepPostambleL();
       
    36 	TBool ProcessExists( const TDesC& aProcessName, TFullName& aName );
       
    37 	void LogonAndCancelMonL();
       
    38 	};
       
    39 
       
    40 #endif