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 ++ 12 files changed, 371 insertions(+) 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 (limited to 'testdata/integration/osxml') 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 @@ + + + + + + + + -- cgit v1.2.3