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/08/27 18:01:27 UTC

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

Author: mbenson
Date: Mon Aug 27 09:01:27 2007
New Revision: 570169

URL: http://svn.apache.org/viewvc?rev=570169&view=rev
Log:
move non-numeric function test

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

Modified: commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/CoreFunctionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/CoreFunctionTest.java?rev=570169&r1=570168&r2=570169&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/CoreFunctionTest.java (original)
+++ commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/CoreFunctionTest.java Mon Aug 27 09:01:27 2007
@@ -106,6 +106,7 @@
         assertXPathValue(context, "false()", Boolean.FALSE);
         assertXPathValue(context, "not(false())", Boolean.TRUE);
         assertXPathValue(context, "not(true())", Boolean.FALSE);
+        assertXPathValue(context, "null()", null);        
         assertXPathValue(context, "number('1')", new Double(1));
         assertXPathValue(context, "number($bool_true)", new Double(1));
         assertXPathValue(context, "number($bool_false)", new Double(0));
@@ -115,7 +116,6 @@
         assertXPathValue(context, "ceiling(-1.5)", new Double(-1));
         assertXPathValue(context, "round(1.5)", new Double(2));
         assertXPathValue(context, "round(-1.5)", new Double(-1));
-        assertXPathValue(context, "null()", null);        
     }
 
     public void testIDFunction() {