[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all XML.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all XML.as |
Date: |
Wed, 04 Apr 2007 14:33:33 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/04 14:33:33
Modified files:
testsuite/actionscript.all: XML.as
Log message:
fixed case-sensitiveness test
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XML.as?cvsroot=gnash&r1=1.22&r2=1.23
Patches:
Index: XML.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XML.as,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- XML.as 4 Apr 2007 14:22:11 -0000 1.22
+++ XML.as 4 Apr 2007 14:33:32 -0000 1.23
@@ -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: XML.as,v 1.22 2007/04/04 14:22:11 strk Exp $";
+rcsid="$Id: XML.as,v 1.23 2007/04/04 14:33:32 strk Exp $";
#include "dejagnu.as"
#include "utils.as"
@@ -475,8 +475,10 @@
};
check_equals(typeof(myxml.status), 'number');
#if OUTPUT_VERSION < 7
-xcheck_equals(typeof(myxml.STATUS), 'number');
-#endif // OUTPUT_VERSION < 7
+check_equals(typeof(myxml.STATUS), 'number');
+#else // OUTPUT_VERSION >= 7
+check_equals(typeof(myxml.STATUS), 'undefined');
+#endif // OUTPUT_VERSION >= 7
check_equals(typeof(myxml.__proto__.status), 'undefined');
check_equals(typeof(myxml.loaded), 'undefined');
#if OUTPUT_VERSION >= 6
@@ -487,8 +489,10 @@
check_equals(typeof(myxml.loaded), 'boolean');
#if OUTPUT_VERSION < 7
-xcheck_equals(typeof(myxml.LOADED), 'boolean');
-#endif // OUTPUT_VERSION < 7
+check_equals(typeof(myxml.LOADED), 'boolean');
+#else // OUTPUT_VERSION >= 7
+check_equals(typeof(myxml.LOADED), 'undefined');
+#endif // OUTPUT_VERSION >= 7
xcheck(! myxml.loaded ); // is really loaded in a background thread
xcheck_equals(myxml.loaded, false ); // is really loaded in a background thread
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/actionscript.all XML.as,
Sandro Santilli <=