Hello castors,

sorry about resending this, but I did not see my original message on the list after 12 hours.

Executing the testcases against oracle 9.0.1 with the CVS version of castor
I recognized the following:

1. The <jdo-conf> tag in oracle.xml is missing.

2. TC66 fails with the following message:

1) [castor.oracle.TC66] Size
junit.framework.AssertionFailedError: Calling size() on a non-scrollable
ResultSet should fail (unless using PostgreSQL).
at jdo.Size.testSizeD(Size.java:184)
at jdo.Size.runTest(Size.java:87)
at harness.CastorTestCase.run(CastorTestCase.java:154)
at harness.TestHarness.run(TestHarness.java:140)
at harness.TestHarness.run(TestHarness.java:140)
at Main.run(Main.java:152)
at Main.main(Main.java:226)

According to the message the test should fail unless using PostgeSQL.
When viewing the source in Size.java I found the comment that only
PostgreSQL will fail.

public void testSizeD()
{
try
{
_db.begin();
OQLQuery oqlquery = _db.getOQLQuery( "SELECT object FROM jdo.TestRaceNone
object" );
QueryResults enum = oqlquery.execute(false);
_db.commit();
// This test fails when executed against PostgreSQL.
fail ("Calling size() on a non-scrollable ResultSet should fail (unless
using PostgreSQL).");
}
catch (Exception e)
{
assertTrue(true);
}
}

For me it looks like the testSizeD() case should not be executed or changed
to the opposit for oracle. What's the right thing to do?

MfG
Ralf Joachim



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to