[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi... |
Date: |
Thu, 29 Nov 2007 13:03:29 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/11/29 13:03:29
Modified files:
. : ChangeLog
testsuite/actionscript.all: MovieClip.as
Log message:
add test for MovieClip._level (gnash fails)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5015&r2=1.5016
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.105&r2=1.106
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5015
retrieving revision 1.5016
diff -u -b -r1.5015 -r1.5016
--- ChangeLog 29 Nov 2007 10:47:00 -0000 1.5015
+++ ChangeLog 29 Nov 2007 13:03:28 -0000 1.5016
@@ -1,5 +1,7 @@
2007-11-29 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/MovieClip.as: add test for
+ MovieClip._level (gnash fails)
* testsuite/misc-mtasc.all/Dejagnu.as: print info message on successes
too.
* testsuite/misc-mtasc.all/: level5.as, level99.as: test swapDepth and
removeMovieClip effects on levels (gnash fails).
Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -b -r1.105 -r1.106
--- testsuite/actionscript.all/MovieClip.as 29 Nov 2007 09:31:03 -0000
1.105
+++ testsuite/actionscript.all/MovieClip.as 29 Nov 2007 13:03:29 -0000
1.106
@@ -20,7 +20,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: MovieClip.as,v 1.105 2007/11/29 09:31:03 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.106 2007/11/29 13:03:29 strk Exp $";
#include "check.as"
@@ -333,9 +333,10 @@
check(!mc.__proto__.hasOwnProperty("_totalframes"));
check(!MovieClip.prototype.hasOwnProperty("_totalframes"));
+check(!mc.hasOwnProperty("_level"));
+check(!mc.__proto__.hasOwnProperty("_level"));
xcheck(!mc.hasOwnProperty("_target"));
xcheck(!mc.hasOwnProperty("_url"));
-xcheck(!mc.hasOwnProperty("_target"));
xcheck(!mc.hasOwnProperty("_soundbuftime"));
xcheck(!mc.hasOwnProperty("_focusrect"));
xcheck(!mc.hasOwnProperty("_framesloaded"));
@@ -395,6 +396,10 @@
// Test the _target property
check_equals(_root._target, "/");
+// Test the _level property
+check_equals(typeof(_root._level), "movieclip");
+check_equals(_root._level, _level0);
+
#if OUTPUT_VERSION >= 6
// unfortunately we can't use createEmptyMovieClip with
// lower SWF targets...
@@ -1272,15 +1277,15 @@
#endif // OUTPUT_VERSION >= 7
#if OUTPUT_VERSION < 6
- check_totals(158); // SWF5
+ check_totals(160); // SWF5
#else
#if OUTPUT_VERSION < 7
- check_totals(551); // SWF6
+ check_totals(554); // SWF6
#else
#if OUTPUT_VERSION < 8
- check_totals(568); // SWF7
+ check_totals(571); // SWF7
#else
- check_totals(569); // SWF8+
+ check_totals(572); // SWF8+
#endif
#endif
#endif