|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Defines the basic test step for the Software Component Registry test harness |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 @test |
|
24 */ |
|
25 |
|
26 #ifndef TRANSACTIONMANAGEMENTSTEPS_H |
|
27 #define TRANSACTIONMANAGEMENTSTEPS_H |
|
28 |
|
29 #include "tscrstep.h" |
|
30 class CScrTestServer; |
|
31 |
|
32 _LIT(KScrApplyTransactionStep, "SCRApplyTransaction"); |
|
33 _LIT(KScrCreateTransactionStep, "SCRCreateTransaction"); |
|
34 _LIT(KScrManageAnotherTransactionStep, "SCRManageAnotherTransaction"); |
|
35 |
|
36 class CScrApplyTransactionStep : public CScrTestStep |
|
37 /** |
|
38 TEF test step which exercises all SCR transaction interfaces |
|
39 */ |
|
40 { |
|
41 public: |
|
42 CScrApplyTransactionStep(CScrTestServer& aParent); |
|
43 |
|
44 protected: |
|
45 // From CScrTestStep |
|
46 void ImplTestStepPreambleL(); |
|
47 void ImplTestStepL(); |
|
48 void ImplTestStepPostambleL(); |
|
49 }; |
|
50 |
|
51 class CScrCreateTransactionStep : public CScrTestStep |
|
52 /** |
|
53 TEF test step which exercises transaction management logic |
|
54 */ |
|
55 { |
|
56 public: |
|
57 CScrCreateTransactionStep(CScrTestServer& aParent); |
|
58 |
|
59 protected: |
|
60 // From CScrTestStep |
|
61 void ImplTestStepPreambleL(); |
|
62 void ImplTestStepL(); |
|
63 void ImplTestStepPostambleL(); |
|
64 }; |
|
65 |
|
66 class CScrManageAnotherTransactionStep : public CScrTestStep |
|
67 /** |
|
68 TEF test step which exercises transaction management logic |
|
69 */ |
|
70 { |
|
71 public: |
|
72 CScrManageAnotherTransactionStep(CScrTestServer& aParent); |
|
73 |
|
74 protected: |
|
75 // From CScrTestStep |
|
76 void ImplTestStepPreambleL(); |
|
77 void ImplTestStepL(); |
|
78 void ImplTestStepPostambleL(); |
|
79 }; |
|
80 |
|
81 #endif /* TRANSACTIONMANAGEMENTSTEPS_H */ |