diff -r 889504eac4fb -r 604ca70b6235 xml/libxml2libs/test/xmlengtester/xmlengtester_target/src/xmlengtesterblocksfilecont.cpp --- a/xml/libxml2libs/test/xmlengtester/xmlengtester_target/src/xmlengtesterblocksfilecont.cpp Tue Aug 31 17:02:56 2010 +0300 +++ b/xml/libxml2libs/test/xmlengtester/xmlengtester_target/src/xmlengtesterblocksfilecont.cpp Wed Sep 01 12:37:34 2010 +0100 @@ -18,12 +18,12 @@ #include "TestContentHandler.h" #include "xmlengtester.h" //#include "XmlEngDOMChunkParser.h" -#include -#include -#include +#include "XmlEngFileContainer.h" +#include "XmlEngBinaryContainer.h" +#include "XmlEngNode.h" #include -#include -#include +#include +#include #include #include @@ -47,7 +47,7 @@ _LIT(KFileError,"FileContainer Error GetList.."); _LIT(KEndParsing,"Checking FileContainer GetList end."); TBufC8<100> cid(_L8("123456789@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -116,7 +116,7 @@ iLog->Log((TDesC)KEndParsing); CleanupStack::PopAndDestroy(3);//list, rfs,file return KErrNone; - } + } // ----------------------------------------------------------------------------- // CLibxml2Tester::FileContainer_CidL // test method function. @@ -129,7 +129,7 @@ _LIT(KFileError,"File Cid() Error."); _LIT(KEndParsing,"Checking FileContainer end."); TBufC8<100> cid(_L8("123456789@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -176,9 +176,9 @@ _LIT(KEndParsing,"Checking FileContainer end."); TBufC8<100> cid(_L8("123456789@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -265,7 +265,7 @@ _LIT(KFileError,"File Size() Error."); _LIT(KEndParsing,"Checking FileContainer end."); TBufC8<100> cid(_L8("123456789@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -310,7 +310,7 @@ _LIT(KFileError,"File File().Name() Error."); _LIT(KEndParsing,"Checking FileContainer end."); TBufC8<100> cid(_L8("123456789@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -358,7 +358,7 @@ _LIT(KFileError,"File NodeType() Error."); _LIT(KEndParsing,"Checking FileContainer end."); TBufC8<100> cid(_L8("123456789@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -406,9 +406,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -479,9 +479,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -559,9 +559,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); HBufC8* str1=ReadFileL(KInputFile1); CleanupStack::PushL(str1); @@ -639,9 +639,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -732,9 +732,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -804,9 +804,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -905,9 +905,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1025,9 +1025,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1149,9 +1149,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1243,9 +1243,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1368,9 +1368,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1456,9 +1456,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1548,9 +1548,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1669,9 +1669,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1764,9 +1764,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1859,9 +1859,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -1954,9 +1954,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -2050,9 +2050,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect()); @@ -2145,9 +2145,9 @@ TBufC8<100> cid1(_L8("11111111@123456789") ); TBufC8<100> cid2(_L8("22222222@123456789") ); TBufC8<100> cid3(_L8("33333333@123456789") ); - _LIT(KInputFile1,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); - _LIT(KInputFile2,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); - _LIT(KInputFile3,"f:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); + _LIT(KInputFile1,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.jpg"); + _LIT(KInputFile2,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\icon.gif"); + _LIT(KInputFile3,"E:\\testing\\data\\xmleng\\efute\\input\\filecontainer\\test.doc"); RFs rfs; User::LeaveIfError(rfs.Connect());