gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/inheri...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/inheri...
Date: Fri, 02 Mar 2007 00:24:34 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/03/02 00:24:33

Modified files:
        .              : ChangeLog 
        testsuite/misc-mtasc.all: inheritance.as 

Log message:
                * testsuite/misc-mtasc.all/inheritance.as:
                  Add more tests, more failing !

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2510&r2=1.2511
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/inheritance.as?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2510
retrieving revision 1.2511
diff -u -b -r1.2510 -r1.2511
--- ChangeLog   1 Mar 2007 20:34:36 -0000       1.2510
+++ ChangeLog   2 Mar 2007 00:24:33 -0000       1.2511
@@ -1,3 +1,8 @@
+2007-03-02 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-mtasc.all/inheritance.as:
+         Add more tests, more failing !
+
 2007-03-01 Sandro Santilli <address@hidden>
 
        * server/vm/ASHandlers.cpp (ActionNewMethod):

Index: testsuite/misc-mtasc.all/inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/inheritance.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-mtasc.all/inheritance.as     1 Mar 2007 17:20:40 -0000       
1.2
+++ testsuite/misc-mtasc.all/inheritance.as     2 Mar 2007 00:24:33 -0000       
1.3
@@ -12,6 +12,13 @@
        {
        }
 
+       function test_proto_ext()
+       {
+               _root.note("This is "+this);
+               Function.prototype.make = function() { return true; };
+               _root.check(arguments.callee.make());
+       }
+
        function test_laszlo_core()
        {
                var A = function() { this.constructor = arguments.callee; };
@@ -28,6 +35,7 @@
                var binst = new B();
                _root.check_equals(typeof(binst), 'object');
                _root.check_equals(typeof(binst.test), 'function');
+               _root.note("test_laszlo_core called");
                binst.test();
        }
 
@@ -36,7 +44,15 @@
                _root.check_equals(typeof(this.loadMovie), 'function');
                _root.check_equals(this.loadMovie, super.loadMovie);
                _root.check(this.lineTo != super.lineTo); // overridden
+               _root.check_equals(typeof(this.test_laszlo_core), 'function');
+               _root.check_equals(typeof(this.test_proto_ext), 'function');
                this.test_laszlo_core();
+               _root.check_equals(typeof(this.test_laszlo_core), 'function');
+               _root.check_equals(typeof(this.test_proto_ext), 'function');
+               this.test_proto_ext();
+               _root.check_equals(typeof(this.test_laszlo_core), 'function');
+               _root.check_equals(typeof(this.test_proto_ext), 'function');
+               _root.note("This is "+this);
 
        }
 




reply via email to

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