mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
whitespace changes
This commit is contained in:
parent
d63b9a504c
commit
887e4d9003
1 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@
|
||||||
#include <Utils/normalize_whitespace.hpp>
|
#include <Utils/normalize_whitespace.hpp>
|
||||||
|
|
||||||
#ifdef ARABICA_WINDOWS
|
#ifdef ARABICA_WINDOWS
|
||||||
const std::string PATH_PREFIX="../test/XSLT/testsuite/TESTS/";
|
const std::string PATH_PREFIX="../tests/XSLT/testsuite/TESTS/";
|
||||||
const std::string SEPERATOR = "/";
|
const std::string SEPERATOR = "/";
|
||||||
#else
|
#else
|
||||||
const std::string PATH_PREFIX="testsuite/TESTS/";
|
const std::string PATH_PREFIX="testsuite/TESTS/";
|
||||||
|
@ -60,7 +60,7 @@ public:
|
||||||
} // SkipTest
|
} // SkipTest
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void runTest()
|
virtual void runTest()
|
||||||
{
|
{
|
||||||
throw SkipException(reason_);
|
throw SkipException(reason_);
|
||||||
} // runTest
|
} // runTest
|
||||||
|
@ -80,7 +80,7 @@ public:
|
||||||
} // CompileFailsTest
|
} // CompileFailsTest
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void runTest()
|
virtual void runTest()
|
||||||
{
|
{
|
||||||
Arabica::XSLT::StylesheetCompiler compiler;
|
Arabica::XSLT::StylesheetCompiler compiler;
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ public:
|
||||||
} // RunFailsTest
|
} // RunFailsTest
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void runTest()
|
virtual void runTest()
|
||||||
{
|
{
|
||||||
Arabica::XSLT::StylesheetCompiler compiler;
|
Arabica::XSLT::StylesheetCompiler compiler;
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ public:
|
||||||
} // StandardXSLTTest
|
} // StandardXSLTTest
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void runTest()
|
virtual void runTest()
|
||||||
{
|
{
|
||||||
Arabica::XSLT::StylesheetCompiler compiler;
|
Arabica::XSLT::StylesheetCompiler compiler;
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ protected:
|
||||||
{
|
{
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
ss << node;
|
ss << node;
|
||||||
return Arabica::string::normalize_whitespace<std::string, Arabica::default_string_adaptor<std::string> >(ss.str());
|
return Arabica::string::normalize_whitespace<std::string, Arabica::default_string_adaptor<std::string> >(ss.str());
|
||||||
} // docToString
|
} // docToString
|
||||||
|
|
||||||
void stripWhitespace(DOM::Node<std::string> doc)
|
void stripWhitespace(DOM::Node<std::string> doc)
|
||||||
|
|
Loading…
Reference in a new issue