mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-29 22:23:27 +01:00
68 lines
2.7 KiB
C++
Executable file
68 lines
2.7 KiB
C++
Executable file
|
|
#pragma warning(disable : 4250)
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
#include <sstream>
|
|
|
|
#include <SAX/InputSource.hpp>
|
|
#include <DOM/SAX2DOM/SAX2DOM.hpp>
|
|
#include <XSLT/XSLT.hpp>
|
|
|
|
///////////////////////////////////////////////
|
|
#include "../CppUnit/TestRunner.hpp"
|
|
#include "../CppUnit/framework/Test.h"
|
|
#include "../CppUnit/framework/TestCase.h"
|
|
#include "../CppUnit/framework/TestSuite.h"
|
|
|
|
// #include "scope_test.hpp"
|
|
#include "xslt_test.hpp"
|
|
|
|
typedef std::string string_type;
|
|
typedef Arabica::default_string_adaptor<std::string> string_adaptor;
|
|
|
|
int main(int argc, const char* argv[])
|
|
{
|
|
TestRunner runner;
|
|
|
|
// runner.addTest("ScopeTest", ScopeTest_suite<string_type, string_adaptor>());
|
|
|
|
//runner.addTest("attribset", XSLTTest_suite("attribset"));
|
|
runner.addTest("attribvaltemplate", XSLTTest_suite("attribvaltemplate"));
|
|
runner.addTest("axes", XSLTTest_suite("axes"));
|
|
runner.addTest("boolean", XSLTTest_suite("boolean"));
|
|
runner.addTest("conditional", XSLTTest_suite("conditional"));
|
|
runner.addTest("conflictres", XSLTTest_suite("conflictres"));
|
|
runner.addTest("copy", XSLTTest_suite("copy"));
|
|
runner.addTest("dflt", XSLTTest_suite("dflt"));
|
|
runner.addTest("expression", XSLTTest_suite("expression"));
|
|
runner.addTest("extend", XSLTTest_suite("extend"));
|
|
//runner.addTest("idkey", XSLTTest_suite("idkey"));
|
|
runner.addTest("impincl", XSLTTest_suite("impincl"));
|
|
runner.addTest("lre", XSLTTest_suite("lre"));
|
|
runner.addTest("match", XSLTTest_suite("match"));
|
|
runner.addTest("math", XSLTTest_suite("math"));
|
|
runner.addTest("mdocs", XSLTTest_suite("mdocs"));
|
|
runner.addTest("message", XSLTTest_suite("message"));
|
|
runner.addTest("modes", XSLTTest_suite("modes"));
|
|
runner.addTest("namedtemplate", XSLTTest_suite("namedtemplate"));
|
|
runner.addTest("namespace", XSLTTest_suite("namespace"));
|
|
runner.addTest("node", XSLTTest_suite("node"));
|
|
//runner.addTest("numberformat", XSLTTest_suite("numberformat"));
|
|
//runner.addTest("numbering", XSLTTest_suite("numbering"));
|
|
runner.addTest("output", XSLTTest_suite("output"));
|
|
runner.addTest("position", XSLTTest_suite("position"));
|
|
runner.addTest("predicate", XSLTTest_suite("predicate"));
|
|
runner.addTest("processorinfo", XSLTTest_suite("processorinfo"));
|
|
runner.addTest("reluri", XSLTTest_suite("reluri"));
|
|
runner.addTest("select", XSLTTest_suite("select"));
|
|
runner.addTest("sort", XSLTTest_suite("sort"));
|
|
runner.addTest("string", XSLTTest_suite("string"));
|
|
runner.addTest("variable", XSLTTest_suite("variable"));
|
|
runner.addTest("ver", XSLTTest_suite("ver"));
|
|
runner.addTest("whitespace", XSLTTest_suite("whitespace"));
|
|
|
|
runner.run(argc, argv);
|
|
|
|
return 0;
|
|
} // test_suite
|