Should it? (I'm just making guesses at this point) On Tue, Jul 8, 2008 at 8:39 AM, Mackie Mathew wrote: > It seems to be checking the next position of the view. I don't see any > side-effect of a handler being called. > > Regards, > > Tharindu > > On Tue, Jul 8, 2008 at 7:29 AM, Nathan Beyer wrote: > > > What does 'assertNextPosition' do? Is it supposed to have a side-effect > of > > a > > handler getting called twice, that's supposed to add items to > > 'visPosCalled'? > > > > On Mon, Jul 7, 2008 at 1:52 PM, Mackie Mathew > wrote: > > > > > Please look at the following code: > > > > > > public void testGetNextVisualPositionFrom_Right_01Edge_NonFlipped() > > > throws BadLocationException { > > > > > > boxViewFlip = false; > > > > > > // Forward > > > assertNextPosition(7, Forward, 6, Forward, View.EAST); > > > assertEquals(2, visPosCalled.size()); > > > > > > > > > The test fails at the following point. It doesn't insert any elements > but > > > checks for 2. Is this simply a mistake made in the test? > > > > > > > > > Regards, > > > > > > Tharindu > > > > > >