#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) #endif #include #include //#include #include #include #include #include #include "../CppUnit/TestRunner.hpp" #include "../CppUnit/framework/Test.h" #include "../CppUnit/framework/TestSuite.h" #include "test_DOMImplementation.h" #include "test_DocumentType.h" #include "test_Document.h" #include "test_ProcessingInstruction.h" #include "test_Siblings.h" #include "test_Element.h" #include "test_DocumentFragment.h" #include "test_Attribute.h" #include "test_SAX.h" #include "test_Text.hpp" #include "test_CDATA.hpp" #include "test_CharacterData.hpp" //////////////////////////////////////////////// int main(int argc, char* argv[]) { TestRunner runner; runner.addTest("DOMImplementationTest", DOMImplementationTest_suite()); runner.addTest("DocumentTypeTest", DocumentTypeTest_suite()); runner.addTest("DocumentTest", DocumentTest_suite()); runner.addTest("SiblingsTest", SiblingsTest_suite()); runner.addTest("ElementTest", ElementTest_suite()); runner.addTest("AttributeTest", AttrTest_suite >()); runner.addTest("ProcessingInstructionTest", ProcessingInstructionTest_suite()); runner.addTest("TextTest", TextTest_suite()); runner.addTest("CDATATest", CDATATest_suite()); runner.addTest("CharacterDataText", CharacterDataTest_suite()); runner.addTest("DocumentFragmentTest", DocumentFragmentTest_suite()); runner.addTest("SAX2DOMTest", SAXTest_suite()); runner.run(argc, argv); return 0; } // main // end of file