gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Matr...


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Matr...
Date: Mon, 09 Jun 2008 12:37:02 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   08/06/09 12:37:01

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: Matrix.as 

Log message:
                Some tests for odd values.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6862&r2=1.6863
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Matrix.as?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6862
retrieving revision 1.6863
diff -u -b -r1.6862 -r1.6863
--- ChangeLog   9 Jun 2008 11:55:37 -0000       1.6862
+++ ChangeLog   9 Jun 2008 12:37:00 -0000       1.6863
@@ -1,9 +1,14 @@
 2008-06-09 Benjamin Wolsey <address@hidden>
 
+       * testsuite/actionscript.all/Matrix.as: test non-numerical values
+         in Matrix constructor (Gnash passes).
+
+2008-06-09 Benjamin Wolsey <address@hidden>
+
        * server/asobj/flash/geom/Matrix_as.{cpp,h}: implement concat and
          invert. Clean up and provide a helper function for filling
          boost matrices with AS matrix properties.
-       * testsuite/actionscript.all: test Matrix more.
+       * testsuite/actionscript.all/Matrix.as: test Matrix more.
 
 2008-06-09 Sandro Santilli <address@hidden>
 

Index: testsuite/actionscript.all/Matrix.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Matrix.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/Matrix.as        9 Jun 2008 11:55:38 -0000       
1.4
+++ testsuite/actionscript.all/Matrix.as        9 Jun 2008 12:37:01 -0000       
1.5
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Matrix.as,v 1.4 2008/06/09 11:55:38 bwy Exp $";
+rcsid="$Id: Matrix.as,v 1.5 2008/06/09 12:37:01 bwy Exp $";
 
 
 // There are lots of floating point calculations here. Comparing them
@@ -223,6 +223,12 @@
 // Works for me.
 check_equals(m4.toString(), "(a=90.6729490609422, b=174.089219392218, 
c=310.274230957074, d=710.908813846049, tx=20109.8154004632, 
ty=44398.6139954762)");
 
+m7 = new Matrix ("A string", undefined, new Object, true, NaN, new Point);
+check_equals("" + m7, "(a=A string, b=undefined, c=[object Object], d=true, 
tx=NaN, ty=(x=0, y=0))");
+
+m7.rotate(2);
+check_equals(m7.toString(), "(a=NaN, b=NaN, c=NaN, d=NaN, tx=NaN, ty=NaN)");
+
 //-------------------------------------------------------------
 // END OF TEST
 //-------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]