tmf: Add waitUntil / condition to tmf.ui.tests
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests / src / org / eclipse / tracecompass / lttng2 / kernel / ui / swtbot / tests / ResourcesAndCpuViewTest.java
index 28dcc424da1eaf35100077c08b39d5753b16d82a..b87086e53cfa2fed8e19d495e92a4b3a5acf0cc8 100644 (file)
@@ -32,6 +32,7 @@ import org.eclipse.tracecompass.tmf.core.signal.TmfSignalManager;
 import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
 import org.eclipse.tracecompass.tmf.core.trace.TmfTraceManager;
 import org.eclipse.tracecompass.tmf.ui.swtbot.tests.shared.SWTBotUtils;
+import org.eclipse.tracecompass.tmf.ui.tests.shared.WaitUtils;
 import org.hamcrest.Matcher;
 import org.junit.Before;
 import org.junit.Test;
@@ -105,7 +106,7 @@ public class ResourcesAndCpuViewTest extends KernelTestBase {
 
     private static void broadcast(TmfCpuSelectedSignal signal) {
         UIThreadRunnable.syncExec(() -> TmfSignalManager.dispatchSignal(signal));
-        SWTBotUtils.waitForJobs();
+        WaitUtils.waitForJobs();
     }
 
     private String getTitle() {
This page took 0.024023 seconds and 5 git commands to generate.