1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
|
14 // t_prostep.h |
14 // |
15 // |
15 |
16 |
16 |
|
17 |
|
18 /** |
17 /** |
19 @file |
18 @file t_prostep.h |
20 @internalComponent - Internal Symbian test code |
19 @internalComponent - Internal Symbian test code |
21 */ |
20 */ |
22 |
21 |
23 #if (!defined __T_PRO_STEP_H__) |
22 #if (!defined __T_PRO_STEP_H__) |
24 #define __T_PRO_STEP_H__ |
23 #define __T_PRO_STEP_H__ |
25 |
24 |
26 _LIT(KT_ProStep,"T_Pro"); |
25 _LIT(KT_ProStep,"T_Pro"); |
27 |
26 |
28 #include "ApparcTestServer.h" |
27 #include "apparctestserver.h" |
29 |
28 |
30 #include <apaid.h> |
29 #include <apaid.h> |
31 #include "..\apparc\apadll.h" |
30 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
31 #include <apaidpartner.h> |
|
32 #include <apgicnflpartner.h> |
|
33 #include <apgctllist.h> |
|
34 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
|
35 #include "../apparc/apadll.h" |
32 #include <apgaplst.h> |
36 #include <apgaplst.h> |
33 #include <apgicnfl.h> |
37 #include <apgicnfl.h> |
34 #include <apgdoor.h> |
38 #include <apgdoor.h> |
35 #include <apfrec.h> |
39 #include <apfrec.h> |
36 #include <apfctlf.h> |
40 #include <apfctlf.h> |
50 CT_ProStep(); |
54 CT_ProStep(); |
51 ~CT_ProStep(); |
55 ~CT_ProStep(); |
52 virtual TVerdict doTestStepPreambleL(); |
56 virtual TVerdict doTestStepPreambleL(); |
53 virtual TVerdict doTestStepPostambleL(); |
57 virtual TVerdict doTestStepPostambleL(); |
54 virtual TVerdict doTestStepL(); |
58 virtual TVerdict doTestStepL(); |
55 void DoStepTests(); |
59 void DoStepTestsL(); |
56 //private: |
60 //private: |
57 void DoStepTestsInCallbackL(); |
61 void DoStepTestsInCallbackL(); |
58 void testAppIdentifierL(); |
62 void testAppIdentifierL(); |
59 void doTestGenerateFileName(); |
63 void doTestGenerateFileName(); |
60 void testDocCreationL(); |
64 void testDocCreationL(); |
97 class CT_ProStepCallBack : public CBase |
101 class CT_ProStepCallBack : public CBase |
98 { |
102 { |
99 public: |
103 public: |
100 CT_ProStepCallBack(CT_ProStep* aTestStep); |
104 CT_ProStepCallBack(CT_ProStep* aTestStep); |
101 ~CT_ProStepCallBack(); |
105 ~CT_ProStepCallBack(); |
102 static TInt CallBack(TAny* /*aThis*/); |
106 static TInt CallBackL(TAny* /*aThis*/); |
103 CT_ProStep* iTestStep; |
107 CT_ProStep* iTestStep; |
104 |
108 |
105 private: |
109 private: |
106 }; |
110 }; |
107 |
111 |
108 #endif |
112 #endif |
|
113 |
|
114 |