#include #include #include #include #include #include "xmlstringreader.h" #include "xmlexception.h" class XmlCoreTestSuite : public Test::Suite { public: XmlCoreTestSuite() { TEST_ADD( XmlCoreTestSuite::badXml01 ) TEST_ADD( XmlCoreTestSuite::badXml02 ) TEST_ADD( XmlCoreTestSuite::badXml03 ) } private: void badXml01() { TEST_THROWS( XmlStringReader r(""), XmlException & ); } void badXml02() { TEST_THROWS( XmlStringReader r(""), XmlException & ); } void badXml03() { TEST_THROWS( XmlStringReader r("