From 7a6c99c0b09377bca0b77d2918cf1e2092b3f59c Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Wed, 8 Apr 2015 12:20:19 +0200 Subject: refactored the more sophisticated OSXML parser tests to the integration test folder. --- .../integration/osxml/affiliation_typesystem.osxml | 10 ++ .../integration/osxml/bibliography_ontology.osxml | 42 ++++++++ testdata/integration/osxml/book_ontology.osxml | 35 +++++++ testdata/integration/osxml/comments_ontology.osxml | 40 ++++++++ testdata/integration/osxml/complex_book.osxml | 107 +++++++++++++++++++++ testdata/integration/osxml/email_typesystem.osxml | 8 ++ testdata/integration/osxml/emphasis_ontology.osxml | 5 + testdata/integration/osxml/headings_ontology.osxml | 33 +++++++ testdata/integration/osxml/lists_ontology.osxml | 24 +++++ testdata/integration/osxml/meta_ontology.osxml | 49 ++++++++++ testdata/integration/osxml/simple_annotation.osxml | 10 ++ .../integration/osxml/version_typesystem.osxml | 8 ++ testdata/osxmlparser/affiliation_typesystem.osxml | 10 -- testdata/osxmlparser/bibliography_ontology.osxml | 42 -------- testdata/osxmlparser/complex_book.osxml | 107 --------------------- testdata/osxmlparser/email_typesystem.osxml | 8 -- testdata/osxmlparser/emphasis_ontology.osxml | 5 - testdata/osxmlparser/lists_ontology.osxml | 24 ----- testdata/osxmlparser/meta_ontology.osxml | 49 ---------- testdata/osxmlparser/simple_annotation.osxml | 10 -- testdata/osxmlparser/version_typesystem.osxml | 8 -- 21 files changed, 371 insertions(+), 263 deletions(-) create mode 100644 testdata/integration/osxml/affiliation_typesystem.osxml create mode 100644 testdata/integration/osxml/bibliography_ontology.osxml create mode 100644 testdata/integration/osxml/book_ontology.osxml create mode 100644 testdata/integration/osxml/comments_ontology.osxml create mode 100644 testdata/integration/osxml/complex_book.osxml create mode 100644 testdata/integration/osxml/email_typesystem.osxml create mode 100644 testdata/integration/osxml/emphasis_ontology.osxml create mode 100644 testdata/integration/osxml/headings_ontology.osxml create mode 100644 testdata/integration/osxml/lists_ontology.osxml create mode 100644 testdata/integration/osxml/meta_ontology.osxml create mode 100644 testdata/integration/osxml/simple_annotation.osxml create mode 100644 testdata/integration/osxml/version_typesystem.osxml delete mode 100644 testdata/osxmlparser/affiliation_typesystem.osxml delete mode 100644 testdata/osxmlparser/bibliography_ontology.osxml delete mode 100644 testdata/osxmlparser/complex_book.osxml delete mode 100644 testdata/osxmlparser/email_typesystem.osxml delete mode 100644 testdata/osxmlparser/emphasis_ontology.osxml delete mode 100644 testdata/osxmlparser/lists_ontology.osxml delete mode 100644 testdata/osxmlparser/meta_ontology.osxml delete mode 100644 testdata/osxmlparser/simple_annotation.osxml delete mode 100644 testdata/osxmlparser/version_typesystem.osxml (limited to 'testdata') diff --git a/testdata/integration/osxml/affiliation_typesystem.osxml b/testdata/integration/osxml/affiliation_typesystem.osxml new file mode 100644 index 0000000..d84dc30 --- /dev/null +++ b/testdata/integration/osxml/affiliation_typesystem.osxml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/testdata/integration/osxml/bibliography_ontology.osxml b/testdata/integration/osxml/bibliography_ontology.osxml new file mode 100644 index 0000000..0333133 --- /dev/null +++ b/testdata/integration/osxml/bibliography_ontology.osxml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testdata/integration/osxml/book_ontology.osxml b/testdata/integration/osxml/book_ontology.osxml new file mode 100644 index 0000000..2c615ca --- /dev/null +++ b/testdata/integration/osxml/book_ontology.osxml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testdata/integration/osxml/comments_ontology.osxml b/testdata/integration/osxml/comments_ontology.osxml new file mode 100644 index 0000000..34185d8 --- /dev/null +++ b/testdata/integration/osxml/comments_ontology.osxml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testdata/integration/osxml/complex_book.osxml b/testdata/integration/osxml/complex_book.osxml new file mode 100644 index 0000000..8eb5f26 --- /dev/null +++ b/testdata/integration/osxml/complex_book.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/email_typesystem.osxml b/testdata/integration/osxml/email_typesystem.osxml new file mode 100644 index 0000000..325f89a --- /dev/null +++ b/testdata/integration/osxml/email_typesystem.osxml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/testdata/integration/osxml/emphasis_ontology.osxml b/testdata/integration/osxml/emphasis_ontology.osxml new file mode 100644 index 0000000..0fdd63a --- /dev/null +++ b/testdata/integration/osxml/emphasis_ontology.osxml @@ -0,0 +1,5 @@ + + + + + diff --git a/testdata/integration/osxml/headings_ontology.osxml b/testdata/integration/osxml/headings_ontology.osxml new file mode 100644 index 0000000..56c9e7d --- /dev/null +++ b/testdata/integration/osxml/headings_ontology.osxml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testdata/integration/osxml/lists_ontology.osxml b/testdata/integration/osxml/lists_ontology.osxml new file mode 100644 index 0000000..c18494a --- /dev/null +++ b/testdata/integration/osxml/lists_ontology.osxml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/testdata/integration/osxml/meta_ontology.osxml b/testdata/integration/osxml/meta_ontology.osxml new file mode 100644 index 0000000..eb392ce --- /dev/null +++ b/testdata/integration/osxml/meta_ontology.osxml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testdata/integration/osxml/simple_annotation.osxml b/testdata/integration/osxml/simple_annotation.osxml new file mode 100644 index 0000000..c0f426a --- /dev/null +++ b/testdata/integration/osxml/simple_annotation.osxml @@ -0,0 +1,10 @@ + + + + + + + This is a This is not a nice test!test. + + + diff --git a/testdata/integration/osxml/version_typesystem.osxml b/testdata/integration/osxml/version_typesystem.osxml new file mode 100644 index 0000000..0d52736 --- /dev/null +++ b/testdata/integration/osxml/version_typesystem.osxml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/testdata/osxmlparser/affiliation_typesystem.osxml b/testdata/osxmlparser/affiliation_typesystem.osxml deleted file mode 100644 index d84dc30..0000000 --- a/testdata/osxmlparser/affiliation_typesystem.osxml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/testdata/osxmlparser/bibliography_ontology.osxml b/testdata/osxmlparser/bibliography_ontology.osxml deleted file mode 100644 index 0333133..0000000 --- a/testdata/osxmlparser/bibliography_ontology.osxml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/testdata/osxmlparser/complex_book.osxml b/testdata/osxmlparser/complex_book.osxml deleted file mode 100644 index 8eb5f26..0000000 --- a/testdata/osxmlparser/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/osxmlparser/email_typesystem.osxml b/testdata/osxmlparser/email_typesystem.osxml deleted file mode 100644 index 325f89a..0000000 --- a/testdata/osxmlparser/email_typesystem.osxml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/testdata/osxmlparser/emphasis_ontology.osxml b/testdata/osxmlparser/emphasis_ontology.osxml deleted file mode 100644 index 0fdd63a..0000000 --- a/testdata/osxmlparser/emphasis_ontology.osxml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/testdata/osxmlparser/lists_ontology.osxml b/testdata/osxmlparser/lists_ontology.osxml deleted file mode 100644 index c18494a..0000000 --- a/testdata/osxmlparser/lists_ontology.osxml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/testdata/osxmlparser/meta_ontology.osxml b/testdata/osxmlparser/meta_ontology.osxml deleted file mode 100644 index eb392ce..0000000 --- a/testdata/osxmlparser/meta_ontology.osxml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/testdata/osxmlparser/simple_annotation.osxml b/testdata/osxmlparser/simple_annotation.osxml deleted file mode 100644 index c0f426a..0000000 --- a/testdata/osxmlparser/simple_annotation.osxml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - This is a This is not a nice test!test. - - - diff --git a/testdata/osxmlparser/version_typesystem.osxml b/testdata/osxmlparser/version_typesystem.osxml deleted file mode 100644 index 0d52736..0000000 --- a/testdata/osxmlparser/version_typesystem.osxml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - -- cgit v1.2.3