gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash testsuite/misc-mtasc.all/function_test.as...


From: Sandro Santilli
Subject: [Gnash-commit] gnash testsuite/misc-mtasc.all/function_test.as...
Date: Fri, 07 Mar 2008 19:03:54 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/03/07 19:03:54

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

Log message:
        add a couple more tests.

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

Patches:
Index: testsuite/misc-mtasc.all/function_test.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/function_test.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-mtasc.all/function_test.as   29 Nov 2007 08:44:12 -0000      
1.2
+++ testsuite/misc-mtasc.all/function_test.as   7 Mar 2008 19:03:53 -0000       
1.3
@@ -28,6 +28,10 @@
   {
     check_equals(typeof(super), 'object');
 
+    // This should be the effect of an 'extends' op
+    check_equals(Test['prototype']['__constructor__'], TestClass);
+    check_equals(Test['prototype']['__proto__'], TestClass.prototype);
+
     // This seems to trigger an ActionCallMethod(undefined, super).
     // It is expected that the VM fetches super.constructor and calls
     // that instead.
@@ -55,7 +59,7 @@
     check_equals(myTest.x, 2);
     check_equals(typeof(myTest.__proto__.x), 'undefined');
 
-    check_totals(18);
+    check_totals(20);
     Dejagnu.done();
   }
 }

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5843
retrieving revision 1.5844
diff -u -b -r1.5843 -r1.5844
--- ChangeLog   7 Mar 2008 18:19:48 -0000       1.5843
+++ ChangeLog   7 Mar 2008 19:03:53 -0000       1.5844
@@ -1,3 +1,8 @@
+2008-03-07 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-mtasc.all/function_test.as: add a couple
+         more tests.
+
 2008-03-07  Rob Savoye  <address@hidden>
 
        * testsuite/libbase/memtest.cpp: Add tests for time stamps.




reply via email to

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