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: Wed, 12 Sep 2007 10:46:06 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/09/12 10:46:06

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

Log message:
                * testsuite/actionscript.all/Inheritance.as: few more tests 
(maybe
                  redundant) for constructor and __constructor__

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4287&r2=1.4288
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.38&r2=1.39

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4287
retrieving revision 1.4288
diff -u -b -r1.4287 -r1.4288
--- ChangeLog   12 Sep 2007 10:26:08 -0000      1.4287
+++ ChangeLog   12 Sep 2007 10:46:06 -0000      1.4288
@@ -1,3 +1,8 @@
+2007-09-12 Sandro Santilli <address@hidden>
+
+       * testsuite/actionscript.all/Inheritance.as: few more tests (maybe
+         redundant) for constructor and __constructor__
+
 2007-09-12 Bastiaan Jacques <address@hidden
 
        * backend/render_handler_ogl.cpp: Add a debugging function

Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- testsuite/actionscript.all/Inheritance.as   11 Sep 2007 05:58:54 -0000      
1.38
+++ testsuite/actionscript.all/Inheritance.as   12 Sep 2007 10:46:06 -0000      
1.39
@@ -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.38 2007/09/11 05:58:54 zoulunkai Exp $";
+rcsid="$Id: Inheritance.as,v 1.39 2007/09/12 10:46:06 strk Exp $";
 
 #include "check.as"
 
@@ -189,6 +189,10 @@
 };
 function DerivedClass() {}
 DerivedClass.prototype = new BaseClass();
+check_equals(typeof(DerivedClass.prototype.__constructor__), 'function');
+check(DerivedClass.prototype.hasOwnProperty('__constructor__'));
+check_equals(DerivedClass.prototype.__constructor__, BaseClass);
+check(DerivedClass.prototype.__constructor__ != DerivedClass);
 DerivedClass.prototype.sayHello = function () {
   return "Hello from DerivedClass"; 
 };




reply via email to

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