The problem is the test, not the change to the DBPostgres code. Should be fixed now.
-jon on 2002/9/4 3:52 PM, "Russell Smyth" <[EMAIL PROTECTED]> wrote: > this failure can be corrected by rolling back > src/java/org/apache/torque/adapter/DBPostgres.java to r1.9. > I am not ready to dig through torque to find the problem, but > this should be fairly easy for the torque core developers to find > with this info! > > Here is the diff that breaks it > Index: src/java/org/apache/torque/adapter/DBPostgres.java > =================================================================== > RCS file: > /home/cvspublic/jakarta-turbine-torque/src/java/org/apache/torque/adapter/DB > Postgres.java,v > retrieving revision 1.9 > retrieving revision 1.10 > diff -r1.9 -r1.10 > 66c66 > < * @version $Id: DBPostgres.java,v 1.9 2002/06/24 18:12:19 mpoeschl Exp $ > --- >> * @version $Id: DBPostgres.java,v 1.10 2002/08/31 22:57:50 jon Exp $ > 190c190 > < return (b == null) ? "false" : b.toString(); > --- >> return (b == null) ? "0" : "1"; > >> -----Original Message----- >> From: Russell Smyth [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, September 04, 2002 3:33 PM >> To: Turbine Torque Developers List (E-mail) >> Subject: error building torque from cvs >> >> >> I am getting the following error building torque from latest >> cvs - I cannot >> track it as the mentioned test and its associated class have >> not changed >> recently >> >> Any help would be appreciated! >> >> test:test: >> [junit] dir attribute ignored if running in the same VM >> [junit] Running >> org.apache.torque.engine.database.model.NameFactoryTest >> [junit] Tests run: 1, Failures: 0, Errors: 0, Time >> elapsed: 0.281 sec >> [junit] dir attribute ignored if running in the same VM >> [junit] Running org.apache.torque.om.NumberKeyTest >> [junit] Tests run: 5, Failures: 0, Errors: 0, Time >> elapsed: 0.016 sec >> [junit] dir attribute ignored if running in the same VM >> [junit] Running org.apache.torque.util.CriteriaTest >> [junit] Tests run: 5, Failures: 1, Errors: 0, Time >> elapsed: 0.485 sec >> [junit] [ERROR] TEST org.apache.torque.util.CriteriaTest FAILED >> >> [ERROR] BUILD FAILED >> [ERROR] File...... >> C:\java\maven-1.0-beta-5\plugins\maven-test-plugin-1.0\plugin >> .jelly >> [ERROR] Element... fail >> [ERROR] Line...... 98 >> [ERROR] Column.... 52 >> [ERROR] There were test failures. >> Total time: 10 seconds -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
