Re: [OJB-developers] Failing unit tests
Brought to you by:
thma
From: Jakob B. <jbr...@ho...> - 2002-05-06 15:35:26
|
my thank go to JUnit ;-) jakob ----- Original Message ----- From: "Chris Greenlee" <CGr...@de...> To: <obj...@li...> Sent: Monday, May 06, 2002 5:04 PM Subject: RE: [OJB-developers] Failing unit tests Thanks to Jakob, I've put in a fix for the bug I introduced. :) I'd ommitted a line in storeCollections() that called storeCollectionObject() before calling storeMtoNImplementor(). Needless to say, if the collection object wasn't stored, the foreign key constraints wouldn't allow insertion into the indirection table. Thanks to Jakob for catching it! Cheers, Chris > -----Original Message----- > From: Jakob Braeuchi [mailto:jbr...@ho...] > Sent: Monday, May 06, 2002 1:50 AM > To: Jakob Braeuchi; Oleg Nitz; > obj...@li... > Subject: Re: [OJB-developers] Failing unit tests > > > hi chris, > > afaik the method storeMtoNImplementor of PersitenceBrokerImpl > only stores > data in the relation table but not in the project table, > so the new project is not inserted. didn't you make changes > in this area ? > > jakob > > ----- Original Message ----- > From: "Jakob Braeuchi" <jbr...@ho...> > To: "Oleg Nitz" <on...@uk...>; > <obj...@li...> > Sent: Monday, May 06, 2002 8:34 AM > Subject: Re: [OJB-developers] Failing unit tests > > > > hi oleg, chris, > > > > i only see the one failure > > > testInsertion(test.ojb.broker.MtoNMapping)junit.framework.Asse > rtionFailedErr > > or: expected:<3> but was:<2> > > > > jakob > > > > > > ----- Original Message ----- > > From: "Oleg Nitz" <on...@uk...> > > To: <obj...@li...> > > Sent: Sunday, May 05, 2002 9:12 PM > > Subject: Re: [OJB-developers] Failing unit tests > > > > > > > On Sunday 05 May 2002 21:25, Chris Greenlee wrote: > > > > Using a fresh checkout of OJB from before the commits > I've done in the > > last > > > > 24 hours, I get 4 failures when running "ant junit". > They're all in > > > > MtoNMapping.java. Is anyone else seeing this, or > should I monkey > around > > > > with my local SQL Server? > > > I see 1 failure: > > > [junit] 1) > > > > > > testInsertion(test.ojb.broker.MtoNMapping)junit.framework.Asse > rtionFailedErr > > or: > > > expected:<3> but was:<2> > > > [junit] at > > > test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:165) > > > > > > Oleg > > > > > > _______________________________________________________________ > > > > > > Have big pipes? SourceForge.net is looking for download > mirrors. We > supply > > > the hardware. You get the recognition. Email Us: > ban...@so... > > > _______________________________________________ > > > Objectbridge-developers mailing list > > > Obj...@li... > > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: ban...@so... _______________________________________________ Objectbridge-developers mailing list Obj...@li... https://lists.sourceforge.net/lists/listinfo/objectbridge-developers _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: ban...@so... _______________________________________________ Objectbridge-developers mailing list Obj...@li... https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |