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 Tue, 08 Jul 2008 01:59:48 GMT
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