[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi... |
Date: |
Tue, 29 Apr 2008 06:10:03 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/04/29 06:10:03
Modified files:
. : ChangeLog
testsuite/actionscript.all: MovieClip.as
Log message:
test influence of strokes in bounds of shapes.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6436&r2=1.6437
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.128&r2=1.129
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6436
retrieving revision 1.6437
diff -u -b -r1.6436 -r1.6437
--- ChangeLog 28 Apr 2008 22:34:04 -0000 1.6436
+++ ChangeLog 29 Apr 2008 06:10:01 -0000 1.6437
@@ -1,3 +1,8 @@
+2008-04-29 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/MovieClip.as: test influence
+ of strokes in bounds of shapes.
+
2008-04-28 Russ Nelson <address@hidden>
* Put translations in alphabetic order
Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -b -r1.128 -r1.129
--- testsuite/actionscript.all/MovieClip.as 27 Apr 2008 15:49:17 -0000
1.128
+++ testsuite/actionscript.all/MovieClip.as 29 Apr 2008 06:10:02 -0000
1.129
@@ -20,9 +20,9 @@
// 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.128 2008/04/27 15:49:17 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.129 2008/04/29 06:10:02 strk Exp $";
-rcsid="$Id: MovieClip.as,v 1.128 2008/04/27 15:49:17 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.129 2008/04/29 06:10:02 strk Exp $";
#include "check.as"
// To be called at end of test
@@ -33,15 +33,15 @@
#endif
#if OUTPUT_VERSION == 6
- check_totals(627); // SWF6
+ check_totals(629); // SWF6
#endif
#if OUTPUT_VERSION == 7
- check_totals(644); // SWF7
+ check_totals(646); // SWF7
#endif
#if OUTPUT_VERSION >= 8
- check_totals(645); // SWF8+
+ check_totals(647); // SWF8+
#endif
play();
@@ -1192,6 +1192,26 @@
check(b.yMin - 6710886.35 < 0.0001);
check(b.yMax - 6710886.35 < 0.0001);
+container.createEmptyMovieClip("draw3",13);
+draw = container.draw3;
+with (draw)
+{
+ lineStyle(10, 0x000000);
+ moveTo(10, 10);
+ lineTo(10, 30);
+ lineTo(20, 30);
+ lineTo(20, 10);
+ lineTo(10, 10);
+}
+#if OUTPUT_VERSION < 8
+ check_equals(draw._width, 30);
+ check_equals(draw._height, 40);
+#else
+ // SWF8 results are more correct (half-thickness added on each side)
+ xcheck_equals(draw._width, 20);
+ xcheck_equals(draw._height, 30);
+#endif
+
#endif // OUTPUT_VERSION >= 6
//----------------------------------------------