#ifdef _MSC_VER #pragma warning(disable: 4786 4250 4503) #endif #include #include #include #include #include #include #include "../CppUnit/TestRunner.hpp" #include "../CppUnit/framework/Test.h" #include "../CppUnit/framework/TestSuite.h" #include "test_SAX.h" #include "test_TreeWalker.hpp" #include "../silly_string/silly_string.hpp" //////////////////////////////////////////////// int main(int argc, const char* argv[]) { TestRunner runner; runner.addTest("SAX2DOMTest", SAXTest_suite >()); runner.addTest("TreeWalkerTest", TreeWalkerTest_suite >()); runner.addTest("SAX2DOMTest_silly", SAXTest_suite()); runner.addTest("TreeWalkerTest_silly", TreeWalkerTest_suite()); #ifndef ARABICA_NO_WCHAR_T runner.addTest("SAX2DOMTest_wide", SAXTest_suite >()); runner.addTest("TreeWalkerTest_wide", TreeWalkerTest_suite >()); #else std::cout << "No wchar_t tests on this platform :)" << std::endl; #endif runner.run(argc, argv); return 0; } // main // end of file