+ Prism does its best to encourage good authoring practices. Therefore,it only
+ works with <code> elements, since marking upcode
+ without a <code> element is semantically invalid.According
+ to the HTML5 spec, the recommended way to define a code language is a language-xxxx
+ class, which is what Prism uses. Alternatively, Prism also supports a shorter version: lang-xxxx.
+
+
+ To make things easier however, Prism assumes that this language definition is
+ inherited. Therefore, if multiple <code> elements have
+ the same language, you can add the language-xxxx class on one
+ of their common ancestors. This way, you can also define a document-wide
+ default language, by adding a language-xxxx class on the <body>
+ or <html> element.
+
+
+ If you want to opt-out of highlighting for a <code>
+ element that is a descendant of an element with a declared code language, you
+ can add the class language-none to it (or any non-existing
+ language, really).
+
+
+ The recommended
+ way to mark up a code block (both for semantics and for Prism) is a <pre>
+ element with a <code> element inside, like so:
+
+ <pre><code class="language-css">p { color: red }</code></pre>
+
+ If you use that pattern, the <pre> will automatically get
+ the language-xxxx class (if it doesn’t already have it) and
+ will be styled as a code block.
+
+
+ If you want to prevent any elements from being automatically highlighted, you
+ can use the attribute data-manual on the <script>
+ element you used for prism and use the API. Example:
+
+
+ Usage with Webpack, Browserify, & Other Bundlers
+
+ If you want to use Prism with a bundler, install Prism with npm:
+
+ $ npm install prismjs
+
+ You can then import into your bundle
+
+ import Prism from 'prismjs';
+
+ To make it easy to configure your Prism instance with only thelanguages and
+ plugins you need, use the babel plugin, babel-plugin-prismjs.
+ This will allow you to load the minimum number of languages and plugins to
+ satisfy your needs. See that plugin's documentation for configuration details
+
+
+
+
diff --git a/test/create-xliff1-glossentry/build.xml b/test/create-xliff1-glossentry/build.xml
new file mode 100644
index 0000000..e8a69c8
--- /dev/null
+++ b/test/create-xliff1-glossentry/build.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+ Expect that a DITA glossentry can be transformed into an XLIFF 1.2 file
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff1-glossentry/document.ditamap b/test/create-xliff1-glossentry/document.ditamap
new file mode 100644
index 0000000..8a6ffd3
--- /dev/null
+++ b/test/create-xliff1-glossentry/document.ditamap
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff1-glossentry/expected.xlf b/test/create-xliff1-glossentry/expected.xlf
new file mode 100644
index 0000000..c580c17
--- /dev/null
+++ b/test/create-xliff1-glossentry/expected.xlf
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff1-glossentry/glossary.dita b/test/create-xliff1-glossentry/glossary.dita
new file mode 100644
index 0000000..bc10203
--- /dev/null
+++ b/test/create-xliff1-glossentry/glossary.dita
@@ -0,0 +1,7 @@
+
+
+
+ Mnemonics
+ Mnemonics are keywords by which each
+ of the instrument's subsystems is referred to.
+
\ No newline at end of file
diff --git a/test/create-xliff1-glossentry/test.properties b/test/create-xliff1-glossentry/test.properties
new file mode 100644
index 0000000..5103fc5
--- /dev/null
+++ b/test/create-xliff1-glossentry/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=1
\ No newline at end of file
diff --git a/test/create-xliff1-text/build.xml b/test/create-xliff1-text/build.xml
new file mode 100644
index 0000000..fdfc9e1
--- /dev/null
+++ b/test/create-xliff1-text/build.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Expect that simple DITA texts can be transformed into an XLIFF 1.2 file
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff1-text/document.ditamap b/test/create-xliff1-text/document.ditamap
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/create-xliff1-text/document.ditamap
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff1-text/expected.xlf b/test/create-xliff1-text/expected.xlf
new file mode 100644
index 0000000..dacdcb6
--- /dev/null
+++ b/test/create-xliff1-text/expected.xlf
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff1-text/test.properties b/test/create-xliff1-text/test.properties
new file mode 100644
index 0000000..5103fc5
--- /dev/null
+++ b/test/create-xliff1-text/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=1
\ No newline at end of file
diff --git a/test/create-xliff1-text/topic.dita b/test/create-xliff1-text/topic.dita
new file mode 100644
index 0000000..8123b10
--- /dev/null
+++ b/test/create-xliff1-text/topic.dita
@@ -0,0 +1,19 @@
+
+ Cicero
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff1-translate-no/notranslate-sub-topic.dita b/test/create-xliff1-translate-no/notranslate-sub-topic.dita
new file mode 100644
index 0000000..ba6e677
--- /dev/null
+++ b/test/create-xliff1-translate-no/notranslate-sub-topic.dita
@@ -0,0 +1,28 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff1-translate-no/notranslate.topic.dita b/test/create-xliff1-translate-no/notranslate.topic.dita
new file mode 100644
index 0000000..c598422
--- /dev/null
+++ b/test/create-xliff1-translate-no/notranslate.topic.dita
@@ -0,0 +1,28 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff1-translate-no/test.properties b/test/create-xliff1-translate-no/test.properties
new file mode 100644
index 0000000..5103fc5
--- /dev/null
+++ b/test/create-xliff1-translate-no/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=1
\ No newline at end of file
diff --git a/test/create-xliff1-translate-no/topic.dita b/test/create-xliff1-translate-no/topic.dita
new file mode 100644
index 0000000..f0e2d96
--- /dev/null
+++ b/test/create-xliff1-translate-no/topic.dita
@@ -0,0 +1,28 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
+
diff --git a/test/create-xliff1-translate-yes/build.xml b/test/create-xliff1-translate-yes/build.xml
new file mode 100644
index 0000000..bf1dbf6
--- /dev/null
+++ b/test/create-xliff1-translate-yes/build.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+ Expect that DITA block elements with translate='yes' are included in XLIFF 1.2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff1-translate-yes/document.ditamap b/test/create-xliff1-translate-yes/document.ditamap
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/create-xliff1-translate-yes/document.ditamap
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff1-translate-yes/expected.xlf b/test/create-xliff1-translate-yes/expected.xlf
new file mode 100644
index 0000000..9bf03b4
--- /dev/null
+++ b/test/create-xliff1-translate-yes/expected.xlf
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff1-translate-yes/test.properties b/test/create-xliff1-translate-yes/test.properties
new file mode 100644
index 0000000..5103fc5
--- /dev/null
+++ b/test/create-xliff1-translate-yes/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=1
\ No newline at end of file
diff --git a/test/create-xliff1-translate-yes/topic.dita b/test/create-xliff1-translate-yes/topic.dita
new file mode 100644
index 0000000..a4c84f1
--- /dev/null
+++ b/test/create-xliff1-translate-yes/topic.dita
@@ -0,0 +1,15 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+ Loves or pursues or desires to obtain pain of itself,
+ because it is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+ Prism does its best to encourage good authoring practices. Therefore,it only
+ works with <code> elements, since marking upcode
+ without a <code> element is semantically invalid.According
+ to the HTML5 spec, the recommended way to define a code language is a language-xxxx
+ class, which is what Prism uses. Alternatively, Prism also supports a shorter version: lang-xxxx.
+
+
+ To make things easier however, Prism assumes that this language definition is
+ inherited. Therefore, if multiple <code> elements have
+ the same language, you can add the language-xxxx class on one
+ of their common ancestors. This way, you can also define a document-wide
+ default language, by adding a language-xxxx class on the <body>
+ or <html> element.
+
+
+ If you want to opt-out of highlighting for a <code>
+ element that is a descendant of an element with a declared code language, you
+ can add the class language-none to it (or any non-existing
+ language, really).
+
+
+ The recommended
+ way to mark up a code block (both for semantics and for Prism) is a <pre>
+ element with a <code> element inside, like so:
+
+ <pre><code class="language-css">p { color: red }</code></pre>
+
+ If you use that pattern, the <pre> will automatically get
+ the language-xxxx class (if it doesn’t already have it) and
+ will be styled as a code block.
+
+
+ If you want to prevent any elements from being automatically highlighted, you
+ can use the attribute data-manual on the <script>
+ element you used for prism and use the API. Example:
+
+
+ Usage with Webpack, Browserify, & Other Bundlers
+
+ If you want to use Prism with a bundler, install Prism with npm:
+
+ $ npm install prismjs
+
+ You can then import into your bundle
+
+ import Prism from 'prismjs';
+
+ To make it easy to configure your Prism instance with only thelanguages and
+ plugins you need, use the babel plugin, babel-plugin-prismjs.
+ This will allow you to load the minimum number of languages and plugins to
+ satisfy your needs. See that plugin's documentation for configuration details
+
+
+
+
diff --git a/test/create-xliff2-glossentry/build.xml b/test/create-xliff2-glossentry/build.xml
new file mode 100644
index 0000000..bbe0e99
--- /dev/null
+++ b/test/create-xliff2-glossentry/build.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+ Expect that simple DITA glossentry can be transformed into an XLIFF 2.1 file
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-glossentry/document.ditamap b/test/create-xliff2-glossentry/document.ditamap
new file mode 100644
index 0000000..8a6ffd3
--- /dev/null
+++ b/test/create-xliff2-glossentry/document.ditamap
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff2-glossentry/expected.xlf b/test/create-xliff2-glossentry/expected.xlf
new file mode 100644
index 0000000..8c9a094
--- /dev/null
+++ b/test/create-xliff2-glossentry/expected.xlf
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <term>
+ </term>
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-glossentry/glossary.dita b/test/create-xliff2-glossentry/glossary.dita
new file mode 100644
index 0000000..bc10203
--- /dev/null
+++ b/test/create-xliff2-glossentry/glossary.dita
@@ -0,0 +1,7 @@
+
+
+
+ Mnemonics
+ Mnemonics are keywords by which each
+ of the instrument's subsystems is referred to.
+
\ No newline at end of file
diff --git a/test/create-xliff2-glossentry/test.properties b/test/create-xliff2-glossentry/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/create-xliff2-glossentry/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/create-xliff2-text/build.xml b/test/create-xliff2-text/build.xml
new file mode 100644
index 0000000..9d659e1
--- /dev/null
+++ b/test/create-xliff2-text/build.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Expect that simple DITA texts can be transformed into an XLIFF 2.1 file
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-text/document.ditamap b/test/create-xliff2-text/document.ditamap
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/create-xliff2-text/document.ditamap
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff2-text/expected.xlf b/test/create-xliff2-text/expected.xlf
new file mode 100644
index 0000000..1cf42b3
--- /dev/null
+++ b/test/create-xliff2-text/expected.xlf
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-text/test.properties b/test/create-xliff2-text/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/create-xliff2-text/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/create-xliff2-text/topic.dita b/test/create-xliff2-text/topic.dita
new file mode 100644
index 0000000..8123b10
--- /dev/null
+++ b/test/create-xliff2-text/topic.dita
@@ -0,0 +1,19 @@
+
+ Cicero
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff2-translate-no/notranslate-sub-topic.dita b/test/create-xliff2-translate-no/notranslate-sub-topic.dita
new file mode 100644
index 0000000..ba6e677
--- /dev/null
+++ b/test/create-xliff2-translate-no/notranslate-sub-topic.dita
@@ -0,0 +1,28 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff2-translate-no/notranslate.topic.dita b/test/create-xliff2-translate-no/notranslate.topic.dita
new file mode 100644
index 0000000..c598422
--- /dev/null
+++ b/test/create-xliff2-translate-no/notranslate.topic.dita
@@ -0,0 +1,28 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff2-translate-no/test.properties b/test/create-xliff2-translate-no/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/create-xliff2-translate-no/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/create-xliff2-translate-no/topic.dita b/test/create-xliff2-translate-no/topic.dita
new file mode 100644
index 0000000..f0e2d96
--- /dev/null
+++ b/test/create-xliff2-translate-no/topic.dita
@@ -0,0 +1,28 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
+
diff --git a/test/create-xliff2-translate-yes/build.xml b/test/create-xliff2-translate-yes/build.xml
new file mode 100644
index 0000000..752de43
--- /dev/null
+++ b/test/create-xliff2-translate-yes/build.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+ Expect that DITA block elements with translate='yes' are included in XLIFF 2.1
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-translate-yes/document.ditamap b/test/create-xliff2-translate-yes/document.ditamap
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/create-xliff2-translate-yes/document.ditamap
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff2-translate-yes/expected.xlf b/test/create-xliff2-translate-yes/expected.xlf
new file mode 100644
index 0000000..d2d62dc
--- /dev/null
+++ b/test/create-xliff2-translate-yes/expected.xlf
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <term translate="yes" xml:lang="la">
+ </term>
+
+
+
+
+
+
+
+
+ <codeph translate="yes">
+ </codeph>
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-translate-yes/test.properties b/test/create-xliff2-translate-yes/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/create-xliff2-translate-yes/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/create-xliff2-translate-yes/topic.dita b/test/create-xliff2-translate-yes/topic.dita
new file mode 100644
index 0000000..a4c84f1
--- /dev/null
+++ b/test/create-xliff2-translate-yes/topic.dita
@@ -0,0 +1,15 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of Lorem Ipsum:
+
+
+ Loves or pursues or desires to obtain pain of itself,
+ because it is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+
diff --git a/test/create-xliff2-ul-li-p/build.xml b/test/create-xliff2-ul-li-p/build.xml
new file mode 100644
index 0000000..c44bead
--- /dev/null
+++ b/test/create-xliff2-ul-li-p/build.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+ Expect that DITA with a p inside a li can be transformed into an XLIFF 2.0 file
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-ul-li-p/document.ditamap b/test/create-xliff2-ul-li-p/document.ditamap
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/create-xliff2-ul-li-p/document.ditamap
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/create-xliff2-ul-li-p/expected.xlf b/test/create-xliff2-ul-li-p/expected.xlf
new file mode 100644
index 0000000..b0339a2
--- /dev/null
+++ b/test/create-xliff2-ul-li-p/expected.xlf
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <b>
+ </b>
+
+
+
+
+
+
+ <p>
+ </p>
+ <p>
+ </p>
+
+
+
+
+
+
+
+
+
diff --git a/test/create-xliff2-ul-li-p/test.properties b/test/create-xliff2-ul-li-p/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/create-xliff2-ul-li-p/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/create-xliff2-ul-li-p/topic.dita b/test/create-xliff2-ul-li-p/topic.dita
new file mode 100644
index 0000000..f27b514
--- /dev/null
+++ b/test/create-xliff2-ul-li-p/topic.dita
@@ -0,0 +1,28 @@
+
+
+
+ Cicero
+
+
+ The following lines are the origin of "Lorem Ipsum":
+
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
+
+
diff --git a/test/deepl-response/build.xml b/test/deepl-response/build.xml
new file mode 100644
index 0000000..7cfd324
--- /dev/null
+++ b/test/deepl-response/build.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+ Expect that Deepl translations can be read.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/deepl-response/expected.txt b/test/deepl-response/expected.txt
new file mode 100644
index 0000000..8095a18
--- /dev/null
+++ b/test/deepl-response/expected.txt
@@ -0,0 +1 @@
+Hallo, Welt!
diff --git a/test/deepl-response/response.json b/test/deepl-response/response.json
new file mode 100644
index 0000000..cda2ba3
--- /dev/null
+++ b/test/deepl-response/response.json
@@ -0,0 +1,6 @@
+{
+ "translations": [{
+ "detected_source_language":"EN",
+ "text":"Hallo, Welt!"
+ }]
+}
\ No newline at end of file
diff --git a/test/deepl-response/result.txt b/test/deepl-response/result.txt
new file mode 100644
index 0000000..4863a82
--- /dev/null
+++ b/test/deepl-response/result.txt
@@ -0,0 +1 @@
+你好, 你叫什么名字?
diff --git a/test/order.xsl b/test/order.xsl
new file mode 100644
index 0000000..acb5700
--- /dev/null
+++ b/test/order.xsl
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/preapproved-cache-xliff1/build.xml b/test/preapproved-cache-xliff1/build.xml
new file mode 100644
index 0000000..5a36d5f
--- /dev/null
+++ b/test/preapproved-cache-xliff1/build.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Expect that using a pre-exisiting XLIFF 1.2 cache will pre-populate translations
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/preapproved-cache-xliff1/document.ditamap b/test/preapproved-cache-xliff1/document.ditamap
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/preapproved-cache-xliff1/document.ditamap
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/preapproved-cache-xliff1/expected.xlf b/test/preapproved-cache-xliff1/expected.xlf
new file mode 100644
index 0000000..0503a72
--- /dev/null
+++ b/test/preapproved-cache-xliff1/expected.xlf
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cicero
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/preapproved-cache-xliff1/test.properties b/test/preapproved-cache-xliff1/test.properties
new file mode 100644
index 0000000..1386cc5
--- /dev/null
+++ b/test/preapproved-cache-xliff1/test.properties
@@ -0,0 +1,2 @@
+translate.cachefile=/Users/jasonfox/Workspace/dita/dita-ot-3.6/plugins/fox.jason.translate.xliff/test/preapproved-cache-xliff1/translate-cache.xlf
+xliff.version=1
\ No newline at end of file
diff --git a/test/preapproved-cache-xliff1/topic.dita b/test/preapproved-cache-xliff1/topic.dita
new file mode 100644
index 0000000..8123b10
--- /dev/null
+++ b/test/preapproved-cache-xliff1/topic.dita
@@ -0,0 +1,19 @@
+
+ Cicero
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
\ No newline at end of file
diff --git a/test/preapproved-cache-xliff1/translate-cache.xlf b/test/preapproved-cache-xliff1/translate-cache.xlf
new file mode 100644
index 0000000..6023d2a
--- /dev/null
+++ b/test/preapproved-cache-xliff1/translate-cache.xlf
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cicero
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
diff --git a/test/preapproved-cache-xliff2/build.xml b/test/preapproved-cache-xliff2/build.xml
new file mode 100644
index 0000000..c056df4
--- /dev/null
+++ b/test/preapproved-cache-xliff2/build.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Expect that using a pre-exisiting XLIFF 2.1 cache will pre-populate translations
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/preapproved-cache-xliff2/document.ditamap b/test/preapproved-cache-xliff2/document.ditamap
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/preapproved-cache-xliff2/document.ditamap
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/preapproved-cache-xliff2/expected.xlf b/test/preapproved-cache-xliff2/expected.xlf
new file mode 100644
index 0000000..193bf36
--- /dev/null
+++ b/test/preapproved-cache-xliff2/expected.xlf
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+ Cicero
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/preapproved-cache-xliff2/test.properties b/test/preapproved-cache-xliff2/test.properties
new file mode 100644
index 0000000..e93772c
--- /dev/null
+++ b/test/preapproved-cache-xliff2/test.properties
@@ -0,0 +1,2 @@
+translate.cachefile=/Users/jasonfox/Workspace/dita/dita-ot-3.5/plugins/fox.jason.translate.xliff/test/preapproved-cache-xliff2/translate-cache.xlf
+xliff.version=2
\ No newline at end of file
diff --git a/test/preapproved-cache-xliff2/topic.dita b/test/preapproved-cache-xliff2/topic.dita
new file mode 100644
index 0000000..8123b10
--- /dev/null
+++ b/test/preapproved-cache-xliff2/topic.dita
@@ -0,0 +1,19 @@
+
+ Cicero
+
+
+ Loves or pursues or desires to obtain pain of itself, because it
+ is pain, but occasionally circumstances occur in which toil and
+ pain can procure him some great pleasure.
+
+
+ To take a trivial example, which of us ever undertakes laborious
+ physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to
+ enjoy a pleasure that has no annoying consequences, or one who
+ avoids a pain that produces no resultant pleasure?
+
+
+
\ No newline at end of file
diff --git a/test/preapproved-cache-xliff2/translate-cache.xlf b/test/preapproved-cache-xliff2/translate-cache.xlf
new file mode 100644
index 0000000..5b79401
--- /dev/null
+++ b/test/preapproved-cache-xliff2/translate-cache.xlf
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+ Cicero
+
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/watson-response/build.xml b/test/watson-response/build.xml
new file mode 100644
index 0000000..5674b86
--- /dev/null
+++ b/test/watson-response/build.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+ Expect that Watson translations can be read.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/watson-response/expected.txt b/test/watson-response/expected.txt
new file mode 100644
index 0000000..a19abfe
--- /dev/null
+++ b/test/watson-response/expected.txt
@@ -0,0 +1 @@
+Hola
diff --git a/test/watson-response/response.json b/test/watson-response/response.json
new file mode 100644
index 0000000..4b4b649
--- /dev/null
+++ b/test/watson-response/response.json
@@ -0,0 +1,9 @@
+{
+ "translations": [
+ {
+ "translation": "Hola"
+ }
+ ],
+ "word_count": 1,
+ "character_count": 5
+}
\ No newline at end of file
diff --git a/test/watson-response/result.txt b/test/watson-response/result.txt
new file mode 100644
index 0000000..4863a82
--- /dev/null
+++ b/test/watson-response/result.txt
@@ -0,0 +1 @@
+你好, 你叫什么名字?
diff --git a/test/xliff1-dita-embedded/build.xml b/test/xliff1-dita-embedded/build.xml
new file mode 100644
index 0000000..d35a841
--- /dev/null
+++ b/test/xliff1-dita-embedded/build.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Expect that skeletons + XLIFF 1.0 with embedded elements can be used to create DITA
+
+
+
+
+
+
+
+
diff --git a/test/xliff1-dita-embedded/expected.dita b/test/xliff1-dita-embedded/expected.dita
new file mode 100644
index 0000000..0959d92
--- /dev/null
+++ b/test/xliff1-dita-embedded/expected.dita
@@ -0,0 +1,56 @@
+
+
+
+
+ Grundnutzung
+
+
Sie Wird Sie müssen die und prism.css prism.js die Autorendateien , die Sie heruntergeladen haben, auf Ihrer Seite einfügen. beispiel:
Prism tut sein Bestes, um bewährte Praktiken zu fördern. Daher funktioniert es nur mit < Code > Elementen, da das Markieren von Code ohne < Code > Element semantisch ungültig ist. Laut der HTML5-Spezifikation ist die language-xxxx empfohlene Methode, eine Code-Sprache zu definieren, eine Klasse, die Prism verwendet. Alternativ unterstützt Prism auch eine kürzere Version: lang-xxxx .
+
Um die Sache zu erleichtern, geht Prism jedoch davon aus, dass diese Sprachdefinition vererbt wird. Wenn also <code> mehrere Elemente die gleiche Sprache haben, können Sie die language-xxxx Klasse auf einem ihrer gemeinsamen Vorfahren hinzufügen. Auf diese Weise können Sie auch eine dokumentweite Standardsprache definieren, indem Sie eine language-xxxx Klasse auf dem <body> oder <html> Element hinzufügen.
+
Wenn Sie sich gegen die <code> Hervorhebung eines Elements entscheiden wollen, das ein Nachkomme eines Elements mit einer deklarierten Code-Sprache ist, können Sie die Klasse language-none dazu hinzufügen (oder eine nicht existierende Sprache, wirklich).
+
Die empfohlene Methode, einen Code-Block zu markieren (sowohl für die Semantik als auch für <pre> die Prisma), ist ein Element mit einem <code> Element im Inneren, wie es so ist:
+ <pre><code class="language-css">p { color: red }</code></pre>
+
Wenn Sie dieses Muster verwenden, erhält <pre> der language-xxxx Kurs automatisch die Klasse (wenn sie es nicht bereits hat) und wird als Codeblock gestylt.
+
Wenn Sie verhindern wollen, dass Elemente automatisch hervorgehoben werden, können Sie das Attribut data-manual auf dem <script> Element verwenden, das Sie für Prisma verwendet haben, und die API verwenden. beispiel:
+ <script src="prism.js" data-manual></script>
+
+ Einsatz mit Webpack, Browserify, & Andere Bundler
+
Wenn Sie Prism mit einem Bundler verwenden wollen, installieren Sie Prism mit npm :
+ $ npm install prismjs
+
Sie können dann import in Ihr Bündel einsteigen:
+ import Prism from 'prismjs';
+
Um es einfach zu machen, Ihre Prism-Instanz mit nur den Sprachen und Plugins zu konfigurieren, die Sie benötigen, verwenden Sie das Babel-Plugin, Babel-Plugin-prismjs . Auf diese Weise können Sie die Mindestanzahl an Sprachen und Plugins laden, um Ihre Bedürfnisse zu erfüllen. Sehen Sie sich die Dokumentation des Plugins an, um die Konfigurationsdetails zu erfahren.
+
+
+ Einsatz mit Knoten
+
Wenn Sie Prism auf dem Server oder über die Kommandozeile verwenden wollen, kann Prism auch mit Node.js verwendet werden. Dies könnte nützlich sein, wenn Sie versuchen, statische HTML-Seiten mit hervorgehobenem Code für Umgebungen zu generieren, die keine Browser-side-JS unterstützen, wie AMP-Seiten .
+
beispiel:
+ var Prism = require('prismjs');
+// The code snippet you want to highlight, as a string
+var code = "var data = 1;";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.javascript, 'javascript');
+
Wenn prismjs Sie eine Anfrage stellen wollen, werden die markup Standardsprachen: javascript , css clike und geladen. Sie können mehr Sprachen mit dem loadLanguages() Programm laden, das automatisch die erforderlichen Abhängigkeiten bearbeitet.
+
beispiel:
+ var Prism = require('prismjs');
+var loadLanguages = require('prismjs/components/');
+loadLanguages(['haml']);
+// The code snippet you want to highlight, as a string
+var code = "= ['hi', 'there', 'reader!'].join \" \"";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.haml, 'haml');
+
Hinweis : Verwenden Sie loadLanguages() nicht mit Webpack oder einem anderen Bundler, da dies dazu führt, dass Webpack alle Sprachen und Plugins einschließt. Verwenden Sie das oben beschriebene Babel-Plugin.
+
+
+
diff --git a/test/xliff1-dita-embedded/skl/document.ditamap.skl b/test/xliff1-dita-embedded/skl/document.ditamap.skl
new file mode 100644
index 0000000..b74e228
--- /dev/null
+++ b/test/xliff1-dita-embedded/skl/document.ditamap.skl
@@ -0,0 +1,40 @@
+
+
+
+
+
+ Books about stuff
+ A book about one thing
+
+
+ @@@42094@@@
+ Jane
+
+ Example Publishers
+ Austin, TX
+
+
+
+ 1977
+
+
+
+
+
+ 1994
+
+
+ 2006
+
+
+ OASIS
+
+
+
+
+
+ prismjs
+
+
+
+
\ No newline at end of file
diff --git a/test/xliff1-dita-embedded/skl/topic.dita.skl b/test/xliff1-dita-embedded/skl/topic.dita.skl
new file mode 100644
index 0000000..c00128f
--- /dev/null
+++ b/test/xliff1-dita-embedded/skl/topic.dita.skl
@@ -0,0 +1,56 @@
+
+
+
+
+ @@@59931@@@
+
+
+ var Prism = require('prismjs');
+// The code snippet you want to highlight, as a string
+var code = "var data = 1;";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.javascript, 'javascript');
+
@@@14934@@@
+
@@@60425@@@
+ var Prism = require('prismjs');
+var loadLanguages = require('prismjs/components/');
+loadLanguages(['haml']);
+// The code snippet you want to highlight, as a string
+var code = "= ['hi', 'there', 'reader!'].join \" \"";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.haml, 'haml');
+
@@@34183@@@
+
+
+
\ No newline at end of file
diff --git a/test/xliff1-dita-embedded/test.properties b/test/xliff1-dita-embedded/test.properties
new file mode 100644
index 0000000..5103fc5
--- /dev/null
+++ b/test/xliff1-dita-embedded/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=1
\ No newline at end of file
diff --git a/test/xliff1-dita-embedded/translate.xlf b/test/xliff1-dita-embedded/translate.xlf
new file mode 100644
index 0000000..76f5335
--- /dev/null
+++ b/test/xliff1-dita-embedded/translate.xlf
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+ Dies ist ein generisches Thema, das darauf abzielt, Unterthemen an verschiedenen Orten zu testen. Es sollte immer von einem Element des Thrones aus erwähnt werden; Spezielle Elemente in diesem Test erhalten ihre OWN, ganz besondere Themen.
+
+
+
+
+
+
+
+
+
+
+ Grundnutzung
+
+
+ SieWirdSie müssen die und prism.css prism.js die Autorendateien , die Sie heruntergeladen haben, auf Ihrer Seite einfügen. beispiel:
+
+
+
+
+ Prism tut sein Bestes, um bewährte Praktiken zu fördern. Daher funktioniert es nur mit < Code > Elementen, da das Markieren von Code ohne < Code > Element semantisch ungültig ist. Laut der HTML5-Spezifikation ist die language-xxxx empfohlene Methode, eine Code-Sprache zu definieren, eine Klasse, die Prism verwendet. Alternativ unterstützt Prism auch eine kürzere Version: lang-xxxx .
+
+ Um die Sache zu erleichtern, geht Prism jedoch davon aus, dass diese Sprachdefinition vererbt wird. Wenn also <code> mehrere Elemente die gleiche Sprache haben, können Sie die language-xxxx Klasse auf einem ihrer gemeinsamen Vorfahren hinzufügen. Auf diese Weise können Sie auch eine dokumentweite Standardsprache definieren, indem Sie eine language-xxxx Klasse auf dem <body> oder <html> Element hinzufügen.
+
+ Wenn Sie sich gegen die <code> Hervorhebung eines Elements entscheiden wollen, das ein Nachkomme eines Elements mit einer deklarierten Code-Sprache ist, können Sie die Klasse language-none dazu hinzufügen (oder eine nicht existierende Sprache, wirklich).
+
+ Die empfohlene Methode, einen Code-Block zu markieren (sowohl für die Semantik als auch für <pre> die Prisma), ist ein Element mit einem <code> Element im Inneren, wie es so ist:
+
+ Wenn Sie dieses Muster verwenden, erhält <pre> der language-xxxx Kurs automatisch die Klasse (wenn sie es nicht bereits hat) und wird als Codeblock gestylt.
+
+ Wenn Sie verhindern wollen, dass Elemente automatisch hervorgehoben werden, können Sie das Attribut data-manual auf dem <script> Element verwenden, das Sie für Prisma verwendet haben, und die API verwenden. beispiel:
+
+ Einsatz mit Webpack, Browserify, & Andere Bundler
+
+ Wenn Sie Prism mit einem Bundler verwenden wollen, installieren Sie Prism mit npm :
+
+ Sie können dann import in Ihr Bündel einsteigen:
+
+ Um es einfach zu machen, Ihre Prism-Instanz mit nur den Sprachen und Plugins zu konfigurieren, die Sie benötigen, verwenden Sie das Babel-Plugin, Babel-Plugin-prismjs . Auf diese Weise können Sie die Mindestanzahl an Sprachen und Plugins laden, um Ihre Bedürfnisse zu erfüllen. Sehen Sie sich die Dokumentation des Plugins an, um die Konfigurationsdetails zu erfahren.
+
+ Einsatz mit Knoten
+
+ Wenn Sie Prism auf dem Server oder über die Kommandozeile verwenden wollen, kann Prism auch mit Node.js verwendet werden. Dies könnte nützlich sein, wenn Sie versuchen, statische HTML-Seiten mit hervorgehobenem Code für Umgebungen zu generieren, die keine Browser-side-JS unterstützen, wie AMP-Seiten .
+
+ beispiel:
+
+ Wenn prismjs Sie eine Anfrage stellen wollen, werden die markup Standardsprachen: javascript , css clike und geladen. Sie können mehr Sprachen mit dem loadLanguages() Programm laden, das automatisch die erforderlichen Abhängigkeiten bearbeitet.
+
+ beispiel:
+
+
+ Hinweis : Verwenden Sie loadLanguages() nicht mit Webpack oder einem anderen Bundler, da dies dazu führt, dass Webpack alle Sprachen und Plugins einschließt. Verwenden Sie das oben beschriebene Babel-Plugin.
+
+
+
+
diff --git a/test/xliff1-dita/build.xml b/test/xliff1-dita/build.xml
new file mode 100644
index 0000000..7c045d0
--- /dev/null
+++ b/test/xliff1-dita/build.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Expect that skeletons + XLIFF 1.2 can be used to create DITA
+
+
+
+
+
+
+
+
diff --git a/test/xliff1-dita/expected.dita b/test/xliff1-dita/expected.dita
new file mode 100644
index 0000000..a787223
--- /dev/null
+++ b/test/xliff1-dita/expected.dita
@@ -0,0 +1,10 @@
+
+
+
+ Cicero
+
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+
diff --git a/test/xliff1-dita/skl/document.ditamap.skl b/test/xliff1-dita/skl/document.ditamap.skl
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/xliff1-dita/skl/document.ditamap.skl
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/xliff1-dita/skl/topic.dita.skl b/test/xliff1-dita/skl/topic.dita.skl
new file mode 100644
index 0000000..a19d1a5
--- /dev/null
+++ b/test/xliff1-dita/skl/topic.dita.skl
@@ -0,0 +1,10 @@
+
+
+
+ @@@46167@@@
+
+
@@@54947@@@
+
@@@9962@@@
+
@@@19770@@@
+
+
\ No newline at end of file
diff --git a/test/xliff1-dita/test.properties b/test/xliff1-dita/test.properties
new file mode 100644
index 0000000..5103fc5
--- /dev/null
+++ b/test/xliff1-dita/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=1
\ No newline at end of file
diff --git a/test/xliff1-dita/translate.xlf b/test/xliff1-dita/translate.xlf
new file mode 100644
index 0000000..2b7f565
--- /dev/null
+++ b/test/xliff1-dita/translate.xlf
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cicero
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
+ nisi ut aliquip ex ea commodo consequat.
+
+ Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+ cupidatat non proident, sunt in culpa qui officia deserunt mollit
+ anim id est laborum.
+
+
+
+
diff --git a/test/xliff1-translate/build.xml b/test/xliff1-translate/build.xml
new file mode 100644
index 0000000..b43df5d
--- /dev/null
+++ b/test/xliff1-translate/build.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Expect that a translation service can populate unapproved translations for XLIFF 1.2
+
+
+
+
+
+
+
+
diff --git a/test/xliff1-translate/expected.xlf b/test/xliff1-translate/expected.xlf
new file mode 100644
index 0000000..bc8703e
--- /dev/null
+++ b/test/xliff1-translate/expected.xlf
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Cicero
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+ To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it?
+
+
+
+ But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?
+
+
+
+
+
diff --git a/test/xliff1-translate/test.properties b/test/xliff1-translate/test.properties
new file mode 100644
index 0000000..5103fc5
--- /dev/null
+++ b/test/xliff1-translate/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=1
\ No newline at end of file
diff --git a/test/xliff1-translate/translate.xlf b/test/xliff1-translate/translate.xlf
new file mode 100644
index 0000000..bc8703e
--- /dev/null
+++ b/test/xliff1-translate/translate.xlf
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Cicero
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+ To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it?
+
+
+
+ But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?
+
+
+
+
+
diff --git a/test/xliff1-translate/xliff-no-translations.xml b/test/xliff1-translate/xliff-no-translations.xml
new file mode 100644
index 0000000..b7169b6
--- /dev/null
+++ b/test/xliff1-translate/xliff-no-translations.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cicero
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+
diff --git a/test/xliff2-dita-embedded/build.xml b/test/xliff2-dita-embedded/build.xml
new file mode 100644
index 0000000..7f4596f
--- /dev/null
+++ b/test/xliff2-dita-embedded/build.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Expect that skeletons + XLIFF 2.1 with embedded elements can be used to create DITA
+
+
+
+
+
+
+
+
diff --git a/test/xliff2-dita-embedded/expected.dita b/test/xliff2-dita-embedded/expected.dita
new file mode 100644
index 0000000..1036984
--- /dev/null
+++ b/test/xliff2-dita-embedded/expected.dita
@@ -0,0 +1,56 @@
+
+
+
+
+ Grundsätzliche Verwendung
+
+
PRISMA tut sein bestes, um bewährte Praktiken zu fördern. Daher funktioniert es nur mit <code> Elemente, da die Auszeichnung von code ohne <code> element ist semantisch ungültig. Gemäß der HTML5-Spezifikation die empfohlene Art und Weise zu definieren, die eine code-Sprache ist eine Sprache-xxxx Klasse, das ist das, was Prism verwendet. Alternativ PRISMA unterstützt auch eine kürzere version: lang-xxxx .
+
Dinge einfacher zu machen, jedoch PRISMA geht davon aus, dass diese Sprache-definition vererbt wird. Daher, wenn mehrere <code> Elemente haben die gleiche Sprache, können Sie die Sprache-xxxx Klasse auf einem Ihrer gemeinsamen Vorfahren. Auf diese Weise können Sie auch definieren ein Dokument-weiten Standard-Sprache ist, indem Sie ein Sprache-xxxx Klasse auf dem <body> oder <html> element.
+
Wenn Sie wollen opt-out-highlighting für eine <code> element, das ein Nachfahre eines Elements mit einem deklarierten code-Sprache, die Sie hinzufügen können, die Klasse Sprache-keine um es (oder nicht vorhandenen Sprache, wirklich).
+
Die empfohlene Methode zur Markierung einen code-block (sowohl für die Semantik und für PRISMA) ist ein <pre> element mit einem <code> element im inneren, etwa so:
+ <pre><code class="language-css">p { color: red }</code></pre>
+
Wenn Sie das Muster, die <pre> erhalten automatisch den Sprache-xxxx Klasse (wenn es nicht bereits haben) und gestylt werden wie ein code-block.
+
Wenn Sie verhindern möchten, dass alle Elemente aus, die automatisch markiert ist, können Sie mithilfe der attribute Daten-Handbuch auf der <script> element, die Sie für prism und verwenden Sie die API . Beispiel:
+ <script src="prism.js" data-manual></script>
+
+ Verwendung mit Webpack, Browserify, & Andere Bundlers
+
Wenn Sie verwenden möchten PRISMA mit bundler installieren Sie PRISMA mit npm :
+ $ npm install prismjs
+
Sie können dann import in Ihr bündeln:
+ import Prism from 'prismjs';
+
Um es einfach zu konfigurieren Sie Ihre Prism-Instanz nur mit den Sprachen und plugins, die Sie benötigen, verwenden Sie den babel-plugin, babel-plugin-prismjs . Dies ermöglicht es Ihnen, laden Sie die minimale Anzahl von Sprachen und plugins, um Ihre Bedürfnisse zu befriedigen. Sehen, dass der plugin-Dokumentation für details zur Konfiguration.
+
+
+ Verwendung mit Knoten
+
Wenn Sie möchten, verwenden Sie Prism auf die server oder die über die Befehlszeile, PRISMA kann verwendet werden, mit Node.js wie gut. Dies kann nützlich sein, wenn Sie versuchen, generieren von statischen HTML-Seiten mit hervorgehobenen code für Umgebungen, die keine Unterstützung für browser-side JS, wie AMP Seiten .
+
Beispiel:
+ var Prism = require('prismjs');
+// The code snippet you want to highlight, as a string
+var code = "var data = 1;";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.javascript, 'javascript');
+
Erfordern prismjs lädt die Standard-Sprachen: markup , css , gleich und javascript . Laden Sie weitere Sprachen mit der loadLanguages() Dienstprogramm, das automatisch verarbeitet alle erforderlichen Abhängigkeiten.
+
Beispiel:
+ var Prism = require('prismjs');
+var loadLanguages = require('prismjs/components/');
+loadLanguages(['haml']);
+// The code snippet you want to highlight, as a string
+var code = "= ['hi', 'there', 'reader!'].join \" \"";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.haml, 'haml');
+
Hinweis : Tun nicht verwenden loadLanguages() mit Webpack oder anderen bundler, da dies dazu führen Webpack alle Sprachen und plugins. Verwenden Sie den babel-plugin wie oben beschrieben.
+
+
+
diff --git a/test/xliff2-dita-embedded/skl/document.ditamap.skl b/test/xliff2-dita-embedded/skl/document.ditamap.skl
new file mode 100644
index 0000000..70a3f51
--- /dev/null
+++ b/test/xliff2-dita-embedded/skl/document.ditamap.skl
@@ -0,0 +1,54 @@
+
+
+
+ @@@8585@@@
+
+
+
+
+
+
+
+
+
+
+ @@@12043@@@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/xliff2-dita-embedded/skl/topic.dita.skl b/test/xliff2-dita-embedded/skl/topic.dita.skl
new file mode 100644
index 0000000..c00128f
--- /dev/null
+++ b/test/xliff2-dita-embedded/skl/topic.dita.skl
@@ -0,0 +1,56 @@
+
+
+
+
+ @@@59931@@@
+
+
+ var Prism = require('prismjs');
+// The code snippet you want to highlight, as a string
+var code = "var data = 1;";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.javascript, 'javascript');
+
@@@14934@@@
+
@@@60425@@@
+ var Prism = require('prismjs');
+var loadLanguages = require('prismjs/components/');
+loadLanguages(['haml']);
+// The code snippet you want to highlight, as a string
+var code = "= ['hi', 'there', 'reader!'].join \" \"";
+// Returns a highlighted HTML string
+var html = Prism.highlight(code, Prism.languages.haml, 'haml');
+
@@@34183@@@
+
+
+
\ No newline at end of file
diff --git a/test/xliff2-dita-embedded/test.properties b/test/xliff2-dita-embedded/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/xliff2-dita-embedded/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/xliff2-dita-embedded/translate.xlf b/test/xliff2-dita-embedded/translate.xlf
new file mode 100644
index 0000000..ba67bbf
--- /dev/null
+++ b/test/xliff2-dita-embedded/translate.xlf
@@ -0,0 +1,467 @@
+
+
+
+
+
+
+
+ PRISMA JS-Plug-in
+
+
+
+
+
+
+ prismjs
+
+
+
+
+
+
+
+
+
+ Grundsätzliche Verwendung
+
+
+
+
+
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <ph xml:lang="de">
+ </ph>
+
+
+
+ Sie müssen die
+ prism.css
+ und
+ prism.js
+
+
+ authoring
+ Dateien, die Sie heruntergeladen haben, in Ihre Seite aufnehmen. Beispiel:
+
+
+
+
+
+ <b>
+ </b>
+ <i>
+ </i>
+ <xref format="html" scope="external" href="https://www.w3.org/TR/html52/textlevel-semantics.html#the-code-element">
+ </xref>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+
+
+
+ PRISMA tut sein bestes, um bewährte Praktiken zu fördern. Daher funktioniert es nur mit
+ <code>
+ Elemente, da die Auszeichnung von code ohne
+ <code>
+ element ist semantisch ungültig.
+ Gemäß der HTML5-Spezifikation
+ die empfohlene Art und Weise zu definieren, die eine code-Sprache ist eine
+ Sprache-xxxx
+ Klasse, das ist das, was Prism verwendet. Alternativ PRISMA unterstützt auch eine kürzere version:
+ lang-xxxx
+ .
+
+
+
+
+
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+
+
+
+ Dinge einfacher zu machen, jedoch PRISMA geht davon aus, dass diese Sprache-definition vererbt wird. Daher, wenn mehrere
+ <code>
+ Elemente haben die gleiche Sprache, können Sie die
+ Sprache-xxxx
+ Klasse auf einem Ihrer gemeinsamen Vorfahren. Auf diese Weise können Sie auch definieren ein Dokument-weiten Standard-Sprache ist, indem Sie ein
+ Sprache-xxxx
+ Klasse auf dem
+ <body>
+ oder
+ <html>
+ element.
+
+
+
+
+
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+
+
+
+ Wenn Sie wollen opt-out-highlighting für eine
+ <code>
+ element, das ein Nachfahre eines Elements mit einem deklarierten code-Sprache, die Sie hinzufügen können, die Klasse
+ Sprache-keine
+ um es (oder nicht vorhandenen Sprache, wirklich).
+
+
+
+
+
+ <xref format="html" scope="external" href="https://www.w3.org/TR/html5/grouping-content.html#the-pre-element">
+ </xref>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+
+
+
+ Die
+ empfohlene Methode zur Markierung einen code-block
+ (sowohl für die Semantik und für PRISMA) ist ein
+ <pre>
+ element mit einem
+ <code>
+ element im inneren, etwa so:
+
+
+
+
+
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+
+
+
+ Wenn Sie das Muster, die
+ <pre>
+ erhalten automatisch den
+ Sprache-xxxx
+ Klasse (wenn es nicht bereits haben) und gestylt werden wie ein code-block.
+
+
+
+
+
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <xref format="html" scope="external" href="https://prismjs.com/extending.html#api">
+ </xref>
+
+
+
+ Wenn Sie verhindern möchten, dass alle Elemente aus, die automatisch markiert ist, können Sie mithilfe der attribute
+ Daten-Handbuch
+ auf der
+ <script>
+ element, die Sie für prism und verwenden Sie die
+ API
+ . Beispiel:
+
+
+
+
+
+
+ Verwendung mit Webpack, Browserify, & Andere Bundlers
+
+
+
+
+
+ <codeph>
+ </codeph>
+
+
+
+ Wenn Sie verwenden möchten PRISMA mit bundler installieren Sie PRISMA mit
+ npm
+ :
+
+
+
+
+
+ <codeph outputclass="language-js">
+ </codeph>
+
+
+
+ Sie können dann
+ import
+ in Ihr bündeln:
+
+
+
+
+
+ <xref format="html" scope="external" href="https://github.com/mAAdhaTTah/babel-plugin-prismjs">
+ </xref>
+
+
+
+ Um es einfach zu konfigurieren Sie Ihre Prism-Instanz nur mit den Sprachen und plugins, die Sie benötigen, verwenden Sie den babel-plugin,
+ babel-plugin-prismjs
+ . Dies ermöglicht es Ihnen, laden Sie die minimale Anzahl von Sprachen und plugins, um Ihre Bedürfnisse zu befriedigen. Sehen, dass der plugin-Dokumentation für details zur Konfiguration.
+
+
+
+
+
+
+ Verwendung mit Knoten
+
+
+
+
+
+ <xref format="html" scope="external" href="https://www.ampproject.org/">
+ </xref>
+
+
+
+ Wenn Sie möchten, verwenden Sie Prism auf die server oder die über die Befehlszeile, PRISMA kann verwendet werden, mit Node.js wie gut. Dies kann nützlich sein, wenn Sie versuchen, generieren von statischen HTML-Seiten mit hervorgehobenen code für Umgebungen, die keine Unterstützung für browser-side JS, wie
+ AMP Seiten
+ .
+
+
+
+
+
+
+ Beispiel:
+
+
+
+
+
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <codeph>
+ </codeph>
+ <codeph outputclass="language-javascript">
+ </codeph>
+
+
+
+ Erfordern
+ prismjs
+ lädt die Standard-Sprachen:
+ markup
+ ,
+ css
+ ,
+ gleich
+ und
+ javascript
+ . Laden Sie weitere Sprachen mit der
+ loadLanguages()
+ Dienstprogramm, das automatisch verarbeitet alle erforderlichen Abhängigkeiten.
+
+
+
+
+
+
+ Beispiel:
+
+
+
+
+
+ <b>
+ </b>
+ <i>
+ </i>
+ <codeph outputclass="language-javascript">
+ </codeph>
+
+
+
+
+
+ Hinweis
+ : Tun
+ nicht
+ verwenden
+ loadLanguages()
+ mit Webpack oder anderen bundler, da dies dazu führen Webpack alle Sprachen und plugins. Verwenden Sie den babel-plugin wie oben beschrieben.
+
+
+
+
+
diff --git a/test/xliff2-dita/build.xml b/test/xliff2-dita/build.xml
new file mode 100644
index 0000000..2746dd1
--- /dev/null
+++ b/test/xliff2-dita/build.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Expect that skeletons + XLIFF 2.0 can be used to create DITA
+
+
+
+
+
+
+
+
diff --git a/test/xliff2-dita/expected.dita b/test/xliff2-dita/expected.dita
new file mode 100644
index 0000000..a787223
--- /dev/null
+++ b/test/xliff2-dita/expected.dita
@@ -0,0 +1,10 @@
+
+
+
+ Cicero
+
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+
diff --git a/test/xliff2-dita/skl/document.ditamap.skl b/test/xliff2-dita/skl/document.ditamap.skl
new file mode 100644
index 0000000..c643867
--- /dev/null
+++ b/test/xliff2-dita/skl/document.ditamap.skl
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/test/xliff2-dita/skl/topic.dita.skl b/test/xliff2-dita/skl/topic.dita.skl
new file mode 100644
index 0000000..a19d1a5
--- /dev/null
+++ b/test/xliff2-dita/skl/topic.dita.skl
@@ -0,0 +1,10 @@
+
+
+
+ @@@46167@@@
+
+
@@@54947@@@
+
@@@9962@@@
+
@@@19770@@@
+
+
\ No newline at end of file
diff --git a/test/xliff2-dita/test.properties b/test/xliff2-dita/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/xliff2-dita/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/xliff2-dita/translate.xlf b/test/xliff2-dita/translate.xlf
new file mode 100644
index 0000000..7148bdb
--- /dev/null
+++ b/test/xliff2-dita/translate.xlf
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+ Cicero
+
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+
+
+
+
+
+
+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
+
+
+
+
diff --git a/test/xliff2-translate/build.xml b/test/xliff2-translate/build.xml
new file mode 100644
index 0000000..1d27973
--- /dev/null
+++ b/test/xliff2-translate/build.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Expect that a translation service can populate unapproved translations for XLIFF 2.1
+
+
+
+
+
+
+
+
diff --git a/test/xliff2-translate/expected.xlf b/test/xliff2-translate/expected.xlf
new file mode 100644
index 0000000..6c6c2ea
--- /dev/null
+++ b/test/xliff2-translate/expected.xlf
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+ Cicero
+
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+ To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?
+
+
+
diff --git a/test/xliff2-translate/test.properties b/test/xliff2-translate/test.properties
new file mode 100644
index 0000000..6cacfe6
--- /dev/null
+++ b/test/xliff2-translate/test.properties
@@ -0,0 +1,2 @@
+translate.service=dummy
+xliff.version=2
\ No newline at end of file
diff --git a/test/xliff2-translate/translate.xlf b/test/xliff2-translate/translate.xlf
new file mode 100644
index 0000000..6c6c2ea
--- /dev/null
+++ b/test/xliff2-translate/translate.xlf
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+ Cicero
+
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+ To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it?
+
+
+ But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?
+
+
+
diff --git a/test/xliff2-translate/xliff-no-translations.xml b/test/xliff2-translate/xliff-no-translations.xml
new file mode 100644
index 0000000..5b79401
--- /dev/null
+++ b/test/xliff2-translate/xliff-no-translations.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+ Cicero
+
+
+
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/yandex-response/build.xml b/test/yandex-response/build.xml
new file mode 100644
index 0000000..0ee9fe7
--- /dev/null
+++ b/test/yandex-response/build.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+ Expect that Yandex translations can be read.
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/yandex-response/expected.txt b/test/yandex-response/expected.txt
new file mode 100644
index 0000000..f308173
--- /dev/null
+++ b/test/yandex-response/expected.txt
@@ -0,0 +1 @@
+Autolink URLs und E-Mails, verwenden Markdown-links in Kommentaren (erfordert plugin )
diff --git a/test/yandex-response/response.json b/test/yandex-response/response.json
new file mode 100644
index 0000000..0b27cb8
--- /dev/null
+++ b/test/yandex-response/response.json
@@ -0,0 +1,7 @@
+{
+ "code": 200,
+ "lang": "en-de",
+ "text": [
+ "Autolink URLs und E-Mails, verwenden Markdown-links in Kommentaren (erfordert plugin ) "
+ ]
+}
\ No newline at end of file
diff --git a/test/yandex-response/result.txt b/test/yandex-response/result.txt
new file mode 100644
index 0000000..4863a82
--- /dev/null
+++ b/test/yandex-response/result.txt
@@ -0,0 +1 @@
+你好, 你叫什么名字?