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

26
tests/inputs/test3 Normal file
View File

@ -0,0 +1,26 @@
{"widget": {
"debug": "on",
"window": {
"title": "Sample Konfabulator Widget",
"name": "main_window",
"width": 500,
"height": 500
},
"image": {
"src": "Images/Sun.png",
"name": "sun1",
"hOffset": 250,
"vOffset": 250,
"alignment": "center"
},
"text": {
"data": "Click Here",
"size": 36,
"style": "bold",
"name": "text1",
"hOffset": 250,
"vOffset": 100,
"alignment": "center",
"onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
}
}}