harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <ndbe...@apache.org>
Subject Re: [harmony-demo-1] CompositeView_VisualPositionTest problems
Date Wed, 09 Jul 2008 02:05:52 GMT
Should it? (I'm just making guesses at this point)

On Tue, Jul 8, 2008 at 8:39 AM, Mackie Mathew <mccloud35@gmail.com> 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 <ndbeyer@apache.org> 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 <mccloud35@gmail.com>
> 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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message