From ec758436a01903ded6ec5951fa1fc5d2fe062239 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 3 Mar 2015 20:20:59 +0100 Subject: Added unit tests for annotation handling --- testdata/osmlparser/simple_annotation.osml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 testdata/osmlparser/simple_annotation.osml (limited to 'testdata/osmlparser') 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} + -- cgit v1.2.3