[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-swfc.all opcode_guard_test...
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash/testsuite/misc-swfc.all opcode_guard_test... |
Date: |
Thu, 25 Oct 2007 08:57:22 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/10/25 08:57:22
Modified files:
testsuite/misc-swfc.all: opcode_guard_test2.sc
Log message:
few more tests for setTagetExpression, all passed
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/opcode_guard_test2.sc?cvsroot=gnash&r1=1.9&r2=1.10
Patches:
Index: opcode_guard_test2.sc
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/opcode_guard_test2.sc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- opcode_guard_test2.sc 18 Oct 2007 09:13:37 -0000 1.9
+++ opcode_guard_test2.sc 25 Oct 2007 08:57:22 -0000 1.10
@@ -159,6 +159,21 @@
setTarget('');
_root.check_equals(mc99Ref.testvar, 99);
+
+
+ ref200=createEmptyMovieClip('name', 200);
+ ref200.testvar = 200;
+ ref200.onUnload = function() {};
+ ref201=createEmptyMovieClip('name', 201);
+ ref201.testvar = 201;
+ ref200.removeMovieClip();
+ setTarget(ref200);
+ _root.check_equals(testvar, 200);
+ setTarget('');
+
+ setTarget(ref201);
+ _root.check_equals(testvar, 200);
+ setTarget('');
.end
@@ -167,7 +182,7 @@
.action:
stop();
// Gnash failed on totals() by discarding some checks.
- xtotals(15);
+ xtotals(17);
.end
.end // file end