gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r12229: Simple test to make sure ini


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12229: Simple test to make sure init actions for non-existent characters aren't
Date: Mon, 07 Jun 2010 21:35:24 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12229
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Mon 2010-06-07 21:35:24 +0200
message:
  Simple test to make sure init actions for non-existent characters aren't
  executed.
modified:
  testsuite/misc-ming.all/InitActionTest2.c
=== modified file 'testsuite/misc-ming.all/InitActionTest2.c'
--- a/testsuite/misc-ming.all/InitActionTest2.c 2010-05-20 12:31:34 +0000
+++ b/testsuite/misc-ming.all/InitActionTest2.c 2010-06-07 19:35:24 +0000
@@ -43,6 +43,11 @@
     ia = newSWFInitAction_withId(
             newSWFAction("trace('mc4'); _global.val4 = 'mc4';"), 4);
     SWFMovie_add(mo, (SWFBlock)ia);
+    
+    // InitActions for non-existent ID 25 parsed here:
+    ia = newSWFInitAction_withId(
+            newSWFAction("fail('InitActions executed for bogus id');"), 25);
+    SWFMovie_add(mo, (SWFBlock)ia);
 
     // Check in first frame:
     check(mo, "_global.val4 == undefined");


reply via email to

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