From b593ecdd3486f4541c0bcd68beec9146d78813a2 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Wed, 1 Apr 2015 23:34:18 +0200 Subject: Add first integration tests * "poem" contains a nice use case for user defined syntax that still needs to be implemented (indent and dedent as open/close tag) * "simple_short_token" triggers a non-deterministic bug that is not caught by valgrind * "wikilike" contains various user defined syntax tests as well as the not yet implemented per-field user defined syntax --- .../user_defined_syntax/simple_short_token.in.osml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 testdata/integration/user_defined_syntax/simple_short_token.in.osml (limited to 'testdata/integration/user_defined_syntax/simple_short_token.in.osml') diff --git a/testdata/integration/user_defined_syntax/simple_short_token.in.osml b/testdata/integration/user_defined_syntax/simple_short_token.in.osml new file mode 100644 index 0000000..ef12a98 --- /dev/null +++ b/testdata/integration/user_defined_syntax/simple_short_token.in.osml @@ -0,0 +1,17 @@ +\document +\ontology#test{ + \struct#a[root=true] + \field + \childRef[ref=b] + \childRef[ref=c] + \struct#b + \syntax + \short{!=} + \struct#c + \syntax + \short{=} +} + +\begin{a} += +\end{a} -- cgit v1.2.3