gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/Makefil...


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/Makefil...
Date: Sun, 02 Sep 2007 07:23:53 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/09/02 07:23:53

Modified files:
        .              : ChangeLog 
        testsuite/misc-swfc.all: Makefile.am 
                                 movieclip_destruction_test2.sc 

Log message:
        * testsuite/misc-swfc.all/movieclip_destruction_test2.sc: one more test.
        * testsuite/misc-swfc.all/action_execution_order_test10.sc: another 
testcase
          about actions order. If any questions, please add to the wiki.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4188&r2=1.4189
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/Makefile.am?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test2.sc?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4188
retrieving revision 1.4189
diff -u -b -r1.4188 -r1.4189
--- ChangeLog   2 Sep 2007 01:02:30 -0000       1.4188
+++ ChangeLog   2 Sep 2007 07:23:52 -0000       1.4189
@@ -1,3 +1,10 @@
+2007-09-02 Zou Lunkai <address@hidden>
+       
+       * testsuite/misc-swfc.all/movieclip_destruction_test2.sc: one more test.
+       * testsuite/misc-swfc.all/action_execution_order_test10.sc: another 
testcase
+         about actions order. If any questions, please add to the wiki.
+       * testsuite/misc-swfc.all/Makefile.am: enable testcase.
+       
 2007-09-01 Sandro Santilli <address@hidden>
 
        * server/as_object.{h,cpp}: handle __proto__ has a normal property.

Index: testsuite/misc-swfc.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/misc-swfc.all/Makefile.am 31 Aug 2007 05:50:24 -0000      1.7
+++ testsuite/misc-swfc.all/Makefile.am 2 Sep 2007 07:23:52 -0000       1.8
@@ -25,6 +25,7 @@
        soft_reference_test1.sc \
        movieclip_destruction_test1.sc \
        movieclip_destruction_test2.sc \
+       action_execution_order_test10.sc \
        $(NULL)
 
 # These will get compiled to SWFs just as above, but will not be executed as a 
test

Index: testsuite/misc-swfc.all/movieclip_destruction_test2.sc
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test2.sc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-swfc.all/movieclip_destruction_test2.sc      1 Sep 2007 
01:20:47 -0000       1.6
+++ testsuite/misc-swfc.all/movieclip_destruction_test2.sc      2 Sep 2007 
07:23:52 -0000       1.7
@@ -111,13 +111,15 @@
   .del mc3 // Remove mc3 by RemoveObject2
 
   .action: 
-    xcheck_equals(mc2UnlaodedCount, 1); //mc2.onUnload triggered
-    xcheck_equals(mc2UnlaodedCount, 1); //mc3.onUnload triggered
+    xcheck_equals(mc2UnlaodedCount, 1); // mc2.onUnload triggered
+    xcheck_equals(mc2UnlaodedCount, 1); // mc3.onUnload triggered
     check_equals(mc1Ref.valueOf(), null);
     check_equals(mc2Ref, mc2);
     check_equals(mc3Ref, mc3);
     
-    check_equals(typeof(mc1), 'undefined'); //cann't access the hard reference
+    check_equals(typeof(mc1), 'undefined'); // cann't access the hard reference
+    // mc1 is destroyed. it is not in the removed depth zone.
+    check_equals(_root.getInstanceAtDepth(-16386), undefined); 
     check_equals(typeof(mc2), 'movieclip'); // mc2 is still accessable
     check_equals(typeof(mc3), 'movieclip'); // mc3 is still accessable
     check_equals(mc2.getDepth(), -16387);   // depth of mc2 changed after 
onUnload
@@ -136,8 +138,8 @@
     check_equals(mc3.testvar, 100); 
     mc2.removMovieClip();
     mc3.removMovieClip();
-    xcheck_equals(mc2UnlaodedCount, 1); //mc2.onUnload not triggered again
-    xcheck_equals(mc2UnlaodedCount, 1); //mc3.onUnload not triggered again
+    xcheck_equals(mc2UnlaodedCount, 1); // mc2.onUnload not triggered again
+    xcheck_equals(mc2UnlaodedCount, 1); // mc3.onUnload not triggered again
     check_equals(typeof(mc2), 'movieclip'); // mc2 is still accessible
     check_equals(typeof(mc3), 'movieclip'); // mc3 is still accessible
     check_equals(mc2.getDepth(), -16387); 




reply via email to

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