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: Thu, 03 Apr 2008 07:59:09 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/04/03 07:59:09

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

Log message:
                  check that even if you delete the associated variable
                  and then set it back, the textfield still uses that value.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6165&r2=1.6166
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6165
retrieving revision 1.6166
diff -u -b -r1.6165 -r1.6166
--- ChangeLog   2 Apr 2008 21:13:57 -0000       1.6165
+++ ChangeLog   3 Apr 2008 07:59:08 -0000       1.6166
@@ -1,3 +1,9 @@
+2008-04-03 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-ming.all/DefineEditTextVariableNameText.c:
+         check that even if you delete the associated variable
+         and then set it back, the textfield still uses that value.
+
 2008-04-02 Benjamin Wolsey <address@hidden>
 
        * server/asobj/Date.cpp: disable timezone offset for all systems

Index: testsuite/misc-ming.all/DefineEditTextVariableNameTest.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/misc-ming.all/DefineEditTextVariableNameTest.c    3 Apr 2008 
05:48:49 -0000       1.24
+++ testsuite/misc-ming.all/DefineEditTextVariableNameTest.c    3 Apr 2008 
07:59:09 -0000       1.25
@@ -240,7 +240,7 @@
     Ming_setScale(20.0); /* let's talk pixels */
  
     mo = newSWFMovie();
-    SWFMovie_setRate(mo, 1);
+    SWFMovie_setRate(mo, 2);
     SWFMovie_setDimension(mo, 628, 451);
 
     bfont = get_default_font(srcdir);
@@ -357,6 +357,12 @@
         "mc5.textfield.text = 'new_text';"
         "mc5.textfield._width = 60;");
     check_equals(mo, "mc5.text_var5", "'new_text'");
+    add_actions(mo, "mc5.text_var5 = 'change back';");
+    check_equals(mo, "mc5.textfield.text", "'change back'");
+    add_actions(mo, 
+        "delete mc5.text_var5;"
+        "mc5.text_var5 = 'revival';"); 
+    add_actions(mo, "mc5.textfield.text = 'revival';"); 
     SWFMovie_nextFrame(mo); 
     
     //
@@ -377,7 +383,10 @@
         "mc6.textfield.text = 'new_text';"
         "mc6.textfield._width = 60;");
     check_equals(mo, "mc6.text_var6", "'new_text'");
+    add_actions(mo, "mc6.text_var6 = 'change back';");
+    check_equals(mo, "mc6.textfield.text", "'change back'");
     SWFMovie_nextFrame(mo); 
+
     /*********************************************
      *
      * Print test results




reply via email to

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