gnash-commit
[Top][All Lists]
Advanced

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

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


From: Zou Lunkai
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextVar...
Date: Tue, 18 Sep 2007 11:33:52 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/09/18 11:33:52

Modified files:
        testsuite/misc-ming.all: DefineEditTextVariableNameTest2.c 

Log message:
        few more tests about TextField.variable

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest2.c?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: DefineEditTextVariableNameTest2.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DefineEditTextVariableNameTest2.c   27 Aug 2007 09:56:01 -0000      1.2
+++ DefineEditTextVariableNameTest2.c   18 Sep 2007 11:33:52 -0000      1.3
@@ -151,6 +151,13 @@
   check_equals(mo, "dtext1.text", "'Hahaha'");
   xcheck_equals(mo, "dtext2.text", "'Hahaha'");
   xcheck_equals(mo, "dtext3.text", "'Hahaha'");
+  
+  add_actions(mo, "dtext1.variable = 'newName'; ");
+  // Maybe 'variable' is the connection point?
+  xcheck_equals(mo, "dtext1.text", "'Hello'");
+  // Change 'variable' back to its orignal string.
+  add_actions(mo, "dtext1.variable = 'edit_text_var'; ");
+  xcheck_equals(mo, "dtext1.text", "'Hahaha'");
   SWFMovie_nextFrame(mo); 
   
   // Frame6: remove dtext1




reply via email to

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