aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/xmlreadtest.cpp8
-rw-r--r--src/test/xmlwritetest.cpp10
2 files changed, 9 insertions, 9 deletions
diff --git a/src/test/xmlreadtest.cpp b/src/test/xmlreadtest.cpp
index f6d8d8b..e2d2a0a 100644
--- a/src/test/xmlreadtest.cpp
+++ b/src/test/xmlreadtest.cpp
@@ -14,14 +14,14 @@ int main( int argc, char *argv[] )
14 if( argv[1][0] == 'f' ) 14 if( argv[1][0] == 'f' )
15 { 15 {
16 XmlFileReader r( argv[2], true ); 16 XmlFileReader r( argv[2], true );
17 XmlFileWriter w( argv[3], "\t", r.detatchRoot() ); 17// XmlFileWriter w( argv[3], "\t", r.detatchRoot() );
18 w.write(); 18// w.write();
19 } 19 }
20 else if( argv[1][0] == 's' ) 20 else if( argv[1][0] == 's' )
21 { 21 {
22 XmlStringReader r( argv[2], true ); 22 XmlStringReader r( argv[2], true );
23 XmlWriter w( argv[3], "\t", r.detatchRoot() ); 23// XmlWriter w( argv[3], "\t", r.detatchRoot() );
24 w.write(); 24// w.write();
25 } 25 }
26 26
27 return 0; 27 return 0;
diff --git a/src/test/xmlwritetest.cpp b/src/test/xmlwritetest.cpp
index 340c9a3..2986c35 100644
--- a/src/test/xmlwritetest.cpp
+++ b/src/test/xmlwritetest.cpp
@@ -28,14 +28,14 @@ void fillItIn( XmlWriter &w )
28int main() 28int main()
29{ 29{
30 printf("Testing XmlWriter...\n"); 30 printf("Testing XmlWriter...\n");
31 XmlFileWriter wf("test.xml", "\t"); 31 //XmlFileWriter wf("test.xml", "\t");
32 32
33 fillItIn( wf ); 33 //fillItIn( wf );
34 34
35 XmlStringWriter ws("\t"); 35 //XmlStringWriter ws("\t");
36 fillItIn( ws ); 36 //fillItIn( ws );
37 37
38 printf("Now the string version:\n\n%s\n", ws.getString().c_str() ); 38 //printf("Now the string version:\n\n%s\n", ws.getString().c_str() );
39 39
40 return 0; 40 return 0;
41} 41}