Roberto, I have added the suggested lines to my test case and it still passes.
Looking at your code fragments it is evident that you are not running the CVS HEAD code (which is probably not recommended at present anyway). I am wondering if there is some other change that you do not have that is resulting in this problem occurring for you but not me. Is there a chance you could do a clean checkout to a new location and try again? Ciao, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au > From: [EMAIL PROTECTED] > Reply-To: "Turbine Torque Developers List" > <[EMAIL PROTECTED]> > Date: Tue, 15 Oct 2002 14:40:59 +0200 > To: "Turbine Torque Developers List" <[EMAIL PROTECTED]> > Subject: Re: LargeSelect bug? > > Scott, > in your LargeSelectTest.testForPaginationCycle you don't > test record contents! > > Try to retrieve author_id from first record in first page and > compare it against author_id from first record in another page. > > In other words, add to LargeSelectTest.testForPaginationCycle > these two lines: > > // Page 1 > int firstId = ((Author)(results.get(0))).getAuthorId().intValue(); > // added line 1 > .... > > // Page 5 > assertTrue("first record contents", > // added line 2 > ((Author)(results.get(0))).getAuthorId().intValue() > != firstId); > ..... > > The last assert will fail, because result returned from every page are the > same, > (pagination cycling). > If memoryPageLimit > 1 cycling is present, but less evident. > > Roberto Resoli -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
