|
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 #if !defined(__TDISABLEEXITCHECKS_STEP_H__) |
|
23 #define __TDISABLEEXITCHECKS_STEP_H__ |
|
24 |
|
25 #include <coecntrl.h> |
|
26 #include <test/testexecutestepbase.h> |
|
27 #include "appfwk_test_AppUi.h" |
|
28 |
|
29 _LIT(KTDisableExitChecksStep,"TDisableExitChecks"); |
|
30 _LIT(KExeName,"z:\\sys\\bin\\disableexitchecksapp.exe"); |
|
31 |
|
32 class CTDisableExitChecksStep : public CTmsTestStep |
|
33 { |
|
34 public: |
|
35 CTDisableExitChecksStep(); |
|
36 ~CTDisableExitChecksStep(); |
|
37 virtual TVerdict doTestStepL(); |
|
38 void ConstructAppL(CEikonEnv* aCoe); |
|
39 }; |
|
40 |
|
41 class CTDisableExitChecksAppUi : public CTestAppUi |
|
42 { |
|
43 public: |
|
44 CTDisableExitChecksAppUi(CTmsTestStep* aStep); |
|
45 ~CTDisableExitChecksAppUi(); |
|
46 void StartProcessL(const TDesC8& aTailEnd); |
|
47 void TestDisableShutDownChecks(); |
|
48 public: |
|
49 void ConstructL(); |
|
50 private: |
|
51 void RunTestStepL(TInt aStepNum); |
|
52 }; |
|
53 |
|
54 #endif |