commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r604256 - /commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
Date Fri, 14 Dec 2007 18:55:01 GMT
Author: mbenson
Date: Fri Dec 14 10:55:01 2007
New Revision: 604256

URL: http://svn.apache.org/viewvc?rev=604256&view=rev
Log:
additional test for [JXPATH-108]

Modified:
    commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java

Modified: commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java?rev=604256&r1=604255&r2=604256&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
(original)
+++ commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java
Fri Dec 14 10:55:01 2007
@@ -374,6 +374,8 @@
             "/beans[1]/@name");
 
         assertEquals(2, ((Number) context.getValue("count(test:nodeSet())")).intValue());
+
+        assertXPathValue(context, "test:nodeSet()", testBean.getBeans()[0]);
     }
 
     public void testEstablishNodeSetBaseline() {



Mime
View raw message