diff options
| author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-18 11:43:12 +0100 | 
|---|---|---|
| committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-18 11:43:12 +0100 | 
| commit | 64705a0c297121c6011e91c3b40d66fbcc2c160f (patch) | |
| tree | 701e4b2906a7a797b9a93c2c1848a2ec8ba8f3a3 /testdata | |
| parent | 1765901ff35db93ba79ce67473ffb1abcf7165d6 (diff) | |
| parent | 2de08643afdb4771ef8d1f6dd836ded20db244cf (diff) | |
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/osmlparser/explicit_fields.osml | 16 | ||||
| -rw-r--r-- | testdata/osmlparser/invalid_explicit_fields.osml | 16 | ||||
| -rw-r--r-- | testdata/osmlparser/struct_with_no_field.osml | 12 | 
3 files changed, 44 insertions, 0 deletions
diff --git a/testdata/osmlparser/explicit_fields.osml b/testdata/osmlparser/explicit_fields.osml new file mode 100644 index 0000000..a9ba1a3 --- /dev/null +++ b/testdata/osmlparser/explicit_fields.osml @@ -0,0 +1,16 @@ +\document + +\domain#test +	\struct#a[isRoot=true] +		\primitive#b[type=string,isSubtree=true] +		\primitive#c[type=string,isSubtree=true] +		\primitive#d[type=string,isSubtree=false] + + +\a{! +	\b{test} +	\c{test} +	test +	test +	test +} diff --git a/testdata/osmlparser/invalid_explicit_fields.osml b/testdata/osmlparser/invalid_explicit_fields.osml new file mode 100644 index 0000000..9986204 --- /dev/null +++ b/testdata/osmlparser/invalid_explicit_fields.osml @@ -0,0 +1,16 @@ +\document + +\domain#test +	\struct#a[isRoot=true] +		\primitive#b[type=string,isSubtree=true] +		\primitive#c[type=string,isSubtree=true] +		\primitive#d[type=string,isSubtree=false] + + +\a{! +	\b{test} +	test +	\c{test} +	test +	test +} diff --git a/testdata/osmlparser/struct_with_no_field.osml b/testdata/osmlparser/struct_with_no_field.osml new file mode 100644 index 0000000..8cf2d02 --- /dev/null +++ b/testdata/osmlparser/struct_with_no_field.osml @@ -0,0 +1,12 @@ +\document + +\domain#test +	\struct#a[isRoot=true] +		\field +			\childRef[ref=b] +	\struct#b + +\a +	\b +	\b +  | 
