|
1 // Copyright (c) 2005-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 the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent - Internal Symbian test code |
|
21 */ |
|
22 |
|
23 |
|
24 #ifndef __T_INTEGRITYSUPPORT_STEP_H__ |
|
25 #define __T_INTEGRITYSUPPORT_STEP_H__ |
|
26 |
|
27 #include "t_abstractnonnativeappsstep.h" |
|
28 |
|
29 _LIT(KT_IntegritySupportStep,"T_IntegritySupport"); |
|
30 |
|
31 class CT_IntegritySupportTestStep : public CT_AbstractNonNativeAppsTestStep |
|
32 { |
|
33 public: |
|
34 CT_IntegritySupportTestStep(); |
|
35 ~CT_IntegritySupportTestStep(); |
|
36 virtual TVerdict doTestStepPreambleL(); |
|
37 virtual TVerdict doTestStepPostambleL(); |
|
38 virtual TVerdict doTestStepL(); |
|
39 |
|
40 private: |
|
41 TInt RunTestCasesL(); |
|
42 void TestNormalInstallation1L(); |
|
43 void TestManualRollback1L(); |
|
44 void TestRollbackOnError1L(); |
|
45 void TestRollbackOnSessionCloseL(); |
|
46 void TestNormalRemoval1L(); |
|
47 void TestManualRollback2L(); |
|
48 void TestRollbackWithoutPrepareL(); |
|
49 void TestRegisterWithoutPrepareL(); |
|
50 void TestCallingPrepareTwiceL(); |
|
51 void TestCallingPrepareFromTwoSessionsL(); |
|
52 void TestReregisterApplicationL(); |
|
53 void TestDoubleInstallFailsL(); |
|
54 void TestRollbackOnFailedUpdateStepL(); |
|
55 }; |
|
56 |
|
57 #endif |