[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all TextField.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all TextField.as |
Date: |
Sat, 02 Feb 2008 10:58:11 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/02/02 10:58:11
Modified files:
testsuite/actionscript.all: TextField.as
Log message:
relocate the new test so it doesn't invalidate an old one
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.43&r2=1.44
Patches:
Index: TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- TextField.as 2 Feb 2008 08:51:53 -0000 1.43
+++ TextField.as 2 Feb 2008 10:58:11 -0000 1.44
@@ -19,7 +19,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: TextField.as,v 1.43 2008/02/02 08:51:53 strk Exp $";
+rcsid="$Id: TextField.as,v 1.44 2008/02/02 10:58:11 strk Exp $";
#include "check.as"
@@ -763,6 +763,12 @@
tf._width = 10;
check_equals(tf._width, 10);
+#if OUTPUT_VERSION < 8
+ xcheck_equals(origTextWidth, tf.textWidth); // textWidth isn't influenced by
wordWrap
+#else
+ check(origTextWidth > tf.textWidth);
+#endif
+
// test that adding a newline doesn't change the bounds width
// see bug #22216
tf.autoSize = 'center';
@@ -771,12 +777,6 @@
tf.text = "single line\n";
check_equals(tf._width, linewidth);
-#if OUTPUT_VERSION < 8
- xcheck_equals(origTextWidth, tf.textWidth); // textWidth isn't influenced by
wordWrap
-#else
- check(origTextWidth > tf.textWidth);
-#endif
-
//------------------------------------------------------------
// Test insane calls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/actionscript.all TextField.as,
Sandro Santilli <=