gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
Date: Tue, 28 Nov 2006 17:58:07 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/11/28 17:58:07

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: DefineEditTextVariableNameTest.c 

Log message:
                * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
                  test TextField.variable.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1807&r2=1.1808
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1807
retrieving revision 1.1808
diff -u -b -r1.1807 -r1.1808
--- ChangeLog   28 Nov 2006 17:47:37 -0000      1.1807
+++ ChangeLog   28 Nov 2006 17:58:06 -0000      1.1808
@@ -1,5 +1,7 @@
 2006-11-28 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/DefineEditTextVariableNameTest.c:
+         test TextField.variable.
        * testsuite/misc-ming.all/ming_utils.c (add_xtrace_function):
          register 'xtrace' on the _root movie.
        * gui/Player.cpp: fix handling of the -d switch.

Index: testsuite/misc-ming.all/DefineEditTextVariableNameTest.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- testsuite/misc-ming.all/DefineEditTextVariableNameTest.c    15 Nov 2006 
15:30:01 -0000      1.16
+++ testsuite/misc-ming.all/DefineEditTextVariableNameTest.c    28 Nov 2006 
17:58:07 -0000      1.17
@@ -219,6 +219,8 @@
         *
         *********************************************/
 
+       char tmp[1024];
+
        set_text(mo, "Hello", varName1);
        shift_horizontally(mo, varName1, 10);
        check_equals(mo, "mc1.textfield.text", "'Hello'", 0);
@@ -228,12 +230,16 @@
        check_equals(mo, "mc1._width", "136", 0);
        check_equals(mo, "mc2._height", "16", 0);
        check_equals(mo, "mc2._width", "100", 0);
+       snprintf(tmp, 1024, "'%s'", varName1);
+       check_equals(mo, "mc1.textfield.variable", tmp, 0);
 
        set_text(mo, "Hi", varName2);
        shift_horizontally(mo, varName2, 10);
        check_equals(mo, "mc2.textfield.text", "'Hi'", 0); 
        check_equals(mo, varName2, "'Hi'", 0);
        check_equals(mo, "mc2.textfield._x", "150", 0);
+       snprintf(tmp, 1024, "'%s'", varName2);
+       check_equals(mo, "mc2.textfield.variable", tmp, 0);
 
        SWFMovie_nextFrame(mo); /* showFrame */
 




reply via email to

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