test fixed

This commit is contained in:
Alexey Kudravtsev
2017-03-22 14:09:14 +03:00
parent 7ac03595cf
commit cad495c025
@@ -83,7 +83,9 @@ public class IdeEventQueueTest extends PlatformTestCase {
assertEquals(posted+1, ideEventQueue.myKeyboardEventsPosted.get());
assertEquals(dispatched+1, ideEventQueue.myKeyboardEventsDispatched.get());
assertEquals(ev2, dispatchAllInvocationEventsUntilOtherEvent(ideEventQueue));
dispatchAllInvocationEventsUntilOtherEvent(ideEventQueue);
// either it's dispatched by this method or the f*@$ing VCSRefresh activity stomped in, started modal progress and dispatched all events via IdeEventQueue.pumpEventsForHierarchy by itself
assertTrue(isDispatched.contains(ev2));
assertEquals(posted+1, ideEventQueue.myKeyboardEventsPosted.get());
assertEquals(dispatched+1, ideEventQueue.myKeyboardEventsDispatched.get());