From: Jean-Marc V. <jm...@us...> - 2004-07-07 08:29:38
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xquery/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13064/src/org/exist/xquery/test Modified Files: XPathQueryTest.java Log Message: implement the missing constructors taking BigInteger as argument, and private boolean checkType(BigInteger value2, int type2) Index: XPathQueryTest.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xquery/test/XPathQueryTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XPathQueryTest.java 29 Jan 2004 15:06:42 -0000 1.1 --- XPathQueryTest.java 7 Jul 2004 08:29:27 -0000 1.2 *************** *** 114,117 **** --- 114,127 ---- "/test/item[round(price + 3) > 60]"); assertEquals(result.getSize(), 1); + + result = + service.queryResource( + "numbers.xml", + "min( 123456789123456789123456789, " + + "123456789123456789123456789123456789123456789 )"); + assertEquals("minimum of big integers", + result.getResource(0).getContent(), + "123456789123456789123456789" ); + } catch (XMLDBException e) { fail(e.getMessage()); |