Well, this is a bit difficult. The JDO-CTF internally configures the database
connection, so I can't use it to test JdoConfFactory.
In bug 1785 there is attached a JUnit test case:
The test class is configured to use an Oracle Database, but can be changed
ithout problems to use other drivers. (see the string constants at the top)
Additional Comment #4 From Werner Guttmann 2004-11-12 00:53 -------
No problem, Martin, as you can add 'independent' JUnit test cases to src/tests,
i.e. test cases that are not part of the test suite. There's already some at
Patch (code only) applied as provided. Martin, I decided not to include the test
case as it stands, for the reasons described above. And I didn't want to include
it as a simple JUnit test case either, as this would imply creating new config
files, which I don't think is ideal.
OK - is there anyone with a superb idea how to intergrate this test case in the
other tests without having to extend the test framework too much?