db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Corbin <dcor...@machturtle.com>
Subject Writing OJB Unit Tests
Date Sun, 26 Oct 2003 11:55:53 GMT
I'm writing a unit test to expose a paricular problem.  In the process, I'm 
looking at another test case for the same package: 

org.apache.ojb.odmg.LockTestUncommitedReads.java

The setUp code for this unit-test eats the exception that can be thrown by 
Database.open().  While I suppose a failure during setUp will result 
ultimately in a failure somewhere else in the test, should that exception 
either be thrown directly, or at least rethrown in someway?

-- 
David Corbin 


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message