gnash-commit
[Top][All Lists]
Advanced

[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: Mon, 08 Jan 2007 12:27:14 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/01/08 12:27:14

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: Inheritance.as 

Log message:
                * testsuite/actionscript.all/Inheritance.as: added a couple more
                  tests to the 'extends' section, curtesy of Zou Lunkai.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2051&r2=1.2052
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2051
retrieving revision 1.2052
diff -u -b -r1.2051 -r1.2052
--- ChangeLog   8 Jan 2007 11:54:09 -0000       1.2051
+++ ChangeLog   8 Jan 2007 12:27:14 -0000       1.2052
@@ -1,5 +1,7 @@
 2007-01-08 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/Inheritance.as: added a couple more
+         tests to the 'extends' section, curtesy of Zou Lunkai.
        * testsuite/actionscript.all/Function.as: added test for 'this'
          reference in Object's context. By Zou Lunkai.
 

Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- testsuite/actionscript.all/Inheritance.as   2 Jan 2007 15:43:42 -0000       
1.14
+++ testsuite/actionscript.all/Inheritance.as   8 Jan 2007 12:27:14 -0000       
1.15
@@ -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: Inheritance.as,v 1.14 2007/01/02 15:43:42 strk Exp $";
+rcsid="$Id: Inheritance.as,v 1.15 2007/01/08 12:27:14 strk Exp $";
 
 #include "check.as"
 
@@ -176,6 +176,7 @@
 #ifdef MING_SUPPORTS_ASM_EXTENDS
 
 function BaseClass1() {}
+BaseClass1.prototype.var1 = "var_in_Base_prototype";
 function DerivedClass1() {}
 asm {
        push "DerivedClass1"
@@ -184,10 +185,14 @@
        getvariable
        extends
 };
+DerivedClass1.prototype.var2 = "var_in_Derived_prototype";
 var obj = new DerivedClass1;
 check(obj instanceOf DerivedClass1);
 check(obj instanceOf BaseClass1);
 check_equals(obj.__proto__, DerivedClass1.prototype);
 check_equals(DerivedClass1.prototype.constructor, BaseClass1);
+check_equals(obj.var1, "var_in_Base_prototype");
+check_equals(obj.var2, "var_in_Derived_prototype");
 
 #endif // MING_SUPPORTS_ASM_EXTENDS
+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]