mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more diagnostics when LaterInvocatorTest.setUp fails
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ public class LaterInvocatorTest extends PlatformTestCase {
|
||||
}
|
||||
});
|
||||
if (exception[0] != null) throw exception[0];
|
||||
UIUtil.invokeAndWaitIfNeeded((Runnable)() -> TestCase.assertFalse("Can't run test", LaterInvocator.isInModalContext()));
|
||||
UIUtil.invokeAndWaitIfNeeded((Runnable)() -> TestCase.assertFalse("Can't run test " + ModalityState.current(), LaterInvocator.isInModalContext()));
|
||||
|
||||
flushSwingQueue();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user