From 5dbc8f155b16759b4ebb82aceb3759c686489e3b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 4 Sep 2008 22:09:51 +0000 Subject: XML is important, I guess... --- src/unit/xml.cpp | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/unit/xml.cpp (limited to 'src/unit') diff --git a/src/unit/xml.cpp b/src/unit/xml.cpp new file mode 100644 index 0000000..e845cc1 --- /dev/null +++ b/src/unit/xml.cpp @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2007-2008 Xagasoft, All rights reserved. + * + * This file is part of the libbu++ library and is released under the + * terms of the license contained in the file LICENSE. + */ + +#include "bu/fstring.h" +#include "bu/unitsuite.h" +#include "bu/xmlreader.h" +#include "bu/membuf.h" + +class Unit : public Bu::UnitSuite +{ +public: + Unit() + { + setName("Xml"); + addTest( Unit::declaration ); + } + + virtual ~Unit() + { + } + + void declaration() + { + Bu::FString sXml(" "); + Bu::MemBuf buf( sXml ); + Bu::XmlReader xr( buf ); + } + +}; + +int main( int argc, char *argv[] ) +{ + return Unit().run( argc, argv ); +} + -- cgit v1.2.3