[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9645: Add test for effects of setti
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9645: Add test for effects of setting _width on _xscale and _height on _yscale |
Date: |
Tue, 26 Aug 2008 16:07:38 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9645
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Tue 2008-08-26 16:07:38 +0200
message:
Add test for effects of setting _width on _xscale and _height on _yscale
modified:
testsuite/actionscript.all/MovieClip.as
=== modified file 'testsuite/actionscript.all/MovieClip.as'
--- a/testsuite/actionscript.all/MovieClip.as 2008-08-25 19:47:00 +0000
+++ b/testsuite/actionscript.all/MovieClip.as 2008-08-26 14:07:38 +0000
@@ -31,15 +31,15 @@
#endif
#if OUTPUT_VERSION == 6
- check_totals(661); // SWF6
+ check_totals(663); // SWF6
#endif
#if OUTPUT_VERSION == 7
- check_totals(678); // SWF7
+ check_totals(680); // SWF7
#endif
#if OUTPUT_VERSION >= 8
- check_totals(679); // SWF8+
+ check_totals(681); // SWF8+
#endif
play();
@@ -1095,6 +1095,12 @@
check_equals(draw._xscale, -50);
check_equals(draw._width, 5);
+draw._width = 10;
+check_equals(draw._xscale, 100); // reset to positive on setting _width
+
+draw._height = 10;
+check_equals(draw._yscale, 50); // reset to positive on setting _height
+
container._xscale = 100;
container._yscale = 100;
draw._yscale = 100;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9645: Add test for effects of setting _width on _xscale and _height on _yscale,
Sandro Santilli <=