cunity: parse_examples: test example files

Test parsing and printing example files
This commit is contained in:
Max Bruckner
2017-01-16 14:52:01 +01:00
parent 896e52255b
commit bb60d6def5
14 changed files with 458 additions and 0 deletions

22
tests/inputs/test1 Normal file
View File

@ -0,0 +1,22 @@
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986",
"GlossDef": {
"para": "A meta-markup language, used to create markup languages such as DocBook.",
"GlossSeeAlso": ["GML", "XML"]
},
"GlossSee": "markup"
}
}
}
}
}