gnash-commit
[Top][All Lists]
Advanced

[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: Tue, 18 Dec 2007 11:24:45 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/12/18 11:24:45

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: TextField.as 

Log message:
        add a test and check total tests run.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5204&r2=1.5205
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.33&r2=1.34

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5204
retrieving revision 1.5205
diff -u -b -r1.5204 -r1.5205
--- ChangeLog   18 Dec 2007 11:06:02 -0000      1.5204
+++ ChangeLog   18 Dec 2007 11:24:45 -0000      1.5205
@@ -1,5 +1,7 @@
 2007-12-18 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/TextField.as: add a test and check total
+         tests run.
        * configure.ac: point to AGG website when warning about old version.
        * testsuite/misc-ming.all/DefineEditTextVariableNameTest2.c:
          Found out the "toString not invoked" was a bogus deduction.

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- testsuite/actionscript.all/TextField.as     18 Dec 2007 07:49:57 -0000      
1.33
+++ testsuite/actionscript.all/TextField.as     18 Dec 2007 11:24:45 -0000      
1.34
@@ -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.33 2007/12/18 07:49:57 strk Exp $";
+rcsid="$Id: TextField.as,v 1.34 2007/12/18 11:24:45 strk Exp $";
 
 #include "check.as"
 
@@ -563,6 +563,7 @@
 check_equals(tf.variable, '_level0.inputVar'); 
 xcheck_equals(typeof(_level0.inputVar), 'undefined');
 xcheck_equals(tf.text, "hello world");  // as _level0.inputVar is unexistent
+xcheck(!_level0.hasOwnProperty('inputVar'));
 _level0.inputVar = "dynamic variable";
 check_equals(tf.text, "dynamic variable");
 tf.text = "back-propagated";
@@ -715,5 +716,14 @@
 check_equals(tf2._y, 6);
 
 
-#endif // OUTPUT_VERSION > 5
-totals();
+#if OUTPUT_VERSION < 8
+ check_totals(352);
+#else
+ check_totals(353);
+#endif
+
+#else // OUTPUT_VERSION <= 5
+
+ totals();
+
+#endif




reply via email to

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