Skip to content

Commit 432cb77

Browse files
committed
tests: Import swfc tests from gnash
1 parent 01d64a5 commit 432cb77

File tree

73 files changed

+787
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+787
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
PASSED: _root._currentframe == 1 [action_execution_order_test10.sc:63]
2+
PASSED: _root.as_order1 == 0+1+2+3+4+5+6+7+8+9+10+ [action_execution_order_test10.sc:166]
3+
PASSED: _root.as_order2 == 0+1+2+3+ [action_execution_order_test10.sc:167]
4+
mc4 init actions [action_execution_order_test10.sc:185]
5+
PASSED: typeof(mc4) == movieclip [action_execution_order_test10.sc:186]
6+
PASSED: [action_execution_order_test10.sc:194]
7+
PASSED: [action_execution_order_test10.sc:195]
8+
PASSED: mc4.__proto__ == [object Object] [action_execution_order_test10.sc:196]
9+
mc4 user defined onConstruct [action_execution_order_test10.sc:203]
10+
mc5 user defined onConstruct [action_execution_order_test10.sc:219]
11+
PASSED: mc4_onConstruct_executed == true [action_execution_order_test10.sc:231]
12+
PASSED: mc5_onConstruct_executed == true [action_execution_order_test10.sc:232]
13+
Total tests run: 9 typeof expected: number
14+
#passed: 9
15+
#failed: 0
16+
__END_OF_TEST__
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
num_frames = 30
2+
known_failure = true
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
PASSED: typeof(mc2) == movieclip [action_execution_order_test12.sc:107]
2+
PASSED: typeof(mc2) == movieclip [action_execution_order_test12.sc:108]
3+
PASSED: typeof(mc1.mc11) == undefined [action_execution_order_test12.sc:109]
4+
PASSED: typeof(mc1.mc12) == undefined [action_execution_order_test12.sc:110]
5+
PASSED: typeof(mc1.mc21) == undefined [action_execution_order_test12.sc:111]
6+
PASSED: typeof(mc1.mc11) == movieclip [action_execution_order_test12.sc:129]
7+
PASSED: typeof(mc1.mc12) == undefined [action_execution_order_test12.sc:130]
8+
PASSED: typeof(mc2.mc21) == movieclip [action_execution_order_test12.sc:147]
9+
PASSED: typeof(mc1.mc12) == undefined [action_execution_order_test12.sc:148]
10+
mc2.mc21 unloaded [action_execution_order_test12.sc:143]
11+
PASSED: typeof(mc1.mc12) == movieclip [action_execution_order_test12.sc:164]
12+
mc1.mc11 unloaded [action_execution_order_test12.sc:125]
13+
mc1.mc12 unloaded [action_execution_order_test12.sc:160]
14+
mc1 unloaded [action_execution_order_test12.sc:92]
15+
mc2 unloaded [action_execution_order_test12.sc:103]
16+
PASSED: _root.loadOrder == 0+ [action_execution_order_test12.sc:172]
17+
FAILED: _root.enterFrameOrder: expected: "0+1+2+3+1+2+3+1+2+1+2+" , obtained: "0+1+2+3+1+2+4+3+1+2+5+3+1+2+1+2+" [action_execution_order_test12.sc:173]
18+
PASSED: _root.unloadOrder == 0+1+2+3+4+5+ [action_execution_order_test12.sc:176]
19+
PASSED: asOrder == 0+1+2+3+4+ [action_execution_order_test12.sc:202]
20+
#passed: 13
21+
#failed: 1
22+
__END_OF_TEST__
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
num_frames = 30
2+
known_failure = true
3+
4+
[player_options]
5+
version = 10
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
PASSED: typeof(mc2) == movieclip [action_execution_order_test12.sc:107]
2+
PASSED: typeof(mc2) == movieclip [action_execution_order_test12.sc:108]
3+
PASSED: typeof(mc1.mc11) == undefined [action_execution_order_test12.sc:109]
4+
PASSED: typeof(mc1.mc12) == undefined [action_execution_order_test12.sc:110]
5+
PASSED: typeof(mc1.mc21) == undefined [action_execution_order_test12.sc:111]
6+
PASSED: typeof(mc1.mc11) == movieclip [action_execution_order_test12.sc:129]
7+
PASSED: typeof(mc1.mc12) == undefined [action_execution_order_test12.sc:130]
8+
PASSED: typeof(mc2.mc21) == movieclip [action_execution_order_test12.sc:147]
9+
PASSED: typeof(mc1.mc12) == undefined [action_execution_order_test12.sc:148]
10+
mc2.mc21 unloaded [action_execution_order_test12.sc:143]
11+
PASSED: typeof(mc1.mc12) == movieclip [action_execution_order_test12.sc:164]
12+
mc1.mc11 unloaded [action_execution_order_test12.sc:125]
13+
mc1.mc12 unloaded [action_execution_order_test12.sc:160]
14+
mc1 unloaded [action_execution_order_test12.sc:92]
15+
mc2 unloaded [action_execution_order_test12.sc:103]
16+
PASSED: _root.loadOrder == 0+ [action_execution_order_test12.sc:172]
17+
PASSED: _root.enterFrameOrder == 0+1+2+3+1+2+3+1+2+1+2+ [action_execution_order_test12.sc:173]
18+
PASSED: _root.unloadOrder == 0+1+2+3+4+5+ [action_execution_order_test12.sc:176]
19+
PASSED: asOrder == 0+1+2+3+4+ [action_execution_order_test12.sc:202]
20+
#passed: 14
21+
#failed: 0
22+
__END_OF_TEST__
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
num_frames = 30
2+
known_failure = true
3+
4+
[player_options]
5+
version = 9
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[
2+
{
3+
"type": "Wait"
4+
},
5+
{
6+
"type": "MouseMove",
7+
"pos": [
8+
98,
9+
248
10+
]
11+
},
12+
{
13+
"type": "Wait"
14+
},
15+
{
16+
"type": "MouseDown",
17+
"pos": [
18+
98,
19+
248
20+
],
21+
"btn": "Left"
22+
},
23+
{
24+
"type": "Wait"
25+
},
26+
{
27+
"type": "MouseUp",
28+
"pos": [
29+
98,
30+
248
31+
],
32+
"btn": "Left"
33+
},
34+
{
35+
"type": "Wait"
36+
},
37+
{
38+
"type": "MouseMove",
39+
"pos": [
40+
149,
41+
255
42+
]
43+
},
44+
{
45+
"type": "Wait"
46+
},
47+
{
48+
"type": "MouseDown",
49+
"pos": [
50+
149,
51+
255
52+
],
53+
"btn": "Left"
54+
},
55+
{
56+
"type": "Wait"
57+
},
58+
{
59+
"type": "MouseUp",
60+
"pos": [
61+
149,
62+
255
63+
],
64+
"btn": "Left"
65+
},
66+
{
67+
"type": "Wait"
68+
}
69+
]

0 commit comments

Comments
 (0)