summaryrefslogtreecommitdiff
path: root/src/test/xmlwritetest/xmlwritetest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/xmlwritetest/xmlwritetest.cpp')
-rw-r--r--src/test/xmlwritetest/xmlwritetest.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/xmlwritetest/xmlwritetest.cpp b/src/test/xmlwritetest/xmlwritetest.cpp
index 2986c35..fc93510 100644
--- a/src/test/xmlwritetest/xmlwritetest.cpp
+++ b/src/test/xmlwritetest/xmlwritetest.cpp
@@ -1,5 +1,6 @@
1#include "xmlfilewriter.h" 1#include "xmlfilewriter.h"
2#include "xmlstringwriter.h" 2#include "xmlstringwriter.h"
3#include "xmlstringreader.h"
3 4
4void fillItIn( XmlWriter &w ) 5void fillItIn( XmlWriter &w )
5{ 6{
@@ -28,6 +29,12 @@ void fillItIn( XmlWriter &w )
28int main() 29int main()
29{ 30{
30 printf("Testing XmlWriter...\n"); 31 printf("Testing XmlWriter...\n");
32
33 XmlStringReader *xsr = new XmlStringReader("<stuff/>");
34
35 printf("%08X\n%08X\n%08X\n", xsr, (XmlReader *)xsr, (XmlDocument *)xsr );
36
37 delete (XmlDocument *)xsr;
31 //XmlFileWriter wf("test.xml", "\t"); 38 //XmlFileWriter wf("test.xml", "\t");
32 39
33 //fillItIn( wf ); 40 //fillItIn( wf );