[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe... |
Date: |
Sat, 15 Mar 2008 10:42:09 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/03/15 10:42:09
Modified files:
. : ChangeLog
testsuite/actionscript.all: Inheritance.as
Log message:
test double gap in inheritance chain.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5928&r2=1.5929
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.53&r2=1.54
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5928
retrieving revision 1.5929
diff -u -b -r1.5928 -r1.5929
--- ChangeLog 15 Mar 2008 10:39:14 -0000 1.5928
+++ ChangeLog 15 Mar 2008 10:42:08 -0000 1.5929
@@ -1,3 +1,8 @@
+2008-03-15 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/Inheritance.as: test double gap in
+ inheritance chain.
+
2008-03-15 Benjamin Wolsey <address@hidden>
* libbase/arg_parser.{cpp,h}: add slightly modified version of
Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- testsuite/actionscript.all/Inheritance.as 15 Mar 2008 09:03:52 -0000
1.53
+++ testsuite/actionscript.all/Inheritance.as 15 Mar 2008 10:42:08 -0000
1.54
@@ -21,7 +21,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Inheritance.as,v 1.53 2008/03/15 09:03:52 strk Exp $";
+rcsid="$Id: Inheritance.as,v 1.54 2008/03/15 10:42:08 strk Exp $";
#include "check.as"
check_equals(typeof(Object.prototype.constructor), 'function');
@@ -292,6 +292,24 @@
check_equals(ActorCalls, 0); // B.prototype calling super() calls F
prototype, not A's
#endif
+// double gap now
+delete(A.prototype.myName);
+FctorCalls=0;
+BctorCalls=0;
+ActorCalls=0;
+n = co.myName();
+#if OUTPUT_VERSION < 6
+ check_equals(n, "C"); // no super
+ check_equals(FctorCalls, 0); // no super
+ check_equals(BctorCalls, 0); // no super
+ check_equals(ActorCalls, 0); // no super
+#else
+ check_equals(co.myName(), "FC"); // super in C references F proto and B ctor
+ check_equals(FctorCalls, 0);
+ check_equals(BctorCalls, 2);
+ check_equals(ActorCalls, 0);
+#endif
+
//------------------------------------------------
//
//------------------------------------------------
@@ -478,7 +496,7 @@
check(! t4 instanceOf Test5);
#if OUTPUT_VERSION < 6
- check_totals(93); // SWF5
+ check_totals(97); // SWF5
#else
- check_totals(150); // SWF6,7,8
+ check_totals(154); // SWF6,7,8
#endif