From 209f0b2fd9310f503d4599b12483fddc04d1f7dd Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Thu, 8 May 2014 20:14:35 +0200 Subject: Removed gtest based test cases and added program options * selectively testing document construction in plain C++ code has turned out to be more work than worth it ** i.e. removed test cases and GTest dependency * added boost::program_options based frontent to InputXSLT ** example command: "./test --transformation ../dummy/transform.xsl --target out.xml" ** the plan is to use a simple shell script that generated test transformations and compares the output to reference files --- src/function/read_directory.h | 3 +++ src/function/read_file.h | 3 +++ src/function/read_xml_file.h | 3 +++ 3 files changed, 9 insertions(+) (limited to 'src') diff --git a/src/function/read_directory.h b/src/function/read_directory.h index d34a80a..85e7f1b 100644 --- a/src/function/read_directory.h +++ b/src/function/read_directory.h @@ -9,6 +9,9 @@ class FunctionReadDirectory : public FunctionBase { public: using FunctionBase::FunctionBase; + protected: + friend FunctionBase; + xercesc::DOMDocument* constructDocument( const FilesystemContext&, const boost::filesystem::path& diff --git a/src/function/read_file.h b/src/function/read_file.h index b89263e..b581ee5 100644 --- a/src/function/read_file.h +++ b/src/function/read_file.h @@ -9,6 +9,9 @@ class FunctionReadFile : public FunctionBase { public: using FunctionBase::FunctionBase; + protected: + friend FunctionBase; + xercesc::DOMDocument* constructDocument( const FilesystemContext&, const boost::filesystem::path& diff --git a/src/function/read_xml_file.h b/src/function/read_xml_file.h index b1d165d..4aebe56 100644 --- a/src/function/read_xml_file.h +++ b/src/function/read_xml_file.h @@ -9,6 +9,9 @@ class FunctionReadXmlFile : public FunctionBase { public: using FunctionBase::FunctionBase; + protected: + friend FunctionBase; + xercesc::DOMDocument* constructDocument( const FilesystemContext&, const boost::filesystem::path& -- cgit v1.2.3