Greeting.

I've set +JDBC30 in build properties, included j2ee.jar in /lib, run build.sh prepare, 
then run build.sh junit.

I still got this failure:

junit-no-compile-no-prepare:

    [junit] Running org.apache.ojb.broker.AllTests

    [junit] Tests run: 209, Failures: 1, Errors: 0, Time elapsed: 33.276 sec

    [junit] TEST org.apache.ojb.broker.AllTests FAILED

    [junit] Running org.apache.ojb.odmg.AllTests

    [junit] [BOOT] INFO: OJB.properties: 
file:/usr/local/install/db-ojb-1.0.rc3/target/test/ojb/OJB.properties    [junit] Tests 
run: 156, Failures: 0, Errors: 0, Time elapsed: 14.213 sec

    [junit] Running org.apache.ojb.soda.AllTests

    [junit] [BOOT] INFO: OJB.properties: 
file:/usr/local/install/db-ojb-1.0.rc3/target/test/ojb/OJB.properties    [junit] Tests 
run: 3, Failures: 0, Errors: 0, Time elapsed: 6.532 sec

    [junit] Running org.apache.ojb.otm.AllTests

    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.551 sec

I refer to the target file, it says:

Testcase: testReportPathExpressionForExtents2 took 0.008 sec

            FAILED

check size expected:<11> but was:<4>

junit.framework.AssertionFailedError: check size expected:<11> but was:<4>

            at 
org.apache.ojb.broker.QueryTest.testReportPathExpressionForExtents2(QueryTest.java:719)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

but I have no idea how to fix it. Can anyone help?

Thank you.


Regards,
Michael C. K. Ng
30/5/03 - 1122

Reply via email to