|
1 /* |
|
2 * Copyright (c) 2002 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: AsxParserTestBlocks.cpp |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 3.1.2 % |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 // [INCLUDE FILES] - do not remove |
|
24 #include <e32svr.h> |
|
25 #include <StifParser.h> |
|
26 #include <Stiftestinterface.h> |
|
27 #include "AsxParserTest.h" |
|
28 #include "AsxParser.h" |
|
29 |
|
30 #include <coeaui.h> |
|
31 #include "EdwinTestControl.h" |
|
32 #include <EIKENV.H> |
|
33 |
|
34 // EXTERNAL DATA STRUCTURES |
|
35 //extern ?external_data; |
|
36 |
|
37 // EXTERNAL FUNCTION PROTOTYPES |
|
38 //extern ?external_function( ?arg_type,?arg_type ); |
|
39 |
|
40 // CONSTANTS |
|
41 //const ?type ?constant_var = ?constant; |
|
42 |
|
43 // MACROS |
|
44 //#define ?macro ?macro_def |
|
45 |
|
46 // LOCAL CONSTANTS AND MACROS |
|
47 //const ?type ?constant_var = ?constant; |
|
48 //#define ?macro_name ?macro_def |
|
49 |
|
50 // MODULE DATA STRUCTURES |
|
51 //enum ?declaration |
|
52 //typedef ?declaration |
|
53 |
|
54 // LOCAL FUNCTION PROTOTYPES |
|
55 //?type ?function_name( ?arg_type, ?arg_type ); |
|
56 |
|
57 // FORWARD DECLARATIONS |
|
58 //class ?FORWARD_CLASSNAME; |
|
59 |
|
60 // ============================= LOCAL FUNCTIONS =============================== |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // ?function_name ?description. |
|
64 // ?description |
|
65 // Returns: ?value_1: ?description |
|
66 // ?value_n: ?description_line1 |
|
67 // ?description_line2 |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 /* |
|
71 ?type ?function_name( |
|
72 ?arg_type arg, // ?description |
|
73 ?arg_type arg) // ?description |
|
74 { |
|
75 |
|
76 ?code // ?comment |
|
77 |
|
78 // ?comment |
|
79 ?code |
|
80 } |
|
81 */ |
|
82 |
|
83 // ============================ MEMBER FUNCTIONS =============================== |
|
84 |
|
85 // ----------------------------------------------------------------------------- |
|
86 // CAsxParserTest::Delete |
|
87 // Delete here all resources allocated and opened from test methods. |
|
88 // Called from destructor. |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 void CAsxParserTest::Delete() |
|
92 { |
|
93 |
|
94 } |
|
95 |
|
96 // ----------------------------------------------------------------------------- |
|
97 // CAsxParserTest::RunMethodL |
|
98 // Run specified method. Contains also table of test mothods and their names. |
|
99 // ----------------------------------------------------------------------------- |
|
100 // |
|
101 TInt CAsxParserTest::RunMethodL( |
|
102 CStifItemParser& aItem ) |
|
103 { |
|
104 |
|
105 static TStifFunctionInfo const KFunctions[] = |
|
106 { |
|
107 // Copy this line for every implemented function. |
|
108 // First string is the function name used in TestScripter script file. |
|
109 // Second is the actual implementation member function. |
|
110 ENTRY( "Example", CAsxParserTest::ExampleL ), |
|
111 //ADD NEW ENTRY HERE |
|
112 // [test cases entries] - Do not remove |
|
113 // test cases for the header "AsxParser.h" |
|
114 ENTRY( "CreateNew", CAsxParserTest::CreateNew ), |
|
115 ENTRY( "CreateNewRFile", CAsxParserTest::CreateNewRFile ), |
|
116 ENTRY( "GetUrlCount", CAsxParserTest::GetUrlCount ), |
|
117 ENTRY( "GetUrl", CAsxParserTest::GetUrl ), |
|
118 ENTRY( "FileVersion", CAsxParserTest::FileVersion ), |
|
119 ENTRY( "PrintUrl", CAsxParserTest::PrintUrl ), |
|
120 ENTRY( "GetUrlCountRFile", CAsxParserTest::GetUrlCountRFile ), |
|
121 ENTRY( "GetUrlRFile", CAsxParserTest::GetUrlRFile ), |
|
122 ENTRY( "FileVersionRFile", CAsxParserTest::FileVersionRFile ), |
|
123 ENTRY( "PrintUrlRFile", CAsxParserTest::PrintUrlRFile ), |
|
124 ENTRY( "CAsxParserDestructor", CAsxParserTest::CAsxParserDestructor), |
|
125 ENTRY( "GetAsxStruct", CAsxParserTest::GetAsxStruct ) |
|
126 |
|
127 |
|
128 }; |
|
129 |
|
130 const TInt count = sizeof( KFunctions ) / |
|
131 sizeof( TStifFunctionInfo ); |
|
132 |
|
133 return RunInternalL( KFunctions, count, aItem ); |
|
134 |
|
135 } |
|
136 |
|
137 // ----------------------------------------------------------------------------- |
|
138 // CAsxParserTest::ExampleL |
|
139 // Example test method function. |
|
140 // (other items were commented in a header). |
|
141 // ----------------------------------------------------------------------------- |
|
142 // |
|
143 TInt CAsxParserTest::ExampleL( CStifItemParser& aItem ) |
|
144 { |
|
145 |
|
146 // Print to UI |
|
147 _LIT( KAsxParserTest, "AsxParserTest" ); |
|
148 _LIT( KExample, "In Example" ); |
|
149 TestModuleIf().Printf( 0, KAsxParserTest, KExample ); |
|
150 // Print to log file |
|
151 iLog->Log( KExample ); |
|
152 |
|
153 TInt i = 0; |
|
154 TPtrC string; |
|
155 _LIT( KParam, "Param[%i]: %S" ); |
|
156 while ( aItem.GetNextString ( string ) == KErrNone ) |
|
157 { |
|
158 TestModuleIf().Printf( i, KAsxParserTest, |
|
159 KParam, i, &string ); |
|
160 i++; |
|
161 } |
|
162 |
|
163 return KErrNone; |
|
164 |
|
165 } |
|
166 |
|
167 // |
|
168 // ----------------------------------------------------------------------------- |
|
169 // CAsxParserTest::CreateNew |
|
170 // GetUrlCount method function |
|
171 // (other items were commented in a header). |
|
172 // ----------------------------------------------------------------------------- |
|
173 // |
|
174 TInt CAsxParserTest::CreateNew( CStifItemParser& aItem ) |
|
175 { |
|
176 iLog->Log(_L("CAsxParserTest::CreateNew")); |
|
177 TInt err = KErrNone; |
|
178 TPtrC string; |
|
179 while ( aItem.GetNextString( string ) == KErrNone ) |
|
180 { |
|
181 TBuf<120> KFrom; |
|
182 KFrom.Append(KAsxParserTest_testPath); |
|
183 KFrom.Append(string); |
|
184 TRAP(err,iAsxParser=CAsxParser::NewL(KFrom)); |
|
185 if ( err == KErrNone ) |
|
186 { |
|
187 iLog->Log(_L("CreateNew returned no error")); |
|
188 } |
|
189 else |
|
190 { |
|
191 iLog->Log(_L("Error: CreateNew returned: %d"), err); |
|
192 } |
|
193 } |
|
194 return err; |
|
195 } |
|
196 |
|
197 // |
|
198 // ----------------------------------------------------------------------------- |
|
199 // CAsxParserTest::CreateNewRFile |
|
200 // GetUrl method function |
|
201 // (other items were commented in a header). |
|
202 // ----------------------------------------------------------------------------- |
|
203 // |
|
204 TInt CAsxParserTest::CreateNewRFile( CStifItemParser& aItem ) |
|
205 { |
|
206 iLog->Log(_L("CAsxParserTest::CreateNewRFile")); |
|
207 TInt err = KErrNone; |
|
208 TPtrC string; |
|
209 while ( aItem.GetNextString( string ) == KErrNone ) |
|
210 { |
|
211 TBuf<120> KFrom; |
|
212 KFrom.Append(KAsxParserTest_testPath); |
|
213 KFrom.Append(string); |
|
214 |
|
215 RFile file; |
|
216 RFs fs; |
|
217 TRAP(err, fs.Connect()); |
|
218 file.Open(fs, KFrom, EFileRead | EFileShareReadersOnly ); |
|
219 TRAP(err, iAsxParser=CAsxParser::NewL(file)); |
|
220 fs.Close(); |
|
221 |
|
222 if ( err == KErrNone ) |
|
223 { |
|
224 iLog->Log(_L("CreateNewRFile returned no error %d"), err); |
|
225 } |
|
226 else |
|
227 { |
|
228 iLog->Log(_L("Error: CreateNewRFile returned: %d"), err); |
|
229 } |
|
230 |
|
231 } |
|
232 return err; |
|
233 } |
|
234 |
|
235 // |
|
236 // ----------------------------------------------------------------------------- |
|
237 // CAsxParserTest::GetUrlCount |
|
238 // GetUrlCount method function |
|
239 // (other items were commented in a header). |
|
240 // ----------------------------------------------------------------------------- |
|
241 // |
|
242 TInt CAsxParserTest::GetUrlCount( CStifItemParser& aItem ) |
|
243 { |
|
244 iLog->Log(_L("CAsxParserTest::GetUrlCount")); |
|
245 TInt err = KErrNone; |
|
246 TPtrC string; |
|
247 while ( aItem.GetNextString( string ) == KErrNone ) |
|
248 { |
|
249 TBuf<120> KFrom; |
|
250 KFrom.Append(KAsxParserTest_testPath); |
|
251 KFrom.Append(string); |
|
252 TRAP(err,iAsxParser=CAsxParser::NewL(KFrom)); |
|
253 TUint aHowManyUrls; |
|
254 |
|
255 if ( err == KErrNone ) |
|
256 { |
|
257 iAsxParser->GetUrlCount(aHowManyUrls); |
|
258 } |
|
259 |
|
260 if ( err == KErrNone ) |
|
261 { |
|
262 iLog->Log(_L("GetUrlCount returned no error")); |
|
263 } |
|
264 else |
|
265 { |
|
266 iLog->Log(_L("Error: GetUrlCount returned: %d"), err); |
|
267 } |
|
268 } |
|
269 return err; |
|
270 } |
|
271 |
|
272 // |
|
273 // ----------------------------------------------------------------------------- |
|
274 // CAsxParserTest::GetUrl |
|
275 // GetUrl method function |
|
276 // (other items were commented in a header). |
|
277 // ----------------------------------------------------------------------------- |
|
278 // |
|
279 TInt CAsxParserTest::GetUrl( CStifItemParser& aItem ) |
|
280 { |
|
281 iLog->Log(_L("CAsxParserTest::GetUrl")); |
|
282 TInt err = KErrNone; |
|
283 TPtrC string; |
|
284 while ( aItem.GetNextString( string ) == KErrNone ) |
|
285 { |
|
286 TBuf<120> KFrom; |
|
287 KFrom.Append(KAsxParserTest_testPath); |
|
288 KFrom.Append(string); |
|
289 TRAP(err,iAsxParser=CAsxParser::NewL(KFrom)); |
|
290 |
|
291 if ( err == KErrNone ) |
|
292 { |
|
293 TUint aHowManyUrls = 1; |
|
294 TPtrC8 aUrl; |
|
295 err = iAsxParser->GetUrl(aHowManyUrls,aUrl); |
|
296 } |
|
297 |
|
298 if ( err == KErrNone ) |
|
299 { |
|
300 iLog->Log(_L("GetUrl returned no error")); |
|
301 } |
|
302 else |
|
303 { |
|
304 iLog->Log(_L("Error: GetUrl returned: %d"), err); |
|
305 } |
|
306 } |
|
307 return err; |
|
308 } |
|
309 |
|
310 // |
|
311 // ----------------------------------------------------------------------------- |
|
312 // CAsxParserTest::FileVersion |
|
313 // FileVersion method function |
|
314 // (other items were commented in a header). |
|
315 // ----------------------------------------------------------------------------- |
|
316 // |
|
317 TInt CAsxParserTest::FileVersion( CStifItemParser& aItem ) |
|
318 { |
|
319 iLog->Log(_L("CAsxParserTest::FileVersion")); |
|
320 TInt err = KErrNone; |
|
321 TPtrC string; |
|
322 while ( aItem.GetNextString( string ) == KErrNone ) |
|
323 { |
|
324 TBuf<120> KFrom; |
|
325 KFrom.Append(KAsxParserTest_testPath); |
|
326 KFrom.Append(string); |
|
327 TRAP(err,iAsxParser=CAsxParser::NewL(KFrom)); |
|
328 |
|
329 if ( err == KErrNone ) |
|
330 { |
|
331 iAsxParser->FileVersion(); |
|
332 } |
|
333 |
|
334 if ( err == KErrNone ) |
|
335 { |
|
336 |
|
337 iLog->Log(_L("FileVersion returned no error")); |
|
338 } |
|
339 else |
|
340 { |
|
341 iLog->Log(_L("Error: FileVersion returned: %d"), err); |
|
342 } |
|
343 } |
|
344 return err; |
|
345 } |
|
346 |
|
347 // |
|
348 // ----------------------------------------------------------------------------- |
|
349 // CAsxParserTest::PrintUrl |
|
350 // GetUrl method function |
|
351 // (other items were commented in a header). |
|
352 // ----------------------------------------------------------------------------- |
|
353 // |
|
354 TInt CAsxParserTest::PrintUrl( CStifItemParser& aItem ) |
|
355 { |
|
356 iLog->Log(_L("CAsxParserTest::PrintUrl")); |
|
357 TInt err = KErrNone; |
|
358 TPtrC string; |
|
359 while ( aItem.GetNextString( string ) == KErrNone ) |
|
360 { |
|
361 TBuf<120> KFrom; |
|
362 KFrom.Append(KAsxParserTest_testPath); |
|
363 KFrom.Append(string); |
|
364 TRAP(err,iAsxParser=CAsxParser::NewL(KFrom)); |
|
365 |
|
366 if ( err == KErrNone ) |
|
367 { |
|
368 TPtrC8 aUrl; |
|
369 HBufC16* urlBuffer = NULL; |
|
370 TUint aHowManyUrls = 1; |
|
371 |
|
372 err =iAsxParser->GetUrl(aHowManyUrls,aUrl); |
|
373 |
|
374 if ( err == KErrNone ) |
|
375 { |
|
376 TRAP(err, urlBuffer = HBufC16::NewL(100)); |
|
377 TPtr16 url = urlBuffer->Des(); |
|
378 iAsxParser->PrintUrl(aUrl, url); |
|
379 } |
|
380 } |
|
381 |
|
382 if ( err == KErrNone ) |
|
383 { |
|
384 iLog->Log(_L("PrintUrl returned no error")); |
|
385 } |
|
386 else |
|
387 { |
|
388 iLog->Log(_L("Error: PrintUrl returned: %d"), err); |
|
389 } |
|
390 } |
|
391 return err; |
|
392 } |
|
393 |
|
394 // |
|
395 // ----------------------------------------------------------------------------- |
|
396 // CAsxParserTest::GetUrlCountRFile |
|
397 // GetUrlCount method function |
|
398 // (other items were commented in a header). |
|
399 // ----------------------------------------------------------------------------- |
|
400 // |
|
401 TInt CAsxParserTest::GetUrlCountRFile( CStifItemParser& aItem ) |
|
402 { |
|
403 iLog->Log(_L("CAsxParserTest::GetUrlCountRFile")); |
|
404 TInt err = KErrNone; |
|
405 TPtrC string; |
|
406 while ( aItem.GetNextString( string ) == KErrNone ) |
|
407 { |
|
408 TBuf<120> KFrom; |
|
409 KFrom.Append(KAsxParserTest_testPath); |
|
410 KFrom.Append(string); |
|
411 |
|
412 RFile file; |
|
413 RFs fs; |
|
414 User::LeaveIfError(fs.Connect()); |
|
415 file.Open(fs, KFrom, EFileRead | EFileShareReadersOnly ); |
|
416 TRAP(err, iAsxParser=CAsxParser::NewL(file)); |
|
417 fs.Close(); |
|
418 |
|
419 if ( err == KErrNone ) |
|
420 { |
|
421 TUint aHowManyUrls; |
|
422 iAsxParser->GetUrlCount(aHowManyUrls); |
|
423 } |
|
424 |
|
425 if ( err == KErrNone ) |
|
426 { |
|
427 iLog->Log(_L("GetUrlCountRFile returned no error")); |
|
428 } |
|
429 else |
|
430 { |
|
431 iLog->Log(_L("Error: GetUrlCountRFile returned: %d"), err); |
|
432 } |
|
433 } |
|
434 return err; |
|
435 } |
|
436 |
|
437 // |
|
438 // ----------------------------------------------------------------------------- |
|
439 // CAsxParserTest::GetUrlRFile |
|
440 // GetUrl method function |
|
441 // (other items were commented in a header). |
|
442 // ----------------------------------------------------------------------------- |
|
443 // |
|
444 TInt CAsxParserTest::GetUrlRFile( CStifItemParser& aItem ) |
|
445 { |
|
446 iLog->Log(_L("CAsxParserTest::GetUrlRFile")); |
|
447 TInt err = KErrNone; |
|
448 TPtrC string; |
|
449 while ( aItem.GetNextString( string ) == KErrNone ) |
|
450 { |
|
451 TBuf<120> KFrom; |
|
452 KFrom.Append(KAsxParserTest_testPath); |
|
453 KFrom.Append(string); |
|
454 |
|
455 RFile file; |
|
456 RFs fs; |
|
457 User::LeaveIfError(fs.Connect()); |
|
458 file.Open(fs, KFrom, EFileRead | EFileShareReadersOnly ); |
|
459 TRAP(err, iAsxParser=CAsxParser::NewL(file)); |
|
460 fs.Close(); |
|
461 |
|
462 if ( err == KErrNone ) |
|
463 { |
|
464 TUint aHowManyUrls = 1; |
|
465 TPtrC8 aUrl; |
|
466 iAsxParser->GetUrl(aHowManyUrls,aUrl); |
|
467 } |
|
468 |
|
469 if ( err == KErrNone ) |
|
470 { |
|
471 iLog->Log(_L("GetUrlRFile returned no error")); |
|
472 } |
|
473 else |
|
474 { |
|
475 iLog->Log(_L("Error: GetUrlRFile returned: %d"), err); |
|
476 } |
|
477 } |
|
478 return err; |
|
479 } |
|
480 |
|
481 // |
|
482 // ----------------------------------------------------------------------------- |
|
483 // CAsxParserTest::FileVersionRFile |
|
484 // FileVersion method function |
|
485 // (other items were commented in a header). |
|
486 // ----------------------------------------------------------------------------- |
|
487 // |
|
488 TInt CAsxParserTest::FileVersionRFile( CStifItemParser& aItem ) |
|
489 { |
|
490 iLog->Log(_L("CAsxParserTest::FileVersionRFile")); |
|
491 TInt err = KErrNone; |
|
492 TPtrC string; |
|
493 while ( aItem.GetNextString( string ) == KErrNone ) |
|
494 { |
|
495 TBuf<120> KFrom; |
|
496 KFrom.Append(KAsxParserTest_testPath); |
|
497 KFrom.Append(string); |
|
498 |
|
499 RFile file; |
|
500 RFs fs; |
|
501 User::LeaveIfError(fs.Connect()); |
|
502 file.Open(fs, KFrom, EFileRead | EFileShareReadersOnly ); |
|
503 TRAP(err, iAsxParser=CAsxParser::NewL(file)); |
|
504 fs.Close(); |
|
505 |
|
506 if ( err == KErrNone ) |
|
507 { |
|
508 iAsxParser->FileVersion(); |
|
509 } |
|
510 |
|
511 if ( err == KErrNone ) |
|
512 { |
|
513 iLog->Log(_L("FileVersionRFile returned no error")); |
|
514 } |
|
515 else |
|
516 { |
|
517 iLog->Log(_L("Error: FileVersionRFile returned: %d"), err); |
|
518 } |
|
519 } |
|
520 return err; |
|
521 } |
|
522 |
|
523 // |
|
524 // ----------------------------------------------------------------------------- |
|
525 // CAsxParserTest::PrintUrlRFile |
|
526 // GetUrl method function |
|
527 // (other items were commented in a header). |
|
528 // ----------------------------------------------------------------------------- |
|
529 // |
|
530 TInt CAsxParserTest::PrintUrlRFile( CStifItemParser& aItem ) |
|
531 { |
|
532 iLog->Log(_L("CAsxParserTest::PrintUrlRFile")); |
|
533 TInt err = KErrNone; |
|
534 TPtrC string; |
|
535 while ( aItem.GetNextString( string ) == KErrNone ) |
|
536 { |
|
537 TBuf<120> KFrom; |
|
538 KFrom.Append(KAsxParserTest_testPath); |
|
539 KFrom.Append(string); |
|
540 |
|
541 RFile file; |
|
542 RFs fs; |
|
543 User::LeaveIfError(fs.Connect()); |
|
544 file.Open(fs, KFrom, EFileRead | EFileShareReadersOnly ); |
|
545 TRAP(err, iAsxParser=CAsxParser::NewL(file)); |
|
546 fs.Close(); |
|
547 |
|
548 if ( err == KErrNone ) |
|
549 { |
|
550 TPtrC8 aUrl; |
|
551 HBufC16* urlBuffer = NULL; |
|
552 TUint aHowManyUrls = 1; |
|
553 err =iAsxParser->GetUrl(aHowManyUrls,aUrl); |
|
554 |
|
555 if ( err == KErrNone ) |
|
556 { |
|
557 TRAP(err, urlBuffer = HBufC16::NewL(100)); |
|
558 TPtr16 url = urlBuffer->Des(); |
|
559 iAsxParser->PrintUrl(aUrl, url); |
|
560 } |
|
561 } |
|
562 |
|
563 if ( err == KErrNone ) |
|
564 { |
|
565 iLog->Log(_L("PrintUrlRFile returned no error")); |
|
566 } |
|
567 else |
|
568 { |
|
569 iLog->Log(_L("Error: PrintUrlRFile returned: %d"), err); |
|
570 } |
|
571 } |
|
572 return err; |
|
573 } |
|
574 |
|
575 // ----------------------------------------------------------------------------- |
|
576 // CAsxParserTest::CAsxParserDestructor |
|
577 // (other items were commented in a header). |
|
578 // ----------------------------------------------------------------------------- |
|
579 TInt CAsxParserTest::CAsxParserDestructor(CStifItemParser& /*aItem*/) |
|
580 { |
|
581 TInt err = KErrNone; |
|
582 delete iAsxParser; |
|
583 iAsxParser = NULL; |
|
584 iLog->Log(_L("CAsxParserTest::CAsxParserDestructor testing CAsxParser::~ end err=%d"), err); |
|
585 return KErrNone; |
|
586 } |
|
587 |
|
588 |
|
589 // |
|
590 // ----------------------------------------------------------------------------- |
|
591 // CAsxParserTest::GetUrl |
|
592 // GetUrl method function |
|
593 // (other items were commented in a header). |
|
594 // ----------------------------------------------------------------------------- |
|
595 // |
|
596 TInt CAsxParserTest::GetAsxStruct( CStifItemParser& aItem ) |
|
597 { |
|
598 iLog->Log(_L("CAsxParserTest::GetAsxStruct")); |
|
599 TInt err = KErrNone; |
|
600 TPtrC string; |
|
601 AsxStruct* asxStruct = NULL; |
|
602 |
|
603 while ( aItem.GetNextString( string ) == KErrNone ) |
|
604 { |
|
605 TBuf<120> KFrom; |
|
606 KFrom.Append(KAsxParserTest_testPath); |
|
607 KFrom.Append(string); |
|
608 TRAP(err,iAsxParser=CAsxParser::NewL(KFrom)); |
|
609 |
|
610 if ( err == KErrNone ) |
|
611 { |
|
612 TUint aHowManyUrls = 1; |
|
613 TPtrC8 aUrl; |
|
614 asxStruct = iAsxParser->GetUrl(aHowManyUrls); |
|
615 } |
|
616 |
|
617 if ( asxStruct ) |
|
618 { |
|
619 iLog->Log(_L("GetUrl returned no error")); |
|
620 } |
|
621 else |
|
622 { |
|
623 err = KErrGeneral; |
|
624 iLog->Log(_L("Error: GetUrl returned: %d"), err); |
|
625 } |
|
626 } |
|
627 return err; |
|
628 } |
|
629 |
|
630 // ----------------------------------------------------------------------------- |
|
631 // CAsxParserTest::?member_function |
|
632 // ?implementation_description |
|
633 // (other items were commented in a header). |
|
634 // ----------------------------------------------------------------------------- |
|
635 // |
|
636 /* |
|
637 TInt CAsxParserTest::?member_function( |
|
638 CItemParser& aItem ) |
|
639 { |
|
640 |
|
641 ?code |
|
642 |
|
643 } |
|
644 */ |
|
645 |
|
646 // ========================== OTHER EXPORTED FUNCTIONS ========================= |
|
647 // None |
|
648 |
|
649 // [End of File] - Do not remove |