2002-11-23 20:50:14 +01:00
|
|
|
#ifdef _MSC_VER
|
2002-06-21 13:16:28 +02:00
|
|
|
#pragma warning(disable: 4786 4250 4503)
|
2002-11-23 20:50:14 +01:00
|
|
|
#endif
|
2002-06-21 13:16:28 +02:00
|
|
|
#include <iostream>
|
|
|
|
#include <string>
|
|
|
|
#include <DOM/SAX2DOM/SAX2DOM.h>
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
|
|
|
|
2005-10-23 23:22:38 +02:00
|
|
|
#include "../CppUnit/TestRunner.hpp"
|
2005-08-07 22:45:21 +02:00
|
|
|
#include "../CppUnit/framework/Test.h"
|
|
|
|
#include "../CppUnit/framework/TestSuite.h"
|
2002-06-21 13:16:28 +02:00
|
|
|
|
2002-09-03 15:26:08 +02:00
|
|
|
#include "test_SAX.h"
|
2005-11-15 17:16:46 +01:00
|
|
|
#include "../silly_string/silly_string.hpp"
|
2002-06-21 13:16:28 +02:00
|
|
|
|
|
|
|
////////////////////////////////////////////////
|
2005-10-31 13:07:30 +01:00
|
|
|
int main(int argc, const char* argv[])
|
2002-06-21 13:16:28 +02:00
|
|
|
{
|
|
|
|
TestRunner runner;
|
|
|
|
|
2005-11-15 17:16:46 +01:00
|
|
|
runner.addTest("SAX2DOMTest", SAXTest_suite<std::string, Arabica::default_string_adaptor<std::string> >());
|
|
|
|
runner.addTest("SAX2DOMTest_silly", SAXTest_suite<silly_string, silly_string_adaptor>());
|
2005-11-25 16:54:08 +01:00
|
|
|
#ifndef ARABICA_NO_WCHAR_T
|
2005-11-15 17:16:46 +01:00
|
|
|
runner.addTest("SAX2DOMTest_wide", SAXTest_suite<std::wstring, Arabica::default_string_adaptor<std::wstring> >());
|
2005-11-25 16:54:08 +01:00
|
|
|
#endif
|
2002-06-21 13:16:28 +02:00
|
|
|
runner.run(argc, argv);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
} // main
|
|
|
|
|
|
|
|
// end of file
|