commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r603060 - /commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/BasicNodeSetTest.java
Date Mon, 10 Dec 2007 21:45:19 GMT
Author: mbenson
Date: Mon Dec 10 13:45:19 2007
New Revision: 603060

URL: http://svn.apache.org/viewvc?rev=603060&view=rev
Log:
basic nodes

Modified:
    commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/BasicNodeSetTest.java

Modified: commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/BasicNodeSetTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/BasicNodeSetTest.java?rev=603060&r1=603059&r2=603060&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/BasicNodeSetTest.java (original)
+++ commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/BasicNodeSetTest.java Mon
Dec 10 13:45:19 2007
@@ -22,7 +22,8 @@
  * Test BasicNodeSet
  * 
  * @author Matt Benson
- * @version $Revision$ $Date$
+ * @version $Revision$ $Date: 2007-12-10 15:15:27 -0600 (Mon, 10 Dec
+ *          2007) $
  */
 public class BasicNodeSetTest extends JXPathTestCase {
     /** JXPathContext */
@@ -89,8 +90,10 @@
         addPointers("/integers");
         assertEquals(nodeSet.getPointers().toString(), list("/integers[1]",
                 "/integers[2]", "/integers[3]", "/integers[4]").toString());
-        assertEquals(list(new Integer(1), new Integer(2), new Integer(3), new Integer(4)),
-                nodeSet.getValues());
+        assertEquals(list(new Integer(1), new Integer(2), new Integer(3),
+                new Integer(4)), nodeSet.getValues());
+        assertEquals(list(new Integer(1), new Integer(2), new Integer(3),
+                new Integer(4)), nodeSet.getNodes());
     }
 
     /**
@@ -103,5 +106,8 @@
                 .toString(), nodeSet.getPointers().toString());
         assertEquals(list(new Integer(1), new Integer(2), new Integer(3)),
                 nodeSet.getValues());
+        assertEquals(list(new Integer(1), new Integer(2), new Integer(3)),
+                nodeSet.getNodes());
     }
+
 }



Mime
View raw message