On my machine We're calling mouseFlick(fakeWindow, 161, 161, 41, 41, true/*pressMouse*/, true/*releaseMouse*/, 4/*speed*/, 20/*iterations*/);
and the documentation says // speed is in pixels/second We have to travel a distance of sqrt((161-41)*(161-41) + (161-41)*(161-41)) = 120 pixels Since we told it we want to travel at 4 pixels per second, the total time has to be 30 seconds, since we told it we wan 20 iterations, it'll wait 1.5 seconds between mouse moves. So previously was broken and now does what it was told to do. I don't see the bug (other than the mouseFlick call being wrong at passing such a slow speed if you want) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1651580 Title: UnityTestCase.mouseFlick is incredibly slow now To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1651580/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
