gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10301: Mark expected failures.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10301: Mark expected failures.
Date: Wed, 19 Nov 2008 12:43:51 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10301
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Wed 2008-11-19 12:43:51 +0100
message:
  Mark expected failures.
modified:
  testsuite/actionscript.all/XMLNode.as
    ------------------------------------------------------------
    revno: 10295.1.5
    committer: Benjamin Wolsey <address@hidden>
    branch nick: test
    timestamp: Wed 2008-11-19 12:43:27 +0100
    message:
      xchecks.
    modified:
      testsuite/actionscript.all/XMLNode.as
=== modified file 'testsuite/actionscript.all/XMLNode.as'
--- a/testsuite/actionscript.all/XMLNode.as     2008-11-19 09:39:20 +0000
+++ b/testsuite/actionscript.all/XMLNode.as     2008-11-19 11:43:27 +0000
@@ -194,26 +194,33 @@
 // TODO: test removeNode, insertNode
 
 // Test attributes. It's just a normal object.
+
+// FIXME: This is how it is now.
+#if OUTPUT_VERSION > 5
+xcheck_equals(node2.attributes, undefined);
+#else
 check_equals(node2.attributes, undefined);
+#endif
+
 check_equals(typeof(node2.attributes), "object");
 node2.attributes[3] = "a3";
-check_equals(node2.attributes[3], "a3");
-check_equals(node2.attributes["3"], "a3");
+xcheck_equals(node2.attributes[3], "a3");
+xcheck_equals(node2.attributes["3"], "a3");
 node2.attributes.a = "aa";
-check_equals(node2.attributes.a, "aa");
-check_equals(node2.attributes["a"], "aa");
-check_equals(node2.toString(), '<node2 a="aa" 3="a3">second text 
node</node2>');
+xcheck_equals(node2.attributes.a, "aa");
+xcheck_equals(node2.attributes["a"], "aa");
+xcheck_equals(node2.toString(), '<node2 a="aa" 3="a3">second text 
node</node2>');
 
 // Seems not to be overwritable
 node2.attributes = 3;
-check_equals(node2.toString(), '<node2 a="aa" 3="a3">second text 
node</node2>');
+xcheck_equals(node2.toString(), '<node2 a="aa" 3="a3">second text 
node</node2>');
 
 ASSetPropFlags(XMLNode.prototype, "attributes", 0, 1);
 node77 = doc.createElement("tag");
 node77.attributes.a1 = "at1";
-check_equals(node77.toString(), '<tag a1="at1" />');
+xcheck_equals(node77.toString(), '<tag a1="at1" />');
 node77.attributes = 5;
-check_equals(node77.toString(), '<tag a1="at1" />');
+xcheck_equals(node77.toString(), '<tag a1="at1" />');
 
 // Check namespace functions.
 
@@ -344,4 +351,4 @@
 check_equals(ns.localName, "tag");
 check_equals(ns.prefix, "");
 
-check_totals(152);
+check_totals(165);


reply via email to

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