mmappcomponents/asxparser/test/test.cpp
changeset 2 7a9a8e73f54b
parent 0 a2952bb97e68
child 8 bee149131e4b
equal deleted inserted replaced
1:7f2202662322 2:7a9a8e73f54b
    13 *
    13 *
    14 * Description:  Simple v2/v3 ASX-fileparser
    14 * Description:  Simple v2/v3 ASX-fileparser
    15  *
    15  *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 5 %
    18 // Version : %version: e003sa33#6 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <e32cons.h>
    23 #include <e32cons.h>
   101         TPtrC16 url2;
   101         TPtrC16 url2;
   102         parser->GetUrl(1,url);
   102         parser->GetUrl(1,url);
   103         PrintUrl(url);
   103         PrintUrl(url);
   104         delete parser;
   104         delete parser;
   105     }
   105     }
       
   106     
       
   107     RDebug::Print(_L("#MP# TestAsx Test 5"));
       
   108     {
       
   109         _LIT(KFile,"c:\\multiURL_v3.asx");
       
   110         parser = CAsxParser::NewL(KFile);
       
   111         TUint i = 0;
       
   112         parser->GetUrlCount(i);
       
   113         __ASSERT_DEBUG(i == 1,1);
       
   114         TPtrC8 url;
       
   115         TPtrC16 url2;
       
   116         parser->GetUrl(1,url);
       
   117         PrintUrl(url);
       
   118         delete parser;
       
   119     }
   106 }
   120 }
   107 
   121 
   108 void DoExampleL()
   122 void DoExampleL()
   109 {
   123 {
   110     CConsoleBase* console;
   124     CConsoleBase* console;