gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/testsuite/misc-ming.all registerClassTest2.c


From: Zou Lunkai
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all registerClassTest2.c
Date: Tue, 16 Oct 2007 10:08:39 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/10/16 10:08:39

Modified files:
        testsuite/misc-ming.all: registerClassTest2.c 

Log message:
        export mc3 instead of mc2, fix the bogus test.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/registerClassTest2.c?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: registerClassTest2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/registerClassTest2.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- registerClassTest2.c        25 Sep 2007 02:44:27 -0000      1.7
+++ registerClassTest2.c        16 Oct 2007 10:08:38 -0000      1.8
@@ -30,7 +30,7 @@
 
 #include "ming_utils.h"
 
-#define OUTPUT_VERSION 6
+#define OUTPUT_VERSION 7
 #define OUTPUT_FILENAME "registerClassTest2.swf"
 
 void addExport(SWFMovie mo, SWFMovieClip mc, const char * name);
@@ -124,12 +124,14 @@
 
 
  
-  // Define movieclip mc2
+  // Define movieclip mc3
   mc3 = newSWFMovieClip();
   sh3 = make_fill_square (0, 300, 100, 100, 255, 255, 0, 255, 255, 0);
   SWFMovieClip_add(mc3, (SWFBlock)sh3);
+  SWFMovieClip_nextFrame(mc3);
   
-  addExport(mo, mc2, "libItem3");  
+  // Exprot mc3
+  addExport(mo, mc3, "libItem3");  
   
   it3 = SWFMovie_add(mo, mc3);
   SWFDisplayItem_addAction(it3,
@@ -155,9 +157,9 @@
                              " _root.attachMovie('libItem3', 'clip3', 30); "
                              // clip3.__proto__ is initialized before 
executing onClipConstruct
                              "_root.check_equals(clip3.__proto__, 
_root.theClass3.prototype); ");
-  SWFMovieClip_nextFrame(mc3);
   
-  add_actions(mo, "totals(); stop();");
+  
+  add_actions(mo, "totals(21); stop();");
   SWFMovie_nextFrame(mo); /* end of frame4 */
      
  /*****************************************************




reply via email to

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