|
1 /* =========================================================================== |
|
2 * Copyright © 2006-2007 Nokia Corporation. |
|
3 * This material, including documentation and any related |
|
4 * computer programs, is protected by copyright controlled by |
|
5 * Nokia Corporation. All rights are reserved. Copying, |
|
6 * including reproducing, storing, adapting or translating, any |
|
7 * or all of this material requires the prior written consent of |
|
8 * Nokia Corporation. This material also contains confidential |
|
9 * information which may not be disclosed to others without the |
|
10 * prior written consent of Nokia Corporation. |
|
11 * ============================================================================ |
|
12 */ |
|
13 |
|
14 [Test] |
|
15 title Get_MimeType_Handler |
|
16 create tappmanagerprovidertest foobar |
|
17 foobar getlisttest Application NULL audio/mpeg 0 Result1 0 |
|
18 delete foobar |
|
19 [Endtest] |
|
20 |
|
21 [Test] |
|
22 title Get_Document_Handler |
|
23 create tappmanagerprovidertest foobar |
|
24 foobar getlisttest Application c:\data\Hello.txt NULL 0 Result2 0 |
|
25 delete foobar |
|
26 [Endtest] |
|
27 |
|
28 [Test] |
|
29 title Get_ApplicationList |
|
30 create tappmanagerprovidertest foobar |
|
31 foobar getlisttest Application NULL NULL 0 Result3 0 |
|
32 delete foobar |
|
33 [Endtest] |
|
34 |
|
35 [Test] |
|
36 title Get_PackageList |
|
37 create tappmanagerprovidertest foobar |
|
38 foobar getlisttest UserInstalledPackage NULL NULL 0 Result4 0 |
|
39 delete foobar |
|
40 [Endtest] |
|
41 |
|
42 [Test] |
|
43 title LaunchApp_correctUId_synch |
|
44 create tappmanagerprovidertest foobar |
|
45 //scheme uid commandline doc mode postion callback expectedresult |
|
46 foobar launchApp s60uid: 0x101f4d90 NULL NULL NULL NULL NULL 0 |
|
47 delete foobar |
|
48 [Endtest] |
|
49 |
|
50 [Test] |
|
51 title LaunchApp_IncorrectUId1 |
|
52 create tappmanagerprovidertest foobar |
|
53 foobar launchApp uid: 0x101f4d90 NULL NULL NULL NULL NULL -1 |
|
54 delete foobar |
|
55 [Endtest] |
|
56 |
|
57 [Test] |
|
58 title LaunchApp_IncorrectUId2 |
|
59 create tappmanagerprovidertest foobar |
|
60 foobar launchApp uid: 101f4d90 NULL NULL NULL NULL NULL -1 |
|
61 delete foobar |
|
62 [Endtest] |
|
63 |
|
64 [Test] |
|
65 title LaunchApp_InorrectUId3 |
|
66 create tappmanagerprovidertest foobar |
|
67 foobar launchApp s60uid: 0x10100d90 NULL NULL NULL NULL NULL -1 |
|
68 delete foobar |
|
69 [Endtest] |
|
70 |
|
71 [Test] |
|
72 title LaunchApp_Image_commandline_synch |
|
73 create tappmanagerprovidertest foobar |
|
74 //scheme uid commandline doc mode postion callback expectedresult |
|
75 foobar launchApp s60uid: 0x101f4d90 c:\Data\Images\AppTest1.jpg NULL NULL NULL NULL 0 |
|
76 delete foobar |
|
77 [Endtest] |
|
78 |
|
79 |
|
80 [Test] |
|
81 title LaunchApp_Image_Document_synch |
|
82 create tappmanagerprovidertest foobar |
|
83 //scheme uid commandline doc mode postion callback expectedresult |
|
84 foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest2.jpg NULL NULL NULL 0 |
|
85 delete foobar |
|
86 [Endtest] |
|
87 |
|
88 |
|
89 [Test] |
|
90 title LaunchApp_ChainedMode_synch |
|
91 create tappmanagerprovidertest foobar |
|
92 //scheme uid commandline doc mode postion callback expectedresult |
|
93 foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest3.jpg Chained NULL NULL -1 |
|
94 delete foobar |
|
95 [Endtest] |
|
96 |
|
97 |
|
98 [Test] |
|
99 title LaunchApp_Background_Manual |
|
100 create tappmanagerprovidertest foobar |
|
101 //scheme uid commandline doc mode postion callback expectedresult |
|
102 foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest4.jpg NULL BackGround NULL 0 |
|
103 delete foobar |
|
104 [Endtest] |
|
105 |
|
106 |
|
107 |
|
108 [Test] |
|
109 title LaunchApp_Background_Chained |
|
110 create tappmanagerprovidertest foobar |
|
111 //scheme uid commandline doc mode postion callback expectedresult |
|
112 foobar launchApp s60uid: 0x101f4d90 NULL c:\Data\Images\AppTest5.jpg Chained BackGround NULL -1 |
|
113 delete foobar |
|
114 [Endtest] |
|
115 |
|
116 |
|
117 |
|
118 [Test] |
|
119 title LaunchDoc_Path |
|
120 create tappmanagerprovidertest foobar |
|
121 //path handle MimeType mode callback expectedresult |
|
122 foobar launchDoc c:\Data\Images\AppTest6.jpg NULL NULL NULL NULL 0 |
|
123 delete foobar |
|
124 [Endtest] |
|
125 |
|
126 |
|
127 [Test] |
|
128 title LaunchDoc_IncorrectPath1 |
|
129 create tappmanagerprovidertest foobar |
|
130 //path handle MimeType mode callback expectedresult |
|
131 foobar launchDoc c:\Data\Images\Test1.xxx NULL NULL NULL NULL -1 |
|
132 delete foobar |
|
133 [Endtest] |
|
134 |
|
135 |
|
136 [Test] |
|
137 title LaunchDoc_IncorrectPath2 |
|
138 create tappmanagerprovidertest foobar |
|
139 //path handle MimeType mode callback expectedresult |
|
140 foobar launchDoc c:\Data\AppTest7.jpg NULL NULL NULL NULL -1 |
|
141 delete foobar |
|
142 [Endtest] |
|
143 |
|
144 [Test] |
|
145 title LaunchDoc_Handle |
|
146 create tappmanagerprovidertest foobar |
|
147 //path handle MimeType mode callback expectedresult |
|
148 foobar launchDoc NULL c:\Data\Images\AppTest8.jpg NULL NULL NULL 0 |
|
149 delete foobar |
|
150 [Endtest] |
|
151 |
|
152 [Test] |
|
153 title LaunchDoc_Path_Chained |
|
154 create tappmanagerprovidertest foobar |
|
155 //path handle MimeType mode callback expectedresult |
|
156 foobar launchDoc c:\Data\Images\AppTest8.jpg NULL NULL Chained NULL -1 |
|
157 delete foobar |
|
158 [Endtest] |
|
159 |
|
160 [Test] |
|
161 title LaunchDoc_MIMEType |
|
162 create tappmanagerprovidertest foobar |
|
163 //path handle MimeType mode callback expectedresult |
|
164 foobar launchDoc NULL NULL image/jpeg NULL NULL 0 |
|
165 delete foobar |
|
166 [Endtest] |
|
167 |
|
168 |
|
169 [Test] |
|
170 title LaunchDoc_NoInput |
|
171 create tappmanagerprovidertest foobar |
|
172 //path handle MimeType mode callback expectedresult |
|
173 foobar launchDoc NULL NULL NULL NULL NULL -1 |
|
174 delete foobar |
|
175 [Endtest] |
|
176 |
|
177 //[Test] |
|
178 //title LaunchDoc_Path_Asynch |
|
179 //create tappmanagerprovidertest foobar |
|
180 //path handle MimeType mode callback expectedresult |
|
181 //foobar launchDoc c:\Data\Images\Test1.jpg NULL NULL NULL callback 0 |
|
182 //delete foobar |
|
183 //[Endtest] |
|
184 |
|
185 |
|
186 [Test] |
|
187 title Get_ApplicationList_Postive |
|
188 create tappmanagerprovidertest foobar |
|
189 //content Document MimeType ExpectedResult FileName NoOfUids |
|
190 foobar getlisttest Application NULL NULL 0 Result7 2 0x100059ef 0x10005955 |
|
191 delete foobar |
|
192 [Endtest] |
|
193 |
|
194 [Test] |
|
195 title Get_ApplicationList_Negative |
|
196 create tappmanagerprovidertest foobar |
|
197 //content Document MimeType ExpectedResult FileName NoOfUids |
|
198 foobar getlisttest Application NULL NULL -1 Result8 3 0x100059ef 0x10005955 0x11111111 |
|
199 delete foobar |
|
200 [Endtest] |
|
201 |
|
202 //[Test] |
|
203 //title Initiate Installation |
|
204 //create tappmanagerprovidertest foobar |
|
205 //path handle MimeType mode callback expectedresult |
|
206 //foobar launchDoc c:\msg.sisx NULL NULL NULL NULL 0 |
|
207 //delete foobar |
|
208 //[Endtest] |
|
209 |
|
210 //[Test] |
|
211 //title Initiate NonNativeInstallation |
|
212 //create tappmanagerprovidertest foobar |
|
213 //path handle MimeType mode callback expectedresult |
|
214 //foobar launchDoc c:\SpruceBlocks.jar NULL NULL NULL NULL 0 |
|
215 //delete foobar |
|
216 //[Endtest] |