commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r570169 - /commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/compiler/CoreFunctionTest.java
Date Mon, 27 Aug 2007 16:01:27 GMT
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() {



Mime
View raw message