blob: 3f76fcd791af87df8c141d5624240f88e76653cf [file] [log] [blame]
Testing the fault-tolerance of WI.Recording.
== Running test suite: Recording
-- Running test case: Recording.fromPayload.nullObject
null
-- Running test case: Recording.fromPayload.nonObject
null
-- Running test case: Recording.fromPayload.emptyObject
null
-- Running test case: Recording.fromPayload.invalidTopLevelMembers
null
-- Running test case: Recording.fromPayload.invalidSubMembers
{
"version": 1,
"type": "test",
"initialState": {},
"frames": [
{
"actions": []
}
],
"data": [
"test"
]
}
-- Running test case: Recording.fromPayload.invalidFrame
{
"version": 1,
"type": "test",
"initialState": {
"attributes": {
"test": "test"
},
"parameters": [
"test"
],
"content": "test"
},
"frames": [
{
"actions": []
}
],
"data": [
"test"
]
}
-- Running test case: Recording.fromPayload.invalidAction
{
"version": 1,
"type": "test",
"initialState": {
"attributes": {
"test": "test"
},
"parameters": [
"test"
],
"content": "test"
},
"frames": [
{
"actions": [
[
-1,
[],
[],
[]
]
],
"duration": 1,
"incomplete": true
}
],
"data": [
"test"
]
}
-- Running test case: Recording.fromPayload.invalidActionMembers
{
"version": 1,
"type": "test",
"initialState": {
"attributes": {
"test": "test"
},
"parameters": [
"test"
],
"content": "test"
},
"frames": [
{
"actions": [
[
null,
[],
[],
[]
]
],
"duration": 1,
"incomplete": true
}
],
"data": [
"test"
]
}
-- Running test case: Recording.fromPayload.valid
{
"version": 1,
"type": "test",
"initialState": {
"attributes": {
"test": "test"
},
"parameters": [
"test"
],
"content": "test"
},
"frames": [
{
"actions": [
[
0,
[
0
],
[
0
],
[
0
]
]
],
"duration": 1,
"incomplete": true
}
],
"data": [
"test"
]
}