use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testThreadChangingOnBgThreadFromEDT.
@Test
public void testThreadChangingOnBgThreadFromEDT() {
Disposable parent = InvokerTest::dispose;
testThreadChanging(parent, new Invoker.BackgroundThread(parent), new Invoker.EDT(parent), false);
}
use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testThreadChangingOnBgThread.
@Test
public void testThreadChangingOnBgThread() {
Disposable parent = InvokerTest::dispose;
testThreadChanging(parent, new Invoker.BackgroundThread(parent));
}
use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testInvokeLaterOnBgPool.
@Test
public void testInvokeLaterOnBgPool() {
Disposable parent = InvokerTest::dispose;
testInvokeLater(parent, new Invoker.BackgroundPool(parent));
}
use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testInvokeLaterIfNeededOnEDT.
@Test
public void testInvokeLaterIfNeededOnEDT() {
Disposable parent = InvokerTest::dispose;
testInvokeLaterIfNeeded(parent, new Invoker.EDT(parent));
}
use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testThreadChangingOnBgPoolFromEDT.
@Test
public void testThreadChangingOnBgPoolFromEDT() {
Disposable parent = InvokerTest::dispose;
testThreadChanging(parent, new Invoker.BackgroundPool(parent), new Invoker.EDT(parent), false);
}
Aggregations