You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2007/12/14 19:55:01 UTC

svn commit: r604256 - /commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java

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() {