sysstatemgmt/systemstatemgr/test/tss/inc/tss_procstartmon.h
changeset 0 4e1aa6a622a0
child 76 cb32bcc88bad
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_PROCSTARTMON_H__
       
    23 #define __TSS_PROCSTARTMON_H__
       
    24 
       
    25 
       
    26 #include "tss_step_base.h"
       
    27 #include "testandstopper.h"
       
    28 #include "ssmtestapps.h"
       
    29 #include "ssmtestprocgood.h"
       
    30 #include "ssmtestprocgoodsession.h"
       
    31 
       
    32 //APPFWK-SSS-0006
       
    33 
       
    34 _LIT(KCTestCaseProcStartMon, "ProcStartMon");
       
    35 
       
    36 class CSsTestStepProcStartMon : public CSsStepBase
       
    37 	{
       
    38 	
       
    39 public:
       
    40 	CSsTestStepProcStartMon();
       
    41 	~CSsTestStepProcStartMon();
       
    42 	void SsTestNotify( TInt aNotify );
       
    43 	//from CTestStep
       
    44 	TVerdict doTestStepPostambleL();
       
    45 	TVerdict doTestStepPreambleL();	
       
    46 	TVerdict doTestStepL();
       
    47 	
       
    48 public:
       
    49 	void DoTestMonSyncL();
       
    50 	void DoTestMonForAlreadyStartedProcL();
       
    51 	
       
    52 private:
       
    53 	CActiveScheduler* iActiveScheduler;
       
    54 	RSemaphore iSem;
       
    55 	};
       
    56 
       
    57 #endif // __TSS_PROCSTARTMON_H__