db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert S. Sfeir" <rob...@codepuccino.com>
Subject JUnit Tests fail
Date Mon, 24 Nov 2003 23:55:49 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can't run JUnit tests, either I have something wrong or someone hasn't
clicked run the junit test by itself in a while or something.

ant
project-create-db-classpath
taskdef
echo

~      driver="org.hsqldb.jdbcDriver"
~      url="jdbc:hsqldb:target/test/OJB"
~      userid="sa"
~      password=""

torque-create-db
Using classpath
Generating to file C:\projects\db-ojb\target\src\sql\create-db.sql
Parsing file: 'ojbcore-schema.xml'
Parsing file: 'ojbtest-schema.xml'
sql
Executing file: C:\projects\db-ojb\target\src\sql\create-db.sql
Failed to execute: ECHO Not implemented
java.sql.SQLException: Unexpected token: ECHO in statement [ECHO Not
implemented]
0 of 1 SQL statements executed successfully
ant
project-datasql-classpath
echo
+-----------------------------------------------+
echo
|                                               |
echo
| Generating SQL from data XML !                |
echo
| enJoy!                                        |
echo
|                                               |
echo
+-----------------------------------------------+
echo
~ taking build.properties from: build.properties
taskdef
torque-datasql
Using contextProperties file: C:\projects\db-ojb\build.properties
Using classpath
Generating to file C:\projects\db-ojb\target\src\sql\ojbtest-data.sql
Parsing file: 'ojbtest-schema.xml'
Resolver: used C:\projects\db-ojb\src\schema\ojbtest-data.dtd
ant
project-insert-sql
taskdef
torque-insert-sql
Our new url -> jdbc:hsqldb:target/test/OJB
Executing file: C:\projects\db-ojb\target\src\sql\ojbtest-schema.sql
Executing file: C:\projects\db-ojb\target\src\sql\ojbcore-schema.sql
Executing file: C:\projects\db-ojb\target\src\sql\ojbtest-data.sql
292 of 292 SQL statements executed successfully
junit-no-compile-no-prepare
junit
Running org.apache.ojb.broker.AllTests
Tests run: 280, Failures: 0, Errors: 0, Time elapsed: 37.454 sec
Running org.apache.ojb.odmg.AllTests
[BOOT] INFO: OJB.properties:
file:/C:/projects/db-ojb/target/test/ojb/OJB.properties
[BOOT] INFO: No value for key 'CollectionProxyClass'
Tests run: 167, Failures: 3, Errors: 0, Time elapsed: 14.16 sec
TEST org.apache.ojb.odmg.AllTests FAILED
Running org.apache.ojb.soda.AllTests
[BOOT] INFO: OJB.properties:
file:/C:/projects/db-ojb/target/test/ojb/OJB.properties
[BOOT] INFO: No value for key 'CollectionProxyClass'
Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.079 sec
Running org.apache.ojb.otm.AllTests
Tests run: 76, Failures: 0, Errors: 0, Time elapsed: 19.598 sec
junit-no-compile
junit

Ant build completed with 10 errors and 17 warnings at 6:48:55 PM in 183s

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/wpqF+cV9vuB27SARAu+oAJ9rnnrh3CfXFRgUqd7lfEqYFHjCsgCcCiOg
vCUEeg+yhbMYfQfd0aUmucY=
=xUsL
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message