This one time, at band camp, [EMAIL PROTECTED] said:

>forgive me if this is not the right mailing list.  I am
>evaluating Castor JDO.
>
>I have downloaded and compiled Castor.  I have noticed tests
>in test/jdo, but I do not know how to start them.  Neither
>the MasterTestSuite nor the RegressionTestSuite seem to
>trigger them.
>
>Do I have to write a TestDescriptor.xml file myself?  If so,
>how?
>
>I bet the answer is in the documentation or FAQ, but I have
>not found it.
>
>I have run the examples/jdo/Test example against a sybase
>database.  I had some trouble doing so, because neither the
>create.sql nor the sybase.sql script would correctly
>initialize the database schema.  The first contained syntax
>errors, the latter was missing some tables.  Did I do
>something wrong?  Can castor JDO generate these files?  If
>so, how?
>
>Another remark: There is an empty file
>tests/jdo/ConcurrentSybase.java both in 0.9.4 and in
>0.9.3.21.  Is this intended?
>
>I am using Castor 0.9.4 on Windows NT.

Oliver,

For directions on running the tests, please see the following: 

    http://www.castor.org/test-framework.html

The examples should run just find against MySQL, Oracle and
PostgreSQL. Beyond that, it is possible that some tables are missing from
the create script because I don't have access to all the other supported
databases. Castor does not generate the DDL files. These are hand-coded
by the developers.

It would appear that src/tests/jdo/ConcurrentSybase.java may have
been left over from the old test framework before it was ported to
use JUnit. My guess is that the tests in this file were moved to
src/tests/jdo/Concurrent.java.

Bruce
-- 
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to