summaryrefslogtreecommitdiff
path: root/testdata/osmlparser
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-03 20:20:59 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-03-03 20:20:59 +0100
commitec758436a01903ded6ec5951fa1fc5d2fe062239 (patch)
tree4dd95626d1efce4bf8cd8c0f6bb7fda8d6a6b968 /testdata/osmlparser
parent42c0480b4fbf80afa0c5b13650a0af74311d7202 (diff)
Added unit tests for annotation handling
Diffstat (limited to 'testdata/osmlparser')
-rw-r--r--testdata/osmlparser/simple_annotation.osml17
1 files changed, 17 insertions, 0 deletions
diff --git a/testdata/osmlparser/simple_annotation.osml b/testdata/osmlparser/simple_annotation.osml
new file mode 100644
index 0000000..55e1c08
--- /dev/null
+++ b/testdata/osmlparser/simple_annotation.osml
@@ -0,0 +1,17 @@
+\begin{document}
+
+\ontology#testOntology
+ \struct#test[root=true]
+ \field
+ \childRef[ref=a]
+ \struct#a[transparent=true]
+ \primitive[type=string]
+ \annotation#comment
+ \primitive[type=string]
+
+\begin{test}
+This is a <\comment{Not a nice test!}test\> for annotations.
+\end{test}
+
+\end{document}
+