systemhealthmanagement/systemhealthmgr/test/tsysmon/src/tsysmon_stepprocrestart.h
equal
deleted
inserted
replaced
|
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 __TSYSMON_STEPPROCRESTART_H__ |
|
23 #define __TSYSMON_STEPPROCRESTART_H__ |
|
24 |
|
25 #include "tsysmon_stepbase.h" |
|
26 |
|
27 //APPFWK-SYSMON-0003 |
|
28 _LIT(KCTestCaseProcRestart, "ProcRestart"); |
|
29 |
|
30 class CStepProcRestart : public CTestStepBase |
|
31 { |
|
32 public: |
|
33 CStepProcRestart(); |
|
34 |
|
35 //from CTestStep |
|
36 TVerdict doTestStepL(); |
|
37 |
|
38 private: |
|
39 void DoTestProcRestartL(); |
|
40 void DoTestExtendedProcRestartL(); |
|
41 void DoTestProcRestartAferRateOfFailureL(); |
|
42 void DoTestProcRestartForRateOfFailureL(); |
|
43 void DoTestProcRestartAferRateOfFailureL(TStartMethod aStartMethod); |
|
44 void DoTestProcRestartForRateOfFailureL(TStartMethod aStartMethod); |
|
45 TBool AssertRestart(); |
|
46 void Cleanup(); |
|
47 |
|
48 private: |
|
49 RSemaphore iProcStartSignalSem; |
|
50 }; |
|
51 |
|
52 #endif |