Bugzilla Version 2.16.7
Bugzilla Bug 1806
  Create a test case for bug 1785 (JDO DataSource configuration using a Properties collection)
     Query page      Enter new bug
Bug#: 1806   Platform:   Reporter: martin-fuchs at gmx dot net (Martin Fuchs)
Product:   OS:   Add CC:
Component:   Version:   CC:
Status: NEW   Priority:  
Resolution:   Severity:  
Assigned To: werner dot guttmann at gmx dot net (Werner Guttmann)   Target Milestone:  

Attachment Type Modified Status Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1806 depends on: Show dependency tree
Show dependency graph
Bug 1806 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments:

Leave as NEW 
Accept bug (change status to ASSIGNED)
Resolve bug, changing resolution to
Resolve bug, mark it as duplicate of bug #
Reassign bug to
Reassign bug to owner of selected component

View Bug Activity   |   Format For Printing

Description: Opened: 2004-11-29 12:51

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?  ;-)

------- Additional Comment #1 From Werner Guttmann 2004-12-14 06:49 -------
Bruce ? 

------- Additional Comment #2 From Werner Guttmann 2005-03-08 08:08 -------
Martin, I think by specifying a new category, this should do the trick. Once 
you've done that, you'll be able to specify a separate JDO config file.

------- Additional Comment #3 From Werner Guttmann 2005-03-31 01:04 -------
Martin, just reading through this again, and it just occured to me that we ship
by definition the postgreSQL JDBC driver as part of the complete distribution
JAR. What woukld you thin of converting your test case to use a postgreSQL
instance with default port numnbers and database names ?

     Query page      Enter new bug
This is Bugzilla: the Mozilla bug system. For more information about what Bugzilla is and what it can do, see bugzilla.org.
Actions: New | Query | bug # | Reports   New Account | Log In