Re: [Patsystem-users] constructors as pat.transactions
Brought to you by:
nthx
|
From: Tomasz N. <Tom...@ii...> - 2005-05-11 20:32:54
|
On Tue, May 10, 2005 at 03:22:42AM -0700, Chris wrote:
> > Watch this..
> >
> > public void testConstructorGivenEntries()
> > {
> > register = new Register(new ArrayList());
> >
> > assertEquals(0,register.getNumberOfEntries());
> > entries = new ArrayList();
> > entries.add(sampleEntry);
> > register.setEntries(entries);
> >
> > assertEquals(1,register.getNumberOfEntries());
> > }
> >
>
> when I run exactly the same configuration you wrote, I
> got Failure:
>
> Maybe that's the problem of Windows, I will try later
> at home on Linux box. It looks like setUp() didn't
> reset Pat and there's still the sampleEntry added in
> the first Test.
Ciapek, please re-run your test cases with M1-05 on Windows and report
results here, if you may. Thanks!
http://prdownloads.sourceforge.net/patsystem/pat-M1-05.tgz?download
Take care,
Tomasz
--
_i______'simplicity_is_the_key'__________tomasz_nazar
_ii____'i_am_concern_oriented'__________________iiuwr
_iii__'patsystem.sf.net'___________________linux_user
_Heaven_&_Fellows,_PPP______________________prevayler
|