From ea75789a02ed70d0cfa131ec615e2776f605d7dc Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Wed, 8 Apr 2015 12:30:13 +0200 Subject: finished transforming the more sophisticated osxml tests to integration tests. --- testdata/integration/osxml/complex_book.in.osxml | 107 +++++++++++++ testdata/integration/osxml/complex_book.osxml | 107 ------------- testdata/integration/osxml/complex_book.out.osxml | 165 +++++++++++++++++++++ .../integration/osxml/simple_annotation.in.osxml | 10 ++ testdata/integration/osxml/simple_annotation.osxml | 10 -- .../integration/osxml/simple_annotation.out.osxml | 19 +++ 6 files changed, 301 insertions(+), 117 deletions(-) create mode 100644 testdata/integration/osxml/complex_book.in.osxml delete mode 100644 testdata/integration/osxml/complex_book.osxml create mode 100644 testdata/integration/osxml/complex_book.out.osxml create mode 100644 testdata/integration/osxml/simple_annotation.in.osxml delete mode 100644 testdata/integration/osxml/simple_annotation.osxml create mode 100644 testdata/integration/osxml/simple_annotation.out.osxml diff --git a/testdata/integration/osxml/complex_book.in.osxml b/testdata/integration/osxml/complex_book.in.osxml new file mode 100644 index 0000000..8eb5f26 --- /dev/null +++ b/testdata/integration/osxml/complex_book.in.osxml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + Immanuel + Kant + [ikant,philo.albertus-koenigsberg,de] + [Logic and Metaphysics, Faculty of Philosophy, Albertus-University Königsberg] + + [1,0,0] + + + + + Dezember-Heft + Berlinische Monatsschrift + 1784 + {481-494} + + + Kleine Schriften + + Immanuel + Kant + + 1793 + {34-50} + Neuwied + + + Zerstreute Aufsätze + + Immanuel + Kant + + 1793 + {25-37} + Frankfurt und Leipzig + + + Sämmtliche kleine Schriften + + Immanuel + Kant + + 1798 + {159-172} + Königsberg u. Leipzig + + + I. Kant's vermischte Schriften + + Immanuel + Kant + + 1799 + {687-700} + Halle + + + Vorzügliche kleine Schriften und Aufsätze + + Immanuel + Kant + + 1833 + {75-84} + Leipzig + + + + + Beantwortung der Frage: Was ist Aufklärung? + + + + Was ist Aufklärung? + + Aufklärung ist der Ausgang des Menschen aus seiner + selbstverschuldeten Unmündigkeit. +
    + Unmündigkeit ist + das Unvermögen, sich seines Verstandes ohne Leitung eines anderen zu + bedienen. + Selbstverschuldet + ist diese Unmündigkeit, wenn die Ursache derselben nicht am Mangel + des Verstandes, sondern der Entschließung und des Mutes liegt, sich + seiner ohne Leitung eines andern zu bedienen. +
+ Sapere aude! Habe Mut, dich deines + eigenen Verstandes zu bedienen! ist also der Wahlspruch der + Aufklärung. +
+
+
diff --git a/testdata/integration/osxml/complex_book.osxml b/testdata/integration/osxml/complex_book.osxml deleted file mode 100644 index 8eb5f26..0000000 --- a/testdata/integration/osxml/complex_book.osxml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - Immanuel - Kant - [ikant,philo.albertus-koenigsberg,de] - [Logic and Metaphysics, Faculty of Philosophy, Albertus-University Königsberg] - - [1,0,0] - - - - - Dezember-Heft - Berlinische Monatsschrift - 1784 - {481-494} - - - Kleine Schriften - - Immanuel - Kant - - 1793 - {34-50} - Neuwied - - - Zerstreute Aufsätze - - Immanuel - Kant - - 1793 - {25-37} - Frankfurt und Leipzig - - - Sämmtliche kleine Schriften - - Immanuel - Kant - - 1798 - {159-172} - Königsberg u. Leipzig - - - I. Kant's vermischte Schriften - - Immanuel - Kant - - 1799 - {687-700} - Halle - - - Vorzügliche kleine Schriften und Aufsätze - - Immanuel - Kant - - 1833 - {75-84} - Leipzig - - - - - Beantwortung der Frage: Was ist Aufklärung? - - - - Was ist Aufklärung? - - Aufklärung ist der Ausgang des Menschen aus seiner - selbstverschuldeten Unmündigkeit. -
    - Unmündigkeit ist - das Unvermögen, sich seines Verstandes ohne Leitung eines anderen zu - bedienen. - Selbstverschuldet - ist diese Unmündigkeit, wenn die Ursache derselben nicht am Mangel - des Verstandes, sondern der Entschließung und des Mutes liegt, sich - seiner ohne Leitung eines andern zu bedienen. -
- Sapere aude! Habe Mut, dich deines - eigenen Verstandes zu bedienen! ist also der Wahlspruch der - Aufklärung. -
-
-
diff --git a/testdata/integration/osxml/complex_book.out.osxml b/testdata/integration/osxml/complex_book.out.osxml new file mode 100644 index 0000000..17c40d1 --- /dev/null +++ b/testdata/integration/osxml/complex_book.out.osxml @@ -0,0 +1,165 @@ + + + + + + + + + + + + + Beantwortung der Frage: Was ist Aufklärung? + + + + + + + Immanuel + + Kant + [ + "domainName"= "philo.albertus-koenigsberg", + "domainSuffix"= "de", + "local"= "ikant" +] + [ + "departement"= "Faculty of Philosophy", + "institution"= "Albertus-University Königsberg", + "workgroup"= "Logic and Metaphysics" +] + + + [ + "major"= 1, + "minor"= 0, + "patch"= 0 +] + + + + + + Dezember-Heft + Berlinische Monatsschrift + 1784 + {481-494} + + + Kleine Schriften + + + Immanuel + + Kant + + + + + 1793 + {34-50} + Neuwied + + + Zerstreute Aufsätze + + + Immanuel + + Kant + + + + + 1793 + {25-37} + Frankfurt und Leipzig + + + Sämmtliche kleine Schriften + + + Immanuel + + Kant + + + + + 1798 + {159-172} + Königsberg u. Leipzig + + + I. Kant's vermischte Schriften + + + Immanuel + + Kant + + + + + 1799 + {687-700} + Halle + + + Vorzügliche kleine Schriften und Aufsätze + + + Immanuel + + Kant + + + + + 1833 + {75-84} + Leipzig + + + + + + + Was ist Aufklärung? + + + + + + + Aufklärung ist der Ausgang des Menschen aus seiner selbstverschuldeten Unmündigkeit + + . + + + + + + Unmündigkeit + + ist das Unvermögen, sich seines Verstandes ohne Leitung eines anderen zu bedienen. + + + + Selbstverschuldet + + ist diese Unmündigkeit, wenn die Ursache derselben nicht am Mangel des Verstandes, sondern der Entschließung und des Mutes liegt, sich seiner ohne Leitung eines andern zu bedienen. + + + + + + Sapere aude! + + Habe Mut, dich deines eigenen Verstandes zu bedienen! ist also der Wahlspruch der Aufklärung. + + + + diff --git a/testdata/integration/osxml/simple_annotation.in.osxml b/testdata/integration/osxml/simple_annotation.in.osxml new file mode 100644 index 0000000..c0f426a --- /dev/null +++ b/testdata/integration/osxml/simple_annotation.in.osxml @@ -0,0 +1,10 @@ + + + + + + + This is a This is not a nice test!test. + + + diff --git a/testdata/integration/osxml/simple_annotation.osxml b/testdata/integration/osxml/simple_annotation.osxml deleted file mode 100644 index c0f426a..0000000 --- a/testdata/integration/osxml/simple_annotation.osxml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - This is a This is not a nice test!test. - - - diff --git a/testdata/integration/osxml/simple_annotation.out.osxml b/testdata/integration/osxml/simple_annotation.out.osxml new file mode 100644 index 0000000..f4999f6 --- /dev/null +++ b/testdata/integration/osxml/simple_annotation.out.osxml @@ -0,0 +1,19 @@ + + + + + + + This is a + + + + This is not a nice test! + + + test + + . + + + -- cgit v1.2.3