diff options
author | Adrian Kummerländer | 2014-05-08 20:14:35 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-08 20:14:35 +0200 |
commit | 209f0b2fd9310f503d4599b12483fddc04d1f7dd (patch) | |
tree | 6ef70e3d00871ecd122db6e3bce7db6e5477f1f9 /src/function | |
parent | 168537848c7317f81ba44d0986e6cd7da2afb976 (diff) | |
download | InputXSLT-209f0b2fd9310f503d4599b12483fddc04d1f7dd.tar InputXSLT-209f0b2fd9310f503d4599b12483fddc04d1f7dd.tar.gz InputXSLT-209f0b2fd9310f503d4599b12483fddc04d1f7dd.tar.bz2 InputXSLT-209f0b2fd9310f503d4599b12483fddc04d1f7dd.tar.lz InputXSLT-209f0b2fd9310f503d4599b12483fddc04d1f7dd.tar.xz InputXSLT-209f0b2fd9310f503d4599b12483fddc04d1f7dd.tar.zst InputXSLT-209f0b2fd9310f503d4599b12483fddc04d1f7dd.zip |
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
Diffstat (limited to 'src/function')
-rw-r--r-- | src/function/read_directory.h | 3 | ||||
-rw-r--r-- | src/function/read_file.h | 3 | ||||
-rw-r--r-- | src/function/read_xml_file.h | 3 |
3 files changed, 9 insertions, 0 deletions
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<FunctionReadDirectory> { public: using FunctionBase<FunctionReadDirectory>::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<FunctionReadFile> { public: using FunctionBase<FunctionReadFile>::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<FunctionReadXmlFile> { public: using FunctionBase<FunctionReadXmlFile>::FunctionBase; + protected: + friend FunctionBase; + xercesc::DOMDocument* constructDocument( const FilesystemContext&, const boost::filesystem::path& |