harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [harmony-demo-1] Help with visPosCalled in CompositeView_VisualPositionTest
Date Sat, 19 Jul 2008 11:28:52 GMT
It is in <SWING_ROOT>/src/test/api/java.injected/javax/swing/text/CompositeView_VisualPositionTest.java:149
  visPosCalled.add(new VisPosCallResult(this, pos, b, result, biasRet[0]));

Regards,
Alexei

2008/7/19 Tharindu Mathew <mccloud35@gmail.com>:
> I'm having a problem with the injection:
>
>  grep -rI visPosCalled working_classlib/modules/swing/  | grep add
> working_classlib/modules/swing/src/test/api/java.injected/javax/swing/text/CompositeView_VisualPositionTest.java:
> visPosCalled.add(new VisPosCallResult(this, pos, b, result, biasRet[0]));
> bash: syntax error near unexpected token `('
>
> Regards,
>
> Tharindu
>
> On Sat, Jul 12, 2008 at 5:08 PM, Alexei Fedotov <alexei.fedotov@gmail.com>
> wrote:
>
>> Hello Tharindu,
>>
>> Here is the injection:
>>
>> $ grep -rI visPosCalled working_classlib/modules/swing/  | grep add
>>
>> working_classlib/modules/swing/src/test/api/java.injected/javax/swing/text/CompositeView_VisualPositionTest.java:
>>                       visPosCalled.add(new VisPosCallResult(this,
>> pos, b, result, biasRet[0]));
>>
>> Thanks!
>>
>> On Fri, Jul 11, 2008 at 8:44 PM, Tharindu Mathew <mccloud35@gmail.com>
>> wrote:
>> > Lost of tests are failing in the above test due to verifications such as:
>> >
>> >  assertEquals(1, visPosCalled.size())
>> >
>> > But I cannot find any method that inserts elements into this arraylist
>> > called visPosCalled!!
>> >
>> > Can anyone enlighten me regarding this situation?
>> >
>> > Regards,
>> >
>> > Tharindu
>> >
>>
>>
>>
>> --
>> With best regards,
>> Alexei
>>
>

Mime
View raw message