adjust path of testfile bomtest.xml to resource/out
This commit is contained in:
4
xmltest.cpp
Normal file → Executable file
4
xmltest.cpp
Normal file → Executable file
@@ -1702,12 +1702,12 @@ int main( int argc, const char ** argv )
|
|||||||
doc.Print( &printer );
|
doc.Print( &printer );
|
||||||
|
|
||||||
XMLTest( "BOM preservation (compare)", xml_bom_preservation, printer.CStr(), false, true );
|
XMLTest( "BOM preservation (compare)", xml_bom_preservation, printer.CStr(), false, true );
|
||||||
doc.SaveFile( "resources/bomtest.xml" );
|
doc.SaveFile( "resources/out/bomtest.xml" );
|
||||||
XMLTest( "Save bomtest.xml", false, doc.Error() );
|
XMLTest( "Save bomtest.xml", false, doc.Error() );
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
XMLDocument doc;
|
XMLDocument doc;
|
||||||
doc.LoadFile( "resources/bomtest.xml" );
|
doc.LoadFile( "resources/out/bomtest.xml" );
|
||||||
XMLTest( "Load bomtest.xml", false, doc.Error() );
|
XMLTest( "Load bomtest.xml", false, doc.Error() );
|
||||||
XMLTest( "BOM preservation (load)", true, doc.HasBOM(), false );
|
XMLTest( "BOM preservation (load)", true, doc.HasBOM(), false );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user