Hi peter

Cool.. thanks for testing my patch. Well those errors I had at the end too.
But after few hours investigation I couldn't find a way to get those tests
working except if removed alle the
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" attributes.
Always the first test step that uses waitTarget works. Here a example.

Example 1

 <DispatchMouseEvent target="stage" type="mouseMove" localX="100"
localY="75" buttonDown="true"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy" />
 <DispatchMouseEvent target="stage" type="mouseMove" localX="200"
localY="75" buttonDown="true"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy"
waitEvent="move"/>  <--- Second test steps fails. dragProxy is not found
 <DispatchMouseEvent target="stage" type="mouseMove" localX="260"
localY="75" buttonDown="true"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy"
waitEvent="move"/>

Example 2

When I remove the waitTarget on the first step the dragProxy is not found
at third test step.

 <DispatchMouseEvent target="stage" type="mouseMove" localX="100"
localY="75" buttonDown="true" />
 <DispatchMouseEvent target="stage" type="mouseMove" localX="200"
localY="75" buttonDown="true"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy"
waitEvent="move"/>
 <DispatchMouseEvent target="stage" type="mouseMove" localX="260"
localY="75" buttonDown="true"
waitTarget="mx.managers::DragManager.mx_internal:dragProxy"
waitEvent="move"/> <-- Third Steps fails



cyrill

On Fri, Aug 24, 2012 at 3:36 PM, Peter Ent <p...@adobe.com> wrote:

> The `patch -p1 < Š..` command did the trick. The curl + patch gave me
> errors about not finding a file to patch. Nevertheless, the second command
> worked.
>
> That said, running
>
> Gave me these failures:
>     [java] Managers/DragManager/Halo/DragManager_Cursors_RTL
> DragManager_Mirroring_copyCursor Failed DispatchMouseEvent(body:step 4)
> Target mx.managers::DragManager.mx_internal:dragProxy not found
>      [java] Managers/DragManager/Halo/DragManager_Cursors_RTL
> DragManager_Mirroring_moveCursor Failed DispatchMouseEvent(body:step 4)
> Target mx.managers::DragManager.mx_internal:dragProxy not found
>      [java] Managers/DragManager/Halo/DragManager_Cursors_RTL
> DragManager_Mirroring_rejectCursor Failed DispatchMouseEvent(body:step 4)
> Target mx.managers::DragManager.mx_internal:dragProxy not found
>
>
>
> --peter
>
> On 8/23/12 6:52 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:
>
> >Hi,
> >
> >What OS are you and what version of patch are you using?
> >
> >On OSX Lion with patch 2.5.8 both of these worked for me:
> >
> >curl
> >
> https://issues.apache.org/jira/secure/attachment/12541538/0003-fixed-TileL
> >ist-and-DragManager-tests-in-DragManager_.patch | patch -p1
> >
> >patch -p1 <
> >attachment/12541538/0003-fixed-TileList-and-DragManager-tests-in-DragManag
> >er_.patch
> >
> >(No "." required btw).
> >
> >Thanks,
> >Justin
>
>

Reply via email to