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/with.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/with.as
Date: Tue, 23 Oct 2007 15:32:55 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/10/23 15:32:54

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

Log message:
                * testsuite/actionscript.all/with.as: more failures !

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4674&r2=1.4675
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/with.as?cvsroot=gnash&r1=1.29&r2=1.30

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4674
retrieving revision 1.4675
diff -u -b -r1.4674 -r1.4675
--- ChangeLog   23 Oct 2007 13:50:27 -0000      1.4674
+++ ChangeLog   23 Oct 2007 15:32:54 -0000      1.4675
@@ -1,5 +1,6 @@
 2007-10-23 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/with.as: more failures !
        * macros/sdl.m4: cleanups
        * configure.ac: use test, not the ``['' command, in m4 macros.
        * server/URLAccessManager.cpp (allow): fix assertion checking.

Index: testsuite/actionscript.all/with.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/with.as,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- testsuite/actionscript.all/with.as  15 Oct 2007 21:42:20 -0000      1.29
+++ testsuite/actionscript.all/with.as  23 Oct 2007 15:32:54 -0000      1.30
@@ -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: with.as,v 1.29 2007/10/15 21:42:20 strk Exp $";
+rcsid="$Id: with.as,v 1.30 2007/10/23 15:32:54 strk Exp $";
 
 #include "check.as"
 
@@ -445,11 +445,30 @@
 newFunc();
 
 //---------------------------------------------------------
+// Test with(movieclip) 
+//---------------------------------------------------------
+
+#if OUTPUT_VERSION > 5
+createEmptyMovieClip("mc", 1);
+mc.createEmptyMovieClip("child", 1);
+mc.mem = "mcMember";
+with (mc)
+{
+       child = "rootChild";
+       mem = "mcMemberUpdated";
+}
+check_equals(typeof(mem), 'undefined');
+check_equals(mc.mem, "mcMemberUpdated");
+xcheck_equals(typeof(mc.child), 'movieclip');
+xcheck_equals(child, "rootChild");
+#endif // OUTPUT_VERSION > 5
+
+//---------------------------------------------------------
 // END OF TESTS
 //---------------------------------------------------------
 
 #if OUTPUT_VERSION < 6
  check_totals(41);
 #else
- check_totals(72);
+ check_totals(76);
 #endif




reply via email to

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