aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-01 20:54:02 +0200
committerAdrian Kummerlaender2014-07-01 20:54:02 +0200
commit784ac42a0f05608e3d9c5e15246dbf76ce9e3d51 (patch)
treed06531455b788c5e04551bd28800d5c3971c2b1d /test
parent2becbedf4cb779b56578e495293b850ff05b738f (diff)
downloadInputXSLT-784ac42a0f05608e3d9c5e15246dbf76ce9e3d51.tar
InputXSLT-784ac42a0f05608e3d9c5e15246dbf76ce9e3d51.tar.gz
InputXSLT-784ac42a0f05608e3d9c5e15246dbf76ce9e3d51.tar.bz2
InputXSLT-784ac42a0f05608e3d9c5e15246dbf76ce9e3d51.tar.lz
InputXSLT-784ac42a0f05608e3d9c5e15246dbf76ce9e3d51.tar.xz
InputXSLT-784ac42a0f05608e3d9c5e15246dbf76ce9e3d51.tar.zst
InputXSLT-784ac42a0f05608e3d9c5e15246dbf76ce9e3d51.zip
Removed unnecessary template member methods from TranformationFacade
* neither the constructor nor the generate member methods need to be templatized ** only supported "output" argument is now a reference to a "std::basic_ostream<char>" instance ** the caller is responsible for e.g. writing the output to disk * this was done to simplify the basic interface of InputXSLT * removed "default_params" testcase along with default parameter generation ** this feature is neither used nor required
Diffstat (limited to 'test')
-rw-r--r--test/default_params/reference.xml5
-rw-r--r--test/default_params/transformation.xsl23
-rw-r--r--test/read_directory/reference.xml3
3 files changed, 0 insertions, 31 deletions
diff --git a/test/default_params/reference.xml b/test/default_params/reference.xml
deleted file mode 100644
index 566064b..0000000
--- a/test/default_params/reference.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<test_case>
-<target_file>actual.xml</target_file>
-<parent_directory>default_params</parent_directory>
-</test_case>
diff --git a/test/default_params/transformation.xsl b/test/default_params/transformation.xsl
deleted file mode 100644
index 54cf57e..0000000
--- a/test/default_params/transformation.xsl
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:InputXSLT="function.inputxslt.application"
- exclude-result-prefixes="InputXSLT"
->
-
-<xsl:import href="[testcase.xsl]"/>
-
-<xsl:param name="target-file"/>
-<xsl:param name="parent-directory"/>
-
-<xsl:template name="implementation">
- <target_file>
- <xsl:value-of select="$target-file"/>
- </target_file>
- <parent_directory>
- <xsl:value-of select="$parent-directory"/>
- </parent_directory>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/test/read_directory/reference.xml b/test/read_directory/reference.xml
index b2eac35..7d63a85 100644
--- a/test/read_directory/reference.xml
+++ b/test/read_directory/reference.xml
@@ -11,9 +11,6 @@
<name>common</name>
</item>
<item type="directory">
-<name>default_params</name>
-</item>
-<item type="directory">
<name>external_text_formatter</name>
</item>
<item type="directory">