diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-01 23:34:18 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:29 +0200 |
commit | b593ecdd3486f4541c0bcd68beec9146d78813a2 (patch) | |
tree | e94a9429f90298119474516f22a28eb0afb99d3b /testdata/integration/user_defined_syntax/wikilike.out.osxml | |
parent | e03ab48ced82a1eddd3e99b6c34ed6dc617af0f6 (diff) |
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
Diffstat (limited to 'testdata/integration/user_defined_syntax/wikilike.out.osxml')
-rw-r--r-- | testdata/integration/user_defined_syntax/wikilike.out.osxml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testdata/integration/user_defined_syntax/wikilike.out.osxml b/testdata/integration/user_defined_syntax/wikilike.out.osxml new file mode 100644 index 0000000..7545997 --- /dev/null +++ b/testdata/integration/user_defined_syntax/wikilike.out.osxml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<document xmlns:book="book"> + <book:book> + <book:paragraph> + <book:text>== This tests somewhat plays with user defined syntax ==</book:text> + </book:paragraph> + <book:paragraph> + <book:text>As you</book:text> + <book:thought/> + <book:text>surely</book:text> + <book:thought/> + <book:text>can see, just the tiny</book:text> + <book:code> + <book:text>\syntax</book:text> + </book:code> + <book:text>definitions above make writing documents much easier.</book:text> + </book:paragraph> + <book:paragraph> + <book:text>For instance, this is a new paragraph.</book:text> + </book:paragraph> + <book:paragraph> + <book:text>And here goes another one.</book:text> + </book:paragraph> + <book:paragraph> + <book:text>All with the power of just adding</book:text> + <book:code> + <book:text>\close{\paragraph}</book:text> + </book:code> + <book:text>to the</book:text> + <book:code> + <book:text>\syntax</book:text> + </book:code> + <book:text>definition of the paragraph structure.</book:text> + </book:paragraph> + <book:paragraph> + <book:speech> + <book:text>Well, that's insane!</book:text> + </book:speech> + <book:text>, I hear you say. Right so! This indeed is insane.</book:text> + </book:paragraph> + <book:paragraph> + <book:text>== One last thing ==</book:text> + </book:paragraph> + <book:paragraph> + <book:text>Did you notice how we started sections here?</book:text> + </book:paragraph> + <book:paragraph> + <book:text>Sections can be allowed to use Wiki-like syntax with only three lines of code. Awesome!</book:text> + </book:paragraph> + </book:book> +</document> |