Revision: 5776 Author: [email protected] Date: Thu Jul 23 07:56:17 2009 Log: Rollbacks the offending commits, c5774 and part of c5773.
http://code.google.com/p/google-web-toolkit/source/detail?r=5776 Modified: /trunk/common.ant.xml /trunk/user/test/com/google/gwt/xml/client/XMLTest.java ======================================= --- /trunk/common.ant.xml Wed Jul 22 10:25:37 2009 +++ /trunk/common.ant.xml Thu Jul 23 07:56:17 2009 @@ -182,7 +182,7 @@ failureproperty="junit.failure" tempdir="@{test.out}" > <jvmarg line="${junit.platform.args}" /> <jvmarg line="-Xmx768m" /> - <sysproperty key="gwt.args" value="${junit.notheadless.arg} @{test.args} -batch module" /> + <sysproperty key="gwt.args" value="${junit.notheadless.arg} @{test.args}" /> <sysproperty key="java.awt.headless" value="${junit.headless}" /> <sysproperty key="gwt.devjar" value="${gwt.dev.staging.jar}" /> <classpath> ======================================= --- /trunk/user/test/com/google/gwt/xml/client/XMLTest.java Wed Jul 22 18:24:34 2009 +++ /trunk/user/test/com/google/gwt/xml/client/XMLTest.java Thu Jul 23 07:56:17 2009 @@ -268,12 +268,10 @@ public void testNavigation() { Document d = createTestDocument(); Element documentElement = d.getDocumentElement(); - // TODO (amitmanjhi): investigate why these tests are failing just in batch - // mode for both web and hosted mode tests. -// assertEquals("getPreviousSibling", documentElement.getPreviousSibling(), -// d.getChildNodes().item(0)); -// assertEquals("getNextSibling", documentElement.getNextSibling(), -// d.getChildNodes().item(2)); + assertEquals("getPreviousSibling", documentElement.getPreviousSibling(), + d.getChildNodes().item(0)); + assertEquals("getNextSibling", documentElement.getNextSibling(), + d.getChildNodes().item(2)); assertEquals("getDocumentElement", documentElement, d.getChildNodes().item( 1)); assertEquals("getTagName", documentElement.getTagName(), "doc"); @@ -310,9 +308,7 @@ assertEquals(top.getChildNodes().getLength(), 1); Comment commentNode = ns.createComment("comment ccc"); top.replaceChild(commentNode, yyy); - // TODO (amitmanjhi): investigate why this test is failing just in batch - // mode for both web and hosted mode tests. - // assertEquals(top.getFirstChild(), commentNode); + assertEquals(top.getFirstChild(), commentNode); assertEquals(top.getChildNodes().getLength(), 1); } --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
