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/Movi...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
Date: Mon, 11 Feb 2008 08:33:38 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/02/11 08:33:38

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

Log message:
        test 'this' in onLoadInit callback.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5610&r2=1.5611
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClipLoader.as?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5610
retrieving revision 1.5611
diff -u -b -r1.5610 -r1.5611
--- ChangeLog   11 Feb 2008 08:13:05 -0000      1.5610
+++ ChangeLog   11 Feb 2008 08:33:37 -0000      1.5611
@@ -1,3 +1,8 @@
+2008-02-11 Sandro Santilli <address@hidden>
+
+       * testsuite/actionscript.all/MovieClipLoader.as: test 'this' in
+         onLoadInit callback.
+
 2008-02-11 Benjamin Wolsey <address@hidden>
 
        * libbase/rc.{h,cpp}: use boost/cstdint for uint32_t. Cast SHM key 

Index: testsuite/actionscript.all/MovieClipLoader.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClipLoader.as,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- testsuite/actionscript.all/MovieClipLoader.as       8 Jan 2008 21:34:38 
-0000       1.15
+++ testsuite/actionscript.all/MovieClipLoader.as       11 Feb 2008 08:33:38 
-0000      1.16
@@ -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: MovieClipLoader.as,v 1.15 2008/01/08 21:34:38 strk Exp $";
+rcsid="$Id: MovieClipLoader.as,v 1.16 2008/02/11 08:33:38 strk Exp $";
 
 #include "check.as"
 
@@ -232,6 +232,8 @@
        check_equals(state.onLoadCompleteCalls, 1);
        state.onLoadInitCalls++;
 
+       check_equals(this, mcl);
+
        // At onLoadInit time the _url parameter is the url of
        // old target with appended url of new target (?)
        // So we test if it ends with it instead
@@ -309,7 +311,7 @@
        // subtract the number of progress callback runs reported when playing 
from the totals to get the correct number
        // BUT MAKE SURE nextTestOrEnd CONTAINS THE CORRECT 
testsPerProgressCallback INFO !!
        //
-       expected.totals = 68;
+       expected.totals = 70;
        // gnash doesn't call onLoadInit if the data at the url is not an SWF 
or JPG
        // (or whatever else can become a movie_instance), while the PP does.
        // So in this testcase, the attempt to load vars.txt is invalid for 
Gnash




reply via email to

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