|
1 // |
|
2 // Copyright (c) 2010 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 "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 // |
|
16 //! @file |
|
17 //! @SYMTestSuiteName NET-DND-punycodeconverter-CIT |
|
18 //! @SYMScriptTestEnvironment TestExecuteFramework |
|
19 // |
|
20 //Unload esock forcefully |
|
21 RUN_SCRIPT z:\testdata\scripts\te_esock_test_unloadesockForced.script |
|
22 |
|
23 RUN_UTILS MkDir c:\private |
|
24 RUN_UTILS MkDir c:\private\10202be9 |
|
25 RUN_UTILS MkDir c:\private\10202be9\persists |
|
26 RUN_UTILS MakeReadWrite c:\private\10202be9\persists\cccccc00.cre |
|
27 |
|
28 //Configure commdb. |
|
29 //ced -i z:\testdata\configs\te_punycodeconverter_ced.xml |
|
30 RUN_UTILS CopyFile z:\testdata\configs\cccccc00_punycodeconverter.cre c:\private\10202be9\persists\cccccc00.cre |
|
31 |
|
32 RUN_SCRIPT z:\testdata\scripts\te_esock_test_loadesock.script |
|
33 |
|
34 //Load the Server |
|
35 LOAD_SERVER te_punycodeconverter |
|
36 |
|
37 START_TESTCASE NET-DND-punycodeconverter-test1 |
|
38 //! @SYMTestCaseID NET-DND-punycodeconverter-test1 |
|
39 //! @SYMTestCaseDesc PREQ2296 - REQ11948 |
|
40 //! Resolve International Domain Name. |
|
41 //! @SYMTestPriority Critical |
|
42 //! @SYMTestActions Load te_punycodeconverter test server |
|
43 //! Run the ResolveName test case by passing te_punycodeconverter_test1.ini, which consists available IDN. |
|
44 //! @SYMTestExpectedResults Domain name resolved successfully. |
|
45 //! @SYMTestType CIT |
|
46 //! @SYMCreationDate 5/2/2009 |
|
47 //! @SYMAuthor tamilarasub |
|
48 //! @SYMTestStatus 3. Released |
|
49 |
|
50 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
51 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test1 |
|
52 COMMAND punycodeconverter_test1 OpenResolver ResolveName1 |
|
53 COMMAND punycodeconverter_test1 EnableIdnSupport ResolveName1 |
|
54 COMMAND punycodeconverter_test1 ResolveName ResolveName1 |
|
55 COMMAND punycodeconverter_test1 CloseResolver ResolveName1 |
|
56 END_TEST_BLOCK |
|
57 |
|
58 END_TESTCASE NET-DND-punycodeconverter-test1 |
|
59 |
|
60 |
|
61 START_TESTCASE NET-DND-punycodeconverter-test2 |
|
62 //! @SYMTestCaseID NET-DND-punycodeconverter-test2 |
|
63 //! @SYMTestCaseDesc PREQ2296 - REQ11948 |
|
64 //! DND must return valid error code for unavailable International Domain Name. |
|
65 //! @SYMTestPriority High |
|
66 //! @SYMTestActions Load te_punycodeconverter test server |
|
67 //! Run the ResolveName test case by passing te_punycodeconverter_test2.ini, which consists unavailable IDN. |
|
68 //! @SYMTestExpectedResults DND must return valid error code KErrDndNameNotFound. |
|
69 //! @SYMTestType CIT |
|
70 //! @SYMCreationDate 5/2/2009 |
|
71 //! @SYMAuthor tamilarasub |
|
72 //! @SYMTestStatus 3. Released |
|
73 |
|
74 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
75 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test2 |
|
76 COMMAND punycodeconverter_test2 OpenResolver ResolveName2 |
|
77 COMMAND punycodeconverter_test2 EnableIdnSupport ResolveName2 |
|
78 COMMAND !Error=-5120 punycodeconverter_test2 ResolveName ResolveName2 |
|
79 COMMAND punycodeconverter_test2 CloseResolver ResolveName2 |
|
80 END_TEST_BLOCK |
|
81 |
|
82 END_TESTCASE NET-DND-punycodeconverter-test2 |
|
83 |
|
84 |
|
85 START_TESTCASE NET-DND-punycodeconverter-test3 |
|
86 //! @SYMTestCaseID NET-DND-punycodeconverter-test3 |
|
87 //! @SYMTestCaseDesc PREQ2296 - REQ11948 |
|
88 //! Resolve manually converted punycode name. |
|
89 //! @SYMTestPriority Critical |
|
90 //! @SYMTestActions Load te_punycodeconverter test server |
|
91 //! Run the ResolveName test case by passing te_punycodeconverter.ini, which consists an domain name of type punycode. |
|
92 //! @SYMTestExpectedResults Domain name resolved successfully. |
|
93 //! @SYMTestType CIT |
|
94 //! @SYMCreationDate 5/2/2009 |
|
95 //! @SYMAuthor tamilarasub |
|
96 //! @SYMTestStatus 3. Released |
|
97 |
|
98 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
99 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test3 |
|
100 COMMAND punycodeconverter_test3 OpenResolver ResolveName3 |
|
101 COMMAND punycodeconverter_test3 EnableIdnSupport ResolveName3 |
|
102 COMMAND punycodeconverter_test3 ResolveName ResolveName3 |
|
103 COMMAND punycodeconverter_test3 CloseResolver ResolveName3 |
|
104 END_TEST_BLOCK |
|
105 |
|
106 END_TESTCASE NET-DND-punycodeconverter-test3 |
|
107 |
|
108 |
|
109 START_TESTCASE NET-DND-punycodeconverter-test4 |
|
110 //! @SYMTestCaseID NET-DND-punycodeconverter-test4 |
|
111 //! @SYMTestCaseDesc PREQ2296 - REQ11948 |
|
112 //! DND must return valid error codes for malformed punycode names. |
|
113 //! @SYMTestPriority High |
|
114 //! @SYMTestActions Load te_punycodeconverter test server |
|
115 //! Run the ResolveName test case by passing te_punycodeconverter_test4.ini, which consists an domain name of type punycode. |
|
116 //! @SYMTestExpectedResults DND must return valid error code KErrDndNameNotFound. |
|
117 //! @SYMTestType CIT |
|
118 //! @SYMCreationDate 5/2/2009 |
|
119 //! @SYMAuthor tamilarasub |
|
120 //! @SYMTestStatus 3. Released |
|
121 |
|
122 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
123 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test4 |
|
124 COMMAND punycodeconverter_test4 OpenResolver ResolveName4 |
|
125 COMMAND punycodeconverter_test4 EnableIdnSupport ResolveName4 |
|
126 COMMAND !Error=-5120 punycodeconverter_test4 ResolveName ResolveName4 |
|
127 COMMAND punycodeconverter_test4 CloseResolver ResolveName4 |
|
128 END_TEST_BLOCK |
|
129 |
|
130 END_TESTCASE NET-DND-punycodeconverter-test4 |
|
131 |
|
132 |
|
133 START_TESTCASE NET-DND-punycodeconverter-test5 |
|
134 //! @SYMTestCaseID NET-DND-punycodeconverter-test5 |
|
135 //! @SYMTestCaseDesc PREQ2296 - REQ11948 |
|
136 //! International domain name length exceeds the max limit of 255 chars |
|
137 //! @SYMTestPriority High |
|
138 //! @SYMTestActions Load te_punycodeconverter test server |
|
139 //! Run the ResolveName test case by passing te_punycodeconverter_test5.ini i, which consists an lengthy IDN. |
|
140 //! @SYMTestExpectedResults DND must return valid error code KErrDndBadName. |
|
141 //! @SYMTestType CIT |
|
142 //! @SYMCreationDate 5/2/2009 |
|
143 //! @SYMAuthor tamilarasub |
|
144 //! @SYMTestStatus 3. Released |
|
145 |
|
146 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
147 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test5 |
|
148 COMMAND punycodeconverter_test5 OpenResolver ResolveName5 |
|
149 COMMAND punycodeconverter_test5 EnableIdnSupport ResolveName5 |
|
150 COMMAND !Error=-5127 punycodeconverter_test5 ResolveName ResolveName5 |
|
151 COMMAND punycodeconverter_test5 CloseResolver ResolveName5 |
|
152 END_TEST_BLOCK |
|
153 |
|
154 END_TESTCASE NET-DND-punycodeconverter-test5 |
|
155 |
|
156 |
|
157 START_TESTCASE NET-DND-punycodeconverter-test6 |
|
158 //! @SYMTestCaseID NET-DND-punycodeconverter-test6 |
|
159 //! @SYMTestCaseDesc PREQ2296 - REQ11950 REQ11948 |
|
160 //! Using punycodeconverter API's convert valid IDN to punycode and use DND to resolve this punycode. |
|
161 //! @SYMTestPriority Medium |
|
162 //! @SYMTestActions Load te_punycodeconverter test server |
|
163 //! Run the IdnToPuny test case and preserve the punycode. |
|
164 //! Use the converted punycode and run the ResolveName test case. |
|
165 //! @SYMTestExpectedResults Punycodeconverter conversion successfull. |
|
166 //! Converted punycode resolved successfully by DND. |
|
167 //! @SYMTestType CIT |
|
168 //! @SYMCreationDate 5/2/2009 |
|
169 //! @SYMAuthor tamilarasub |
|
170 //! @SYMTestStatus 3. Released |
|
171 |
|
172 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
173 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test6 |
|
174 COMMAND punycodeconverter_test6 IdnToPunyCode IdnToPunyCode6 |
|
175 COMMAND punycodeconverter_test6 OpenResolver ResolveName6 |
|
176 COMMAND punycodeconverter_test6 EnableIdnSupport ResolveName6 |
|
177 COMMAND punycodeconverter_test6 ResolveName ResolveName6 |
|
178 COMMAND punycodeconverter_test6 CloseResolver ResolveName6 |
|
179 END_TEST_BLOCK |
|
180 |
|
181 END_TESTCASE NET-DND-punycodeconverter-test6 |
|
182 |
|
183 |
|
184 START_TESTCASE NET-DND-punycodeconverter-test7 |
|
185 //! @SYMTestCaseID NET-DND-punycodeconverter-test7 |
|
186 //! @SYMTestCaseDesc PREQ2296 - REQ11950 |
|
187 //! Convert the valid IDN to punycode and check this against maually converted one. |
|
188 //! @SYMTestPriority High |
|
189 //! @SYMTestActions Load te_punycodeconverter test server |
|
190 //! Run the IdnToPuny test case. |
|
191 //! Compare the converted punycode against the manually converted one which is fetched from te_punycodeconverter.ini. |
|
192 //! @SYMTestExpectedResults Punycode converted by punycodeconverter and manually converted are same. |
|
193 //! @SYMTestType CIT |
|
194 //! @SYMCreationDate 5/2/2009 |
|
195 //! @SYMAuthor tamilarasub |
|
196 //! @SYMTestStatus 3. Released |
|
197 |
|
198 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
199 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test7 |
|
200 COMMAND punycodeconverter_test7 IdnToPunyCode IdnToPunyCode7 |
|
201 END_TEST_BLOCK |
|
202 |
|
203 END_TESTCASE NET-DND-punycodeconverter-test7 |
|
204 |
|
205 |
|
206 START_TESTCASE NET-DND-punycodeconverter-test8 |
|
207 //! @SYMTestCaseID NET-DND-punycodeconverter-test8 |
|
208 //! @SYMTestCaseDesc PREQ2296 - REQ11951 |
|
209 //! Convert the valid punycode to IDN and check this against maually converted one. |
|
210 //! @SYMTestPriority High |
|
211 //! @SYMTestActions Load te_punycodeconverter test server. |
|
212 //! Run the PunyToIdn test case. |
|
213 //! Compare the converted IDN against the manually converted one which is fetched from te_punycodeconverter.ini. |
|
214 //! @SYMTestExpectedResults IDN converted by punycodeconverter and manually converted are same. |
|
215 //! @SYMTestType CIT |
|
216 //! @SYMCreationDate 5/2/2009 |
|
217 //! @SYMAuthor tamilarasub |
|
218 //! @SYMTestStatus 3. Released |
|
219 |
|
220 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
221 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test8 |
|
222 COMMAND punycodeconverter_test8 PunyCodeToIdn PunyCodeToIdn8 |
|
223 END_TEST_BLOCK |
|
224 |
|
225 END_TESTCASE NET-DND-punycodeconverter-test8 |
|
226 |
|
227 |
|
228 START_TESTCASE NET-DND-punycodeconverter-test9 |
|
229 //! @SYMTestCaseID NET-DND-punycodeconverter-test9 |
|
230 //! @SYMTestCaseDesc PREQ2296 - REQ11950 |
|
231 //! Punycode converter returns valid error upon receiving malformed punycode for conversion. |
|
232 //! @SYMTestPriority High |
|
233 //! @SYMTestActions Load te_punycodeconverter test server. |
|
234 //! Run the PunyToIdn test case. |
|
235 //! @SYMTestExpectedResults Punycodeconverter conversion failed with error KErrDndBadName. |
|
236 //! @SYMTestType CIT |
|
237 //! @SYMCreationDate 5/2/2009 |
|
238 //! @SYMAuthor tamilarasub |
|
239 //! @SYMTestStatus 3. Released |
|
240 |
|
241 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
242 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test9 |
|
243 COMMAND !Error=-5127 punycodeconverter_test9 PunyCodeToIdn PunyCodeToIdn9 |
|
244 END_TEST_BLOCK |
|
245 |
|
246 END_TESTCASE NET-DND-punycodeconverter-test9 |
|
247 |
|
248 |
|
249 START_TESTCASE NET-DND-punycodeconverter-test10 |
|
250 //! @SYMTestCaseID NET-DND-punycodeconverter-test10 |
|
251 //! @SYMTestCaseDesc PREQ2296 - REQ11948 |
|
252 //! Relsolve the IDN name by providing the IP address. |
|
253 //! @SYMTestPriority Critical |
|
254 //! @SYMTestActions Load te_punycodeconverter test server |
|
255 //! Run the ResolveAddress test case. |
|
256 //! @SYMTestExpectedResults DND resolves the IP address successfully. |
|
257 //! Result is actual IDN must be as the one provided in te_punycodeconverter_test10.ini |
|
258 //! @SYMTestType CIT |
|
259 //! @SYMCreationDate 5/2/2009 |
|
260 //! @SYMAuthor tamilarasub |
|
261 //! @SYMTestStatus 3. Released |
|
262 |
|
263 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
264 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test10 |
|
265 COMMAND punycodeconverter_test10 OpenResolver ResolveAddress10 |
|
266 COMMAND punycodeconverter_test10 EnableIdnSupport ResolveAddress10 |
|
267 COMMAND punycodeconverter_test10 ResolveAddress ResolveAddress10 |
|
268 COMMAND punycodeconverter_test10 CloseResolver ResolveAddress10 |
|
269 END_TEST_BLOCK |
|
270 |
|
271 END_TESTCASE NET-DND-punycodeconverter-test10 |
|
272 |
|
273 |
|
274 START_TESTCASE NET-DND-punycodeconverter-test11 |
|
275 //! @SYMTestCaseID NET-DND-punycodeconverter-test11 |
|
276 //! @SYMTestCaseDesc PREQ2296 - REQ11951 |
|
277 //! DND must resolve the punycodeconverter converted IDN |
|
278 //! @SYMTestPriority High |
|
279 //! @SYMTestActions Load te_punycodeconverter test server |
|
280 //! Run the PunyToIdn test case, preserve the IDN |
|
281 //! Use the preserved IDN and run ResolveName test case. |
|
282 //! @SYMTestExpectedResults DND resolves the punycodeconverter converted IDN successfully. |
|
283 //! @SYMTestType CIT |
|
284 //! @SYMCreationDate 5/2/2009 |
|
285 //! @SYMAuthor tamilarasub |
|
286 //! @SYMTestStatus 3. Released |
|
287 |
|
288 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
289 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test11 |
|
290 COMMAND punycodeconverter_test11 PunyCodeToIdn PunyCodeToIdn11 |
|
291 COMMAND punycodeconverter_test11 OpenResolver PunyCodeToIdn11 |
|
292 COMMAND punycodeconverter_test11 EnableIdnSupport PunyCodeToIdn11 |
|
293 COMMAND punycodeconverter_test11 ResolveName ResolveName11 |
|
294 COMMAND punycodeconverter_test11 CloseResolver PunyCodeToIdn11 |
|
295 END_TEST_BLOCK |
|
296 |
|
297 END_TESTCASE NET-DND-punycodeconverter-test11 |
|
298 |
|
299 |
|
300 START_TESTCASE NET-DND-punycodeconverter-test12 |
|
301 //! @SYMTestCaseID NET-DND-punycodeconverter-test12 |
|
302 //! @SYMTestCaseDesc PREQ2296 - REQ11949 |
|
303 //! New component capability test. |
|
304 //! @SYMTestPriority Critical |
|
305 //! @SYMTestActions Create te_punycodeconverter1 by setting the capability UserEnvironment |
|
306 //! Create te_punycodeconverter2 by setting the capability NetworkServices |
|
307 //! Load te_punycodeconverter1 test server. |
|
308 //! Run the CapTest test case |
|
309 //! Load te_punycodeconverter2 test server. |
|
310 //! Run the CapTest test case. |
|
311 //! @SYMTestExpectedResults Error KErrPermissionDenied has to be reported for frist test case, |
|
312 //! KErrNone for the second one. |
|
313 //! @SYMTestType CIT |
|
314 //! @SYMCreationDate 11/2/2009 |
|
315 //! @SYMAuthor tamilarasub |
|
316 //! @SYMTestStatus 3. Released |
|
317 |
|
318 //capability UserEnvironment |
|
319 RUN_PROGRAM -1 setcap.exe te_punycodeconverter.exe 80000 -SID 10281806 te_punycodeconverter1.exe |
|
320 //capability NetworkServices |
|
321 RUN_PROGRAM -1 setcap.exe te_punycodeconverter.exe 400 -SID 10281806 te_punycodeconverter2.exe |
|
322 |
|
323 //Load the Server |
|
324 LOAD_SERVER te_punycodeconverter1 |
|
325 |
|
326 START_TEST_BLOCK te_punycodeconverter1 100 z:\testdata\configs\te_punycodeconverter.ini |
|
327 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test12 |
|
328 COMMAND punycodeconverter_test12 OpenResolver CapTest12 |
|
329 COMMAND punycodeconverter_test12 EnableIdnSupport CapTest12 |
|
330 COMMAND !Error=-46 punycodeconverter_test12 CapTest CapTest12 |
|
331 COMMAND punycodeconverter_test12 CloseResolver CapTest12 |
|
332 END_TEST_BLOCK |
|
333 |
|
334 //Load the Server |
|
335 LOAD_SERVER te_punycodeconverter2 |
|
336 |
|
337 START_TEST_BLOCK te_punycodeconverter2 100 z:\testdata\configs\te_punycodeconverter.ini |
|
338 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test12 |
|
339 COMMAND punycodeconverter_test12 OpenResolver CapTest12 |
|
340 COMMAND punycodeconverter_test12 EnableIdnSupport CapTest12 |
|
341 COMMAND punycodeconverter_test12 CapTest CapTest12 |
|
342 COMMAND punycodeconverter_test12 CloseResolver CapTest12 |
|
343 END_TEST_BLOCK |
|
344 |
|
345 END_TESTCASE NET-DND-punycodeconverter-test12 |
|
346 |
|
347 |
|
348 START_TESTCASE NET-DND-punycodeconverter-test13 |
|
349 //! @SYMTestCaseID NET-DND-punycodeconverter-test13 |
|
350 //! @SYMTestCaseDesc PREQ2296 - REQ12162 |
|
351 //! Enable IDN, Resolve surrogate pair code unit |
|
352 //! @SYMTestPriority High |
|
353 //! @SYMTestActions Load te_punycodeconverter test server |
|
354 //! Run the surrogatepair test case |
|
355 //! @SYMTestExpectedResults Expect KErrDndBadName error |
|
356 //! @SYMTestType CIT |
|
357 //! @SYMCreationDate 5/2/2009 |
|
358 //! @SYMAuthor tamilarasub |
|
359 //! @SYMTestStatus 3. Released |
|
360 |
|
361 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
362 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test13 |
|
363 COMMAND punycodeconverter_test13 OpenResolver SurrogatePair13 |
|
364 COMMAND punycodeconverter_test13 EnableIdnSupport SurrogatePair13 |
|
365 COMMAND !Error=-5127 punycodeconverter_test13 SurrogatePair SurrogatePair13 |
|
366 COMMAND punycodeconverter_test13 CloseResolver SurrogatePair13 |
|
367 END_TEST_BLOCK |
|
368 |
|
369 END_TESTCASE NET-DND-punycodeconverter-test13 |
|
370 |
|
371 |
|
372 START_TESTCASE NET-DND-punycodeconverter-test14 |
|
373 //! @SYMTestCaseID NET-DND-punycodeconverter-test14 |
|
374 //! @SYMTestCaseDesc PREQ2296 - REQ12162 |
|
375 //! Disable IDN, Resolve surrogate pair code unit |
|
376 //! @SYMTestPriority Medium |
|
377 //! @SYMTestActions Load te_punycodeconverter test server |
|
378 //! run surrogatepair test case |
|
379 //! @SYMTestExpectedResults Expect KErrDndBadName |
|
380 //! @SYMTestType CIT |
|
381 //! @SYMCreationDate 5/2/2009 |
|
382 //! @SYMAuthor tamilarasub |
|
383 //! @SYMTestStatus 3. Released |
|
384 |
|
385 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
386 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test14 |
|
387 COMMAND punycodeconverter_test14 OpenResolver SurrogatePair14 |
|
388 COMMAND punycodeconverter_test14 DisableIdnSupport SurrogatePair14 |
|
389 COMMAND !Error=-5127 punycodeconverter_test14 SurrogatePair SurrogatePair14 |
|
390 COMMAND punycodeconverter_test14 CloseResolver SurrogatePair14 |
|
391 END_TEST_BLOCK |
|
392 |
|
393 END_TESTCASE NET-DND-punycodeconverter-test14 |
|
394 |
|
395 |
|
396 START_TESTCASE NET-DND-punycodeconverter-test15 |
|
397 //! @SYMTestCaseID NET-DND-punycodeconverter-test15 |
|
398 //! @SYMTestCaseDesc Disable IDN using the RHostResolver API SetOpt, try to resolve valid IDN name |
|
399 //! @SYMTestPriority High |
|
400 //! @SYMTestActions Load te_punycodeconverter test server |
|
401 //! run ResolveName test case |
|
402 //! @SYMTestExpectedResults Expect the error KErrDndNameNotFound |
|
403 //! @SYMTestType CIT |
|
404 //! @SYMCreationDate 5/2/2009 |
|
405 //! @SYMAuthor tamilarasub |
|
406 //! @SYMTestStatus 3. Released |
|
407 |
|
408 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
409 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test15 |
|
410 COMMAND punycodeconverter_test15 OpenResolver SurrogatePair15 |
|
411 COMMAND punycodeconverter_test15 DisableIdnSupport SurrogatePair15 |
|
412 COMMAND !Error=-5120 punycodeconverter_test15 ResolveName ResolveName15 |
|
413 COMMAND punycodeconverter_test15 CloseResolver SurrogatePair15 |
|
414 END_TEST_BLOCK |
|
415 |
|
416 END_TESTCASE NET-DND-punycodeconverter-test15 |
|
417 |
|
418 START_TESTCASE NET-DND-punycodeconverter-test16 |
|
419 //! @SYMTestCaseID NET-DND-punycodeconverter-test16 |
|
420 //! @SYMTestCaseDesc DEF141282 fix |
|
421 //! Convert the valid punycode to IDN and check this against maually converted one. |
|
422 //! @SYMTestPriority High |
|
423 //! @SYMTestActions Load te_punycodeconverter test server. |
|
424 //! Run the PunyToIdn test case. |
|
425 //! Compare the converted IDN against the manually converted one which is fetched from te_punycodeconverter.ini. |
|
426 //! @SYMTestExpectedResults IDN converted by punycodeconverter and manually converted are same. |
|
427 //! @SYMTestType CIT |
|
428 //! @SYMCreationDate 4/08/2009 |
|
429 //! @SYMAuthor Maheswara |
|
430 //! @SYMTestStatus 3. Released |
|
431 |
|
432 START_TEST_BLOCK te_punycodeconverter 100 z:\testdata\configs\te_punycodeconverter.ini |
|
433 CREATE_OBJECT PunycodeConverterTestWrapper punycodeconverter_test16 |
|
434 COMMAND punycodeconverter_test16 PunyCodeToIdn PunyCodeToIdn16 |
|
435 END_TEST_BLOCK |
|
436 |
|
437 END_TESTCASE NET-DND-punycodeconverter-test16 |
|
438 |
|
439 RUN_SCRIPT z:\TestData\scripts\te_esock_test_stopallinterfaces.script |
|
440 RUN_SCRIPT z:\testdata\scripts\te_esock_test_unloadesockForced.script |
|
441 |