[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text... |
Date: |
Wed, 18 Jul 2007 03:39:14 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/07/18 03:39:13
Modified files:
. : ChangeLog
testsuite/actionscript.all: TextField.as
testsuite/misc-ming.all: DefineEditTextTest.c
Log message:
* testsuite/actionscript.all/TextField.as: Updated test results.
* testsuite/misc-ming.all/DefineEditTextTest.c: Updated test
results.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3753&r2=1.3754
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.16&r2=1.17
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3753
retrieving revision 1.3754
diff -u -b -r1.3753 -r1.3754
--- ChangeLog 18 Jul 2007 03:35:37 -0000 1.3753
+++ ChangeLog 18 Jul 2007 03:39:13 -0000 1.3754
@@ -1,5 +1,7 @@
2007-07-18 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/TextField.as: Updated test results.
+ * testsuite/misc-ming.all/DefineEditTextTest.c: Updated test results.
* server/types.h: Add rgba::toRGB for serializing back to a number.
* server/edit_text_character.{cpp,h}: use instance members and
getter-setters to keep info about background and border.
Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/actionscript.all/TextField.as 13 Jul 2007 20:32:07 -0000
1.6
+++ testsuite/actionscript.all/TextField.as 18 Jul 2007 03:39:13 -0000
1.7
@@ -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: TextField.as,v 1.6 2007/07/13 20:32:07 strk Exp $";
+rcsid="$Id: TextField.as,v 1.7 2007/07/18 03:39:13 strk Exp $";
#include "check.as"
@@ -39,11 +39,11 @@
check_equals(typeof(TextField.prototype.replaceSel), 'function');
// NOTE: the following will be true after a call to createTextField ! Seek
forward to see..
-check( !TextField.prototype.hasOwnProperty('background'));
-check( !TextField.prototype.hasOwnProperty('backgroundColor'));
+xcheck( !TextField.prototype.hasOwnProperty('background'));
+xcheck( !TextField.prototype.hasOwnProperty('backgroundColor'));
check( !TextField.prototype.hasOwnProperty('autoSize') );
-check( !TextField.prototype.hasOwnProperty('border') );
-check( !TextField.prototype.hasOwnProperty('borderColor') );
+xcheck( !TextField.prototype.hasOwnProperty('border') );
+xcheck( !TextField.prototype.hasOwnProperty('borderColor') );
check( !TextField.prototype.hasOwnProperty('bottomScroll') );
check( !TextField.prototype.hasOwnProperty('embedFonts') );
check( !TextField.prototype.hasOwnProperty('hscroll') );
@@ -108,11 +108,11 @@
check_equals(typeof(tf), 'object');
// NOTE: the following were false before the call to createTextField ! Seek
backward to see..
-xcheck( TextField.prototype.hasOwnProperty('background'));
-xcheck( TextField.prototype.hasOwnProperty('backgroundColor'));
+check( TextField.prototype.hasOwnProperty('background'));
+check( TextField.prototype.hasOwnProperty('backgroundColor'));
xcheck( TextField.prototype.hasOwnProperty('autoSize') );
-xcheck( TextField.prototype.hasOwnProperty('border') );
-xcheck( TextField.prototype.hasOwnProperty('borderColor') );
+check( TextField.prototype.hasOwnProperty('border') );
+check( TextField.prototype.hasOwnProperty('borderColor') );
xcheck( TextField.prototype.hasOwnProperty('bottomScroll') );
xcheck( TextField.prototype.hasOwnProperty('embedFonts') );
xcheck( TextField.prototype.hasOwnProperty('hscroll') );
@@ -149,12 +149,12 @@
// Check TextField.background
-xcheck_equals(typeof(tf.background), 'boolean');
+check_equals(typeof(tf.background), 'boolean');
check(!tf.hasOwnProperty('background'));
// Check TextField.backgroundColor
-xcheck_equals(typeof(tf.backgroundColor), 'number');
+check_equals(typeof(tf.backgroundColor), 'number');
check(!tf.hasOwnProperty('backgroundColor'));
// Check TextField.border
Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- testsuite/misc-ming.all/DefineEditTextTest.c 18 Jul 2007 02:44:18
-0000 1.16
+++ testsuite/misc-ming.all/DefineEditTextTest.c 18 Jul 2007 03:39:13
-0000 1.17
@@ -149,12 +149,12 @@
SWFMovie_nextFrame(mo);
check_equals(mo, "dtext1.__proto__", "TextField.prototype");
- xcheck(mo, "TextField.prototype.hasOwnProperty('background')");
+ check(mo, "TextField.prototype.hasOwnProperty('background')");
check_equals(mo, "typeof(dtext1)", "'object'");
check_equals(mo, "typeof(dtext1.text)", "'string'");
- xcheck_equals(mo, "typeof(dtext1.background)", "'boolean'");
- xcheck_equals(mo, "typeof(dtext1.backgroundColor)", "'number'");
+ check_equals(mo, "typeof(dtext1.background)", "'boolean'");
+ check_equals(mo, "typeof(dtext1.backgroundColor)", "'number'");
check_equals(mo, "typeof(dtext1.textColor)", "'number'");
check_equals(mo, "typeof(dtext1._alpha)", "'number'");
@@ -171,8 +171,8 @@
check_equals(mo, "dtext1.hasOwnProperty('_alpha')", "false");
xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true");
- xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
- xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')",
"true");
+ check_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
+ check_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')",
"true");
xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('textColor')", "true");
// Why _alpha is special???
check_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
@@ -180,12 +180,12 @@
check_equals(mo, "dtext1.text", "'Hello'");
check_equals(mo, "etext1.text", "'Hello'");
check_equals(mo, "dtext2.text", "'Hello'");
- xcheck_equals(mo, "dtext1.background", "false");
- xcheck_equals(mo, "etext1.background", "false");
- xcheck_equals(mo, "dtext2.background", "false");
- xcheck_equals(mo, "dtext1.backgroundColor", "0xffffff");
- xcheck_equals(mo, "etext1.backgroundColor", "0xffffff");
- xcheck_equals(mo, "dtext2.backgroundColor", "0xffffff");
+ check_equals(mo, "dtext1.background", "false");
+ check_equals(mo, "etext1.background", "false");
+ check_equals(mo, "dtext2.background", "false");
+ check_equals(mo, "dtext1.backgroundColor", "0xffffff");
+ check_equals(mo, "etext1.backgroundColor", "0xffffff");
+ check_equals(mo, "dtext2.backgroundColor", "0xffffff");
xcheck_equals(mo, "dtext1.textColor", "0x000000");
xcheck_equals(mo, "etext1.textColor", "0x000000");
xcheck_equals(mo, "dtext2.textColor", "0x000000");