Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 36220 invoked from network); 27 Oct 2003 06:34:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Oct 2003 06:34:50 -0000 Received: (qmail 28921 invoked by uid 500); 27 Oct 2003 06:34:27 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 28908 invoked by uid 500); 27 Oct 2003 06:34:27 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 79411 invoked from network); 26 Oct 2003 11:56:02 -0000 From: David Corbin To: ojb-dev@db.apache.org Subject: Writing OJB Unit Tests Date: Sun, 26 Oct 2003 07:55:53 -0400 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310260655.53963.dcorbin@machturtle.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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