aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/citation
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-11-03 19:42:49 -0700
committerBryan Newbold <bnewbold@archive.org>2021-11-03 19:42:49 -0700
commit8c7fcc943bc217bf456362b9e205910623974fd0 (patch)
tree065fc21894d650e0cb7abe85cdeb633acc031527 /tests/files/citation
parent7439ade08f185eaa6ac44b8ab509a8d3c047d574 (diff)
downloadgrobid_tei_xml-8c7fcc943bc217bf456362b9e205910623974fd0.tar.gz
grobid_tei_xml-8c7fcc943bc217bf456362b9e205910623974fd0.zip
move test files into sub-directories
Diffstat (limited to 'tests/files/citation')
-rw-r--r--tests/files/citation/emdash.tei.xml20
-rw-r--r--tests/files/citation/empty.tei.xml6
-rw-r--r--tests/files/citation/empty_unstructured.tei.xml7
3 files changed, 33 insertions, 0 deletions
diff --git a/tests/files/citation/emdash.tei.xml b/tests/files/citation/emdash.tei.xml
new file mode 100644
index 0000000..846085c
--- /dev/null
+++ b/tests/files/citation/emdash.tei.xml
@@ -0,0 +1,20 @@
+<biblStruct >
+ <analytic>
+ <title level="a" type="main">A world of individuals</title>
+ <author>
+ <persName>
+ <forename type="first">N</forename>
+ <surname>Goodman</surname>
+ </persName>
+ </author>
+ </analytic>
+ <monogr>
+ <title level="m">Problems and projects</title>
+ <imprint>
+ <date type="published" when="1972">1972</date>
+ <biblScope unit="page" from="155" to="172" />
+ </imprint>
+ </monogr>
+ <note type="raw_reference">Goodman, N. (1972). A world of individuals. In Problems and projects (pp. 155–172). Bobs-Merrill company.</note>
+</biblStruct>
+
diff --git a/tests/files/citation/empty.tei.xml b/tests/files/citation/empty.tei.xml
new file mode 100644
index 0000000..cb21f6e
--- /dev/null
+++ b/tests/files/citation/empty.tei.xml
@@ -0,0 +1,6 @@
+<biblStruct >
+ <monogr>
+ <title/>
+ <imprint/>
+ </monogr>
+</biblStruct>
diff --git a/tests/files/citation/empty_unstructured.tei.xml b/tests/files/citation/empty_unstructured.tei.xml
new file mode 100644
index 0000000..35aee19
--- /dev/null
+++ b/tests/files/citation/empty_unstructured.tei.xml
@@ -0,0 +1,7 @@
+<biblStruct >
+ <monogr>
+ <title/>
+ <imprint/>
+ </monogr>
+ <note type="raw_reference">blah</note>
+</biblStruct>