Skip to content

Commit 5a4a7d9

Browse files
committed
new passed tests
1 parent 46fbab4 commit 5a4a7d9

File tree

16 files changed

+73
-97
lines changed

16 files changed

+73
-97
lines changed

tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp10.ruffle.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PASSED: typeof(Date) == 'function' [./Date.as:29]
55
PASSED: typeof(Date.prototype) == 'object' [./Date.as:30]
66
PASSED: typeof(Date.prototype.__proto__) == 'object' [./Date.as:31]
77
PASSED: Date.prototype.__proto__ == Object.prototype [./Date.as:32]
8-
FAILED: expected: 'undefined' obtained: object [./Date.as:79]
8+
PASSED: typeof(Date.__proto__) == 'undefined' [./Date.as:79]
99
PASSED: Date.UTC(2000,0,1).valueOf() == 946684800000.0 [./Date.as:86]
1010
PASSED: d [./Date.as:91]
1111
PASSED: d.getDate [./Date.as:94]
@@ -105,7 +105,7 @@ PASSED: d.getUTCSeconds() == 0 [./Date.as:253]
105105
PASSED: d.getUTCMilliseconds() == 0 [./Date.as:254]
106106
PASSED: d.getSeconds() == 0 [./Date.as:265]
107107
PASSED: d.getMilliseconds() == 0 [./Date.as:266]
108-
FAILED: expected: Date.toString() obtained: [./Date.as:269]
108+
PASSED: Date.toLocaleString() == Date.toString() [./Date.as:269]
109109
PASSED: d.valueOf() == 1 [./Date.as:274]
110110
PASSED: d.valueOf() == 0 [./Date.as:276]
111111
PASSED: d.valueOf() == 12345.0 [./Date.as:279]
@@ -310,6 +310,6 @@ PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
310310
PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
311311
PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
312312
PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
313-
#passed: 300
314-
#failed: 7
313+
#passed: 302
314+
#failed: 5
315315
#total tests run: 307

tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp9.ruffle.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PASSED: typeof(Date) == 'function' [./Date.as:29]
55
PASSED: typeof(Date.prototype) == 'object' [./Date.as:30]
66
PASSED: typeof(Date.prototype.__proto__) == 'object' [./Date.as:31]
77
PASSED: Date.prototype.__proto__ == Object.prototype [./Date.as:32]
8-
FAILED: expected: 'undefined' obtained: object [./Date.as:79]
8+
PASSED: typeof(Date.__proto__) == 'undefined' [./Date.as:79]
99
PASSED: Date.UTC(2000,0,1).valueOf() == 946684800000.0 [./Date.as:86]
1010
PASSED: d [./Date.as:91]
1111
PASSED: d.getDate [./Date.as:94]
@@ -105,7 +105,7 @@ PASSED: d.getUTCSeconds() == 0 [./Date.as:253]
105105
PASSED: d.getUTCMilliseconds() == 0 [./Date.as:254]
106106
PASSED: d.getSeconds() == 0 [./Date.as:265]
107107
PASSED: d.getMilliseconds() == 0 [./Date.as:266]
108-
FAILED: expected: Date.toString() obtained: [./Date.as:269]
108+
PASSED: Date.toLocaleString() == Date.toString() [./Date.as:269]
109109
PASSED: d.valueOf() == 1 [./Date.as:274]
110110
PASSED: d.valueOf() == 0 [./Date.as:276]
111111
PASSED: d.valueOf() == 12345.0 [./Date.as:279]
@@ -310,6 +310,6 @@ PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
310310
PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
311311
PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
312312
PASSED: o.valueOf().toString() == "NaN" [./Date.as:703]
313-
#passed: 300
314-
#failed: 7
313+
#passed: 302
314+
#failed: 5
315315
#total tests run: 307

tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/output.ruffle.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
num_frames = 30
2-
known_failure = true

tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v5/output.ruffle.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181]
9494
FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182]
9595
PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183]
9696
PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184]
97-
FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185]
97+
PASSED: MovieClip.constructor == Function [./MovieClip.as:185]
9898
PASSED: typeof(mc.valueOf) == 'function' [./MovieClip.as:196]
9999
PASSED: typeof(mc.toString) == 'function' [./MovieClip.as:197]
100100
PASSED: typeof(mc.valueOf()) == 'movieclip' [./MovieClip.as:199]
@@ -359,6 +359,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207]
359359
FAILED: expected: 'undefined' obtained: string [./MovieClip.as:2212]
360360
PASSED: _root.var2 == 'val2' [./MovieClip.as:2214]
361361
PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215]
362-
#passed: 313
363-
#failed: 42
362+
#passed: 314
363+
#failed: 41
364364
#total tests run: 355

tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/output.ruffle.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
num_frames = 30
2-
known_failure = true

tests/tests/swfs/from_gnash/actionscript.all/Number-v5/output.ruffle.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ PASSED: isNaN(o) [./Number.as:224]
8484
PASSED: isNaN(0+o) [./Number.as:225]
8585
PASSED: 0+o == 3 [./Number.as:227]
8686
PASSED: 0+"string" == "0string" [./Number.as:228]
87-
FAILED: !isNaN(2+Number) [./Number.as:231]
87+
PASSED: !isNaN(2+Number) [./Number.as:231]
8888
PASSED: !isNaN(2/undefined) [./Number.as:242]
8989
PASSED: !isNaN(undefined/2) [./Number.as:243]
9090
PASSED: isFinite(undefined/2) [./Number.as:244]
@@ -122,22 +122,22 @@ PASSED: "0XFF0000" != 0xFF0000 [./Number.as:313]
122122
PASSED: isNaN("0xff000z") [./Number.as:316]
123123
PASSED: typeof(Number.prototype.valueOf) == 'function' [./Number.as:318]
124124
PASSED: typeof(Number.prototype.toString) == 'function' [./Number.as:319]
125-
FAILED: !isNaN(Number.valueOf()) [./Number.as:323]
125+
PASSED: !isNaN(Number.valueOf()) [./Number.as:323]
126126
PASSED: typeof(Number) == 'function' [./Number.as:326]
127127
PASSED: Number.hasOwnProperty('prototype') [./Number.as:327]
128128
PASSED: Number.hasOwnProperty('__proto__') [./Number.as:328]
129129
FAILED: Number.hasOwnProperty('constructor') [./Number.as:329]
130130
PASSED: typeof(Number.prototype) == 'object' [./Number.as:330]
131-
FAILED: expected: Object obtained: [./Number.as:332]
131+
PASSED: Number.prototype == Object [./Number.as:332]
132132
PASSED: Number.prototype == Function [./Number.as:333]
133-
FAILED: expected: Object.__proto__ obtained: [./Number.as:334]
133+
PASSED: Number.prototype == Object.__proto__ [./Number.as:334]
134134
PASSED: Number.prototype == null [./Number.as:335]
135135
PASSED: Number.prototype == undefined [./Number.as:336]
136136
PASSED: Number.prototype != 0 [./Number.as:337]
137137
PASSED: Number.prototype != "string" [./Number.as:338]
138-
FAILED: expected: 'undefined' obtained: function [./Number.as:345]
139-
FAILED: expected: 'undefined' obtained: function [./Number.as:346]
140-
FAILED: expected: 'undefined' obtained: object [./Number.as:347]
138+
PASSED: typeof(Number.valueOf) == 'undefined' [./Number.as:345]
139+
PASSED: typeof(Number.toString) == 'undefined' [./Number.as:346]
140+
PASSED: typeof(Number.__proto__) == 'undefined' [./Number.as:347]
141141
PASSED: typeof(Number.__proto__) == 'object' [./Number.as:352]
142142
PASSED: Number.prototype.__proto__ == Object.prototype [./Number.as:353]
143143
PASSED: typeof(Number.toString) == 'function' [./Number.as:355]
@@ -176,10 +176,10 @@ PASSED: val != Infinity [./Number.as:437]
176176
PASSED: isNaN(val) [./Number.as:438]
177177
PASSED: isNaN(val) [./Number.as:442]
178178
PASSED: val == 7 [./Number.as:446]
179-
FAILED: !isNaN(val) [./Number.as:453]
179+
PASSED: !isNaN(val) [./Number.as:453]
180180
PASSED: typeof(val) == 'number' [./Number.as:454]
181-
FAILED: expected: 0 obtained: NaN [./Number.as:455]
182-
FAILED: expected: val obtained: 0 [./Number.as:456]
181+
PASSED: val == 0 [./Number.as:455]
182+
PASSED: 0 == val [./Number.as:456]
183183
PASSED: val == 9 [./Number.as:461]
184184
PASSED: 9 == val [./Number.as:462]
185185
PASSED: 450 - undefined == 450 [./Number.as:474]
@@ -239,6 +239,6 @@ PASSED: a == 77 [./Number.as:670]
239239
PASSED: a == 77 [./Number.as:676]
240240
PASSED: isNaN(0/0) [./Number.as:678]
241241
PASSED: as == 'ff0000' [./Number.as:682]
242-
#passed: 227
243-
#failed: 11
242+
#passed: 237
243+
#failed: 1
244244
#total tests run: 238

tests/tests/swfs/from_gnash/actionscript.all/String-v5/output.ruffle.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SWF5
33
[String.as debug-22403-05c7ba106]
44
PASSED: typeof(String) == 'function' [./String.as:24]
55
PASSED: typeof(String.prototype) == 'object' [./String.as:25]
6-
FAILED: expected: Function.prototype obtained: [object Object] [./String.as:26]
6+
PASSED: String.__proto__ == Function.prototype [./String.as:26]
77
PASSED: typeof(String.prototype.valueOf) == 'function' [./String.as:27]
88
PASSED: typeof(String.prototype.toString) == 'function' [./String.as:28]
99
PASSED: typeof(String.prototype.toUpperCase) == 'function' [./String.as:29]
@@ -19,8 +19,8 @@ PASSED: typeof(String.prototype.split) == 'function' [./String.as:38]
1919
PASSED: typeof(String.prototype.substr) == 'function' [./String.as:39]
2020
PASSED: typeof(String.prototype.length) == 'undefined' [./String.as:40]
2121
PASSED: typeof(String.prototype.fromCharCode) == 'undefined' [./String.as:41]
22-
FAILED: expected: 'undefined' obtained: function [./String.as:46]
23-
FAILED: expected: 'undefined' obtained: function [./String.as:47]
22+
PASSED: typeof(String.valueOf) == 'undefined' [./String.as:46]
23+
PASSED: typeof(String.toString) == 'undefined' [./String.as:47]
2424
PASSED: typeof(String.toUpperCase) == 'undefined' [./String.as:49]
2525
PASSED: typeof(String.toLowerCase) == 'undefined' [./String.as:50]
2626
PASSED: typeof(String.charAt) == 'undefined' [./String.as:51]
@@ -207,8 +207,8 @@ PASSED: a.slice(0,0) == "" [./String.as:683]
207207
PASSED: a.slice(0,1) == "a" [./String.as:684]
208208
PASSED: a.slice(1,1) == "" [./String.as:685]
209209
PASSED: a.slice(1,2) == "b" [./String.as:686]
210-
FAILED: expected: undefined obtained: vw [./String.as:693]
211-
FAILED: expected: undefined obtained: vw [./String.as:694]
210+
PASSED: a.slice.call(a, -5, -3) == undefined [./String.as:693]
211+
PASSED: String.prototype.slice.call(a, -5, -3) == undefined [./String.as:694]
212212
PASSED: a.slice(-4) == "wxyz" [./String.as:696]
213213
PASSED: o.slice(0,1) == "[" [./String.as:700]
214214
PASSED: a.substring(5,2) == "cde" [./String.as:708]
@@ -257,7 +257,7 @@ PASSED: b == "" [./String.as:1063]
257257
PASSED: b == "l" [./String.as:1072]
258258
PASSED: b == "f" [./String.as:1082]
259259
FAILED: stringInstance.__proto__ != undefined [./String.as:1091]
260-
FAILED: expected: "" obtained: [type Function] [./String.as:1095]
260+
PASSED: "" + stringInstance.__proto__.valueOf == "" [./String.as:1095]
261261
PASSED: stringInstance.__proto__ == String.prototype [./String.as:1098]
262262
PASSED: typeOf(String.prototype.constructor) == 'function' [./String.as:1099]
263263
PASSED: String.prototype.constructor == String [./String.as:1100]
@@ -319,15 +319,15 @@ PASSED: a.length == 2 [./String.as:1253]
319319
PASSED: a == "123" [./String.as:1254]
320320
PASSED: a.length == "another string" [./String.as:1256]
321321
PASSED: a.length == "another string" [./String.as:1258]
322-
FAILED: expected: 0 obtained: 2 [./String.as:1271]
323-
FAILED: expected: "toString" obtained: prototype,toString [./String.as:1277]
322+
PASSED: a.length == 0 [./String.as:1271]
323+
PASSED: a.toString() == "toString" [./String.as:1277]
324324
PASSED: typeof(String.__proto__) == 'object' [./String.as:1279]
325325
PASSED: typeof(Object.prototype) == 'object' [./String.as:1280]
326326
PASSED: String.gotcha == 1 [./String.as:1282]
327327
PASSED: !String.__proto__.hasOwnProperty("gotcha") [./String.as:1284]
328328
PASSED: String.__proto__.__proto__.hasOwnProperty("gotcha") [./String.as:1285]
329329
PASSED: String.__proto__.__proto__ == Object.prototype [./String.as:1286]
330-
FAILED: expected: "gotcha,toString" obtained: gotcha,prototype,toString [./String.as:1289]
330+
PASSED: a.toString() == "gotcha,toString" [./String.as:1289]
331331
PASSED: !String.hasOwnProperty('toString') [./String.as:1298]
332332
PASSED: !String.hasOwnProperty('valueOf') [./String.as:1299]
333333
PASSED: String.hasOwnProperty('__proto__') [./String.as:1300]
@@ -353,6 +353,6 @@ PASSED: saved1.value == 'string' [./String.as:1332]
353353
PASSED: saved2.value == 'another string' [./String.as:1333]
354354
PASSED: saved2.value.prop != saved3.value.prop [./String.as:1337]
355355
PASSED: saved2.value !== saved3.value [./String.as:1338]
356-
#passed: 333
357-
#failed: 19
356+
#passed: 342
357+
#failed: 10
358358
#total tests run: 352

tests/tests/swfs/from_gnash/actionscript.all/String-v6/output.ruffle.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -353,15 +353,15 @@ PASSED: a == "123" [./String.as:1254]
353353
PASSED: a.length == "another string" [./String.as:1256]
354354
PASSED: a.length == "another string" [./String.as:1258]
355355
PASSED: a.hasOwnProperty('length') [./String.as:1260]
356-
FAILED: expected: "toString" obtained: prototype,toString [./String.as:1269]
357-
FAILED: expected: "toString" obtained: prototype,toString [./String.as:1277]
356+
PASSED: a.toString() == "toString" [./String.as:1269]
357+
PASSED: a.toString() == "toString" [./String.as:1277]
358358
PASSED: typeof(String.__proto__) == 'object' [./String.as:1279]
359359
PASSED: typeof(Object.prototype) == 'object' [./String.as:1280]
360360
PASSED: String.gotcha == 1 [./String.as:1282]
361361
PASSED: !String.__proto__.hasOwnProperty("gotcha") [./String.as:1284]
362362
PASSED: String.__proto__.__proto__.hasOwnProperty("gotcha") [./String.as:1285]
363363
PASSED: String.__proto__.__proto__ == Object.prototype [./String.as:1286]
364-
FAILED: expected: "gotcha,toString" obtained: gotcha,prototype,toString [./String.as:1289]
364+
PASSED: a.toString() == "gotcha,toString" [./String.as:1289]
365365
PASSED: typeof(saved1.value) == 'object' [./String.as:1327]
366366
PASSED: saved1.value == 'string' [./String.as:1328]
367367
PASSED: saved1.value == 'string' [./String.as:1330]
@@ -372,6 +372,6 @@ PASSED: saved2.value !== saved3.value [./String.as:1338]
372372
FAILED: expected: 'wonder1' obtained: [./String.as:1352]
373373
FAILED: expected: 'wonder2' obtained: [./String.as:1354]
374374
FAILED: expected: 'wonder3' obtained: [./String.as:1356]
375-
#passed: 355
376-
#failed: 16
375+
#passed: 358
376+
#failed: 13
377377
#total tests run: 371

0 commit comments

Comments
 (0)