Mostly empty unit tests -- added mgos_mock to be able to run unit tests on x86_64
This commit is contained in:
21
unittest/data/TestScreen.json
Normal file
21
unittest/data/TestScreen.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "TestScreen",
|
||||
"widgets": [
|
||||
{
|
||||
"x": 16,
|
||||
"y": 16,
|
||||
"w": 48,
|
||||
"h": 48,
|
||||
"label": "One",
|
||||
"type": 0
|
||||
},
|
||||
{
|
||||
"x": 256,
|
||||
"y": 16,
|
||||
"w": 48,
|
||||
"h": 48,
|
||||
"label": "Two",
|
||||
"type": 0
|
||||
}
|
||||
]
|
||||
}
|
8
unittest/data/TestWidget.json
Normal file
8
unittest/data/TestWidget.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"x": 16,
|
||||
"y": 16,
|
||||
"w": 48,
|
||||
"h": 48,
|
||||
"label": "One",
|
||||
"type": 0
|
||||
}
|
Reference in New Issue
Block a user