[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-swfc.all button_test1.sc
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/misc-swfc.all button_test1.sc |
Date: |
Wed, 16 Jan 2008 11:55:27 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/01/16 11:55:27
Modified files:
testsuite/misc-swfc.all: button_test1.sc
Log message:
few more tests
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/button_test1.sc?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: button_test1.sc
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/button_test1.sc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- button_test1.sc 16 Jan 2008 11:31:08 -0000 1.1
+++ button_test1.sc 16 Jan 2008 11:55:27 -0000 1.2
@@ -82,12 +82,20 @@
check_equals(button3['_root'], _level0);
check_equals(button3['_global'], _global);
check_equals(button3['_level0'], _root);
+ check_equals(button3['_target'], "/button3");
+ check_equals(button3['_parent'], _root);
check_equals(typeof(button3.instance1), 'movieclip');
check_equals(typeof(button3.instANce1), 'movieclip'); //
case-insensitive
check_equals(typeof(button3.instance1.button1), 'object');
check_equals(typeof(button3.instance1.button2), 'object');
+ check_equals(button3.instance1['_target'],
"/button3/instance1");
+ check_equals(button3.instance1['_parent'], _level0.button3);
check_equals(button3.instance1.button1._height, 300);
+ check_equals(button3.instance1.button1['_target'],
"/button3/instance1/button1");
+ check_equals(button3.instance1.button1['_parent'],
_level0.button3.instance1);
check_equals(button3.instance1.button2._height, 200);
+ check_equals(button3.instance1.button2['_target'],
"/button3/instance1/button2");
+ check_equals(button3.instance1.button2['_parent'],
_level0.button3.instance1);
endOfTest(); // comment out this line and uncomment the
following ones
// when MovieTester-based runners are available,
or you
@@ -115,7 +123,7 @@
endOfTest = function()
{
- totals(10);
+ totals(18);
};
_global.runNextTest = function()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/misc-swfc.all button_test1.sc,
Sandro Santilli <=