abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r442041 - /incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java
Date Mon, 11 Sep 2006 00:03:31 GMT
Author: jmsnell
Date: Sun Sep 10 17:03:31 2006
New Revision: 442041

URL: http://svn.apache.org/viewvc?view=rev&rev=442041
Log:
Rename isTrue to booleanValueOf to be consistent with the valueOf and numericValueOf methods

Modified:
    incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java

Modified: incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java?view=diff&rev=442041&r1=442040&r2=442041
==============================================================================
--- incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java
(original)
+++ incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FOMTest.java
Sun Sep 10 17:03:31 2006
@@ -291,7 +291,7 @@
     Feed feed = doc.getRoot();
     XPath xpath = getXPath();
     assertEquals(xpath.evaluate("count(/a:feed)", feed), 1.0d);
-    assertTrue(xpath.isTrue("/a:feed/a:entry", feed));
+    assertTrue(xpath.booleanValueOf("/a:feed/a:entry", feed));
     assertEquals(xpath.numericValueOf("count(/a:feed)", feed), 1.0d);
     assertEquals(xpath.valueOf("/a:feed/a:entry/a:title", feed), "Atom-Powered Robots Run
Amok");
     assertEquals(xpath.selectNodes("/a:feed/a:entry", feed).size(), 1);



Mime
View raw message