[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9874: Test: matrix caches not updat
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9874: Test: matrix caches not updated assigning Matrix to Transform |
Date: |
Tue, 30 Sep 2008 09:13:45 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9874
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Tue 2008-09-30 09:13:45 +0200
message:
Test: matrix caches not updated assigning Matrix to Transform
modified:
testsuite/actionscript.all/Transform.as
=== modified file 'testsuite/actionscript.all/Transform.as'
--- a/testsuite/actionscript.all/Transform.as 2008-09-25 14:26:24 +0000
+++ b/testsuite/actionscript.all/Transform.as 2008-09-30 07:13:45 +0000
@@ -164,11 +164,18 @@
check_equals(mc2.transform.matrix.toString(), trans.matrix.toString());
check_equals(mat.toString(), "(a=1, b=0, c=0, d=1, tx=0, ty=0)");
+check_equals(mc2._xscale, 100);
+check_equals(mc2._yscale, 100);
+check_equals(mc2._rotation, 1.5);
trans.matrix = new Matrix(2, 0, 0, 2, 10, 11);
check_equals(trans.matrix.toString(), "(a=2, b=0, c=0, d=2, tx=10, ty=11)");
check_equals(mc2.transform.matrix.toString(), "(a=2, b=0, c=0, d=2, tx=10,
ty=11)");
+check_equals(mc2._xscale, 100);
+check_equals(mc2._yscale, 100);
+check_equals(mc2._rotation, 1.5);
+
delete mc2;
check_equals(mc2.transform.matrix.toString(), undefined);
@@ -203,5 +210,5 @@
xcheck_equals(mcOld.transform.matrix.toString(), "(a=4, b=0.300000011920929,
c=0.300000011920929, d=1, tx=1, ty=0)");
-totals(64);
+totals(70);
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9874: Test: matrix caches not updated assigning Matrix to Transform,
Sandro Santilli <=