use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testInvokeLaterOnBgThread.
@Test
public void testInvokeLaterOnBgThread() {
Disposable parent = InvokerTest::dispose;
testInvokeLater(parent, new Invoker.BackgroundThread(parent));
}
use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testThreadChangingOnBgThreadFromBgPool.
@Test
public void testThreadChangingOnBgThreadFromBgPool() {
Disposable parent = InvokerTest::dispose;
testThreadChanging(parent, new Invoker.BackgroundThread(parent), new Invoker.BackgroundPool(parent), null);
}
use of com.intellij.openapi.Disposable in project intellij-community by JetBrains.
the class InvokerTest method testQueueOnBgThread.
@Test
public void testQueueOnBgThread() {
Disposable parent = InvokerTest::dispose;
testQueue(parent, new Invoker.BackgroundThread(parent), true);
}
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));
}
Aggregations