From 937d960d2677c87ac6d68dc5445be115ac001d3e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 29 Jun 2006 05:50:44 +0000 Subject: Completely switched over to the much simpler, nicer pymake. Things look great, and the old Makefile may soon fall into disrepair. To use the old one, which should almost always be able to build at least thi library, call: make -f Makefile.legacy The new Makefile just calls pymake --- src/test/xmlwritetest.cpp | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/test/xmlwritetest.cpp (limited to 'src/test/xmlwritetest.cpp') diff --git a/src/test/xmlwritetest.cpp b/src/test/xmlwritetest.cpp deleted file mode 100644 index 2986c35..0000000 --- a/src/test/xmlwritetest.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "xmlfilewriter.h" -#include "xmlstringwriter.h" - -void fillItIn( XmlWriter &w ) -{ - w.addNode("thinglist"); - - w.addNode("thing"); - w.addProperty("type", "Weapon"); - - w.addNode("id", "Klophin Staff", true ); - w.addNode("name", "Klophin Staff", true ); - w.addNode("durability", "0.01", true ); - w.addNode("size", "0.1", true ); - - w.addNode("config"); - w.addNode("damage", "3d6+4", true ); - w.addNode("class", "melee", true ); - w.addNode("type", "bludgeon", true ); - w.addNode("damagedesc", "club/clubs", true ); - w.closeNode(); - - w.closeNode(); - - w.closeNode(); -} - -int main() -{ - printf("Testing XmlWriter...\n"); - //XmlFileWriter wf("test.xml", "\t"); - - //fillItIn( wf ); - - //XmlStringWriter ws("\t"); - //fillItIn( ws ); - - //printf("Now the string version:\n\n%s\n", ws.getString().c_str() ); - - return 0; -} -- cgit v1.2.3