gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/testsuite/actionscript.all LoadVars.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/actionscript.all LoadVars.as
Date: Fri, 11 Jan 2008 09:48:58 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/01/11 09:48:58

Modified files:
        testsuite/actionscript.all: LoadVars.as 

Log message:
        further improvement

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/LoadVars.as?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: LoadVars.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/LoadVars.as,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- LoadVars.as 11 Jan 2008 09:37:06 -0000      1.19
+++ LoadVars.as 11 Jan 2008 09:48:58 -0000      1.20
@@ -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: LoadVars.as,v 1.19 2008/01/11 09:37:06 strk Exp $";
+rcsid="$Id: LoadVars.as,v 1.20 2008/01/11 09:48:58 strk Exp $";
 
 #include "check.as"
 
@@ -86,6 +86,10 @@
 check (LoadVars.prototype.hasOwnProperty('onData'));
 xcheck_equals (typeof(loadvarsObj.onData), 'function');
 
+// test the LoadVars::onLoad method
+check (LoadVars.prototype.hasOwnProperty('onLoad'));
+xcheck_equals (typeof(loadvarsObj.onLoad), 'function');
+
 // test the LoadVars::loaded member
 xcheck (!LoadVars.prototype.hasOwnProperty('loaded'));
 xcheck_equals (typeof(loadvarsObj.loaded), 'undefined');
@@ -132,7 +136,7 @@
                // Gnash insists in looking for an ending & char !!             
                xcheck_equals(loadvarsObj['var3'], 'val3\n');
 
-               xcheck_totals(50);
+               xcheck_totals(52);
 
                play();
        }




reply via email to

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