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_rapalssessionstep.h |
14 // |
15 // |
15 |
16 |
16 |
|
17 |
|
18 /** |
17 /** |
19 @file |
18 @file t_rapalssessionstep.h |
20 @test |
19 @test |
21 @internalComponent - Internal Symbian test code |
20 @internalComponent - Internal Symbian test code |
22 */ |
21 */ |
23 |
22 |
24 #if (!defined __T_RAPALSSESSION_STEP_H__) |
23 #if (!defined __T_RAPALSSESSION_STEP_H__) |
25 #define __T_RAPALSSESSION_STEP_H__ |
24 #define __T_RAPALSSESSION_STEP_H__ |
26 |
25 |
27 _LIT(KT_RApaLsSessionStep,"T_RApaLsSession"); |
26 _LIT(KT_RApaLsSessionStep,"T_RApaLsSession"); |
28 |
27 |
29 #include "ApparcTestServer.h" |
28 #include "apparctestserver.h" |
30 |
29 |
31 #include <coecntrl.h> |
30 #include <coecntrl.h> |
32 #include <coeccntx.h> |
31 #include <coeccntx.h> |
33 #include <coemain.h> |
32 #include <coemain.h> |
34 #include <coeview.h> |
33 #include <coeview.h> |
35 #include <eikdialg.h> |
34 #include <mw/eikdialg.h> |
36 #include <eikdoc.h> |
35 #include <eikdoc.h> |
37 #include <eikapp.h> |
36 #include <eikapp.h> |
38 #include <eiksrvc.h> |
37 #include <eiksrvc.h> |
39 #include <eikconso.h> |
38 #include <mw/eikconso.h> |
40 #include <eikenv.h> |
39 #include <eikenv.h> |
41 |
40 |
42 #include <apaid.h> |
41 #include <apaid.h> |
43 #include "..\apparc\apadll.h" |
42 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
43 #include <apaidpartner.h> |
|
44 #include <apgicnflpartner.h> |
|
45 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
|
46 #include "../apparc/apadll.h" |
44 #include <apgaplst.h> |
47 #include <apgaplst.h> |
45 #include <apgicnfl.h> |
48 #include <apgicnfl.h> |
46 #include <apgdoor.h> |
49 #include <apgdoor.h> |
47 #include <apfrec.h> |
50 #include <apfrec.h> |
48 #include <apfctlf.h> |
51 #include <apfctlf.h> |
49 #include <apgctl.h> |
52 #include <apgctl.h> |
50 #include <apgaplst.h> |
53 #include <apgaplst.h> |
51 #include <apaflrec.h> |
54 #include <apaflrec.h> |
52 #include "testableapalssession.h" |
55 #include "testableapalssession.h" |
53 #include <apacmdln.h> |
56 #include <apacmdln.h> |
54 #include <apsserv.h> |
|
55 #include <datastor.h> |
57 #include <datastor.h> |
56 #include "appfwk_test_AppUi.h" |
58 #include "appfwk_test_appui.h" |
57 #include "TAppEmbedUids.h" |
59 #include "TAppEmbedUids.h" |
|
60 #include "appfwk_test_utils.h" |
58 |
61 |
59 |
62 |
60 class CT_RApaLsSessionTestStep : public CTestStep |
63 class CT_RApaLsSessionTestStep : public CTestStep |
61 { |
64 { |
62 public: |
65 public: |
104 void TestAppInfo3(); |
107 void TestAppInfo3(); |
105 void TestAppInfo4(); |
108 void TestAppInfo4(); |
106 |
109 |
107 void TestAppListRecognizeDataL(); |
110 void TestAppListRecognizeDataL(); |
108 void TestAppListRecognizeDataBufferOnlyL(); |
111 void TestAppListRecognizeDataBufferOnlyL(); |
|
112 void TestAppListRecognizeDataPassedByBufferL(); |
109 void TestAppListInstallationL(); |
113 void TestAppListInstallationL(); |
110 void TestAppListInstallation1L(); |
114 void TestAppListInstallation1L(); |
111 void TestAppFolderNonRomDrivesL(); |
115 void TestAppFolderNonRomDrivesL(); |
|
116 void TestZeroSizedIconFileL(); |
112 |
117 |
113 void EmbeddedAppsTestCases(); |
118 void EmbeddedAppsTestCases(); |
114 void DoGetAllApps(); |
119 void DoGetAllApps(); |
115 void DoGetEmbeddableApps(); |
120 void DoGetEmbeddableApps(); |
116 void DoEmbeddableAppCount(); |
121 void DoEmbeddableAppCount(); |
130 void TestMatchesSecurityPolicy(); |
135 void TestMatchesSecurityPolicy(); |
131 void TestNotifyOnDataMappingChangeL(); |
136 void TestNotifyOnDataMappingChangeL(); |
132 void TestDataPriorityForUnTrustedApps(); |
137 void TestDataPriorityForUnTrustedApps(); |
133 void TestDataPriorityForUnTrustedAppsRegFile(); |
138 void TestDataPriorityForUnTrustedAppsRegFile(); |
134 void TestIconLoaderAndIconArrayMemoryLeaksL(); |
139 void TestIconLoaderAndIconArrayMemoryLeaksL(); |
|
140 TInt DeleteFileL(RSmlTestUtils &aFs, const TDesC &aFileName); |
135 private: |
141 private: |
136 RFs iFs; |
142 RFs iFs; |
137 RTestableApaLsSession iLs; |
143 RTestableApaLsSession iLs; |
138 }; |
144 }; |
139 |
145 |
140 #endif |
146 #endif |
|
147 |
|
148 |
|
149 |
|
150 |