[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all MovieClip.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all MovieClip.as |
Date: |
Thu, 19 Apr 2007 20:50:36 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/19 20:50:36
Modified files:
testsuite/actionscript.all: MovieClip.as
Log message:
yet another softref test
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.61&r2=1.62
Patches:
Index: MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- MovieClip.as 19 Apr 2007 20:16:14 -0000 1.61
+++ MovieClip.as 19 Apr 2007 20:50:36 -0000 1.62
@@ -22,7 +22,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: MovieClip.as,v 1.61 2007/04/19 20:16:14 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.62 2007/04/19 20:50:36 strk Exp $";
#include "check.as"
@@ -312,6 +312,7 @@
softref.member = 1;
check_equals(typeof(softref.member), 'number');
check_equals(softref.member, 1);
+check_equals(softref._target, "/hardref");
#if OUTPUT_VERSION > 6
removeMovieClip(hardref); // using ActionRemoveClip (0x25)
#else
@@ -322,6 +323,7 @@
check_equals(typeof(hardref), 'undefined');
check_equals(typeof(softref), 'movieclip');
check_equals(typeof(softref.member), 'undefined');
+check_equals(typeof(softref._target), 'undefined');
_root.createEmptyMovieClip("hardref", 61);
hardref.member = 2;
check_equals(typeof(softref.member), 'number');