Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/gcov
diff options
context:
space:
mode:
Diffstat (limited to 'gcov')
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTest.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTest.java b/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTest.java
index b95b30a71d..57b625ad66 100644
--- a/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTest.java
+++ b/gcov/org.eclipse.linuxtools.gcov.test/src/org/eclipse/linuxtools/internal/gcov/test/GcovTest.java
@@ -140,7 +140,6 @@ public abstract class GcovTest {
for (SWTBotShell sh : bot.shells()) {
if (sh.getText().startsWith("C/C++")) {
sh.activate();
- bot.waitUntil(Conditions.shellIsActive(sh.getText()));
mainShell = sh;
break;
}
@@ -336,9 +335,7 @@ public abstract class GcovTest {
private static void openResource(SWTWorkbenchBot bot, String fileName) {
mainShell.activate();
bot.menu("Navigate").menu("Open Resource...").click();
- bot.waitUntil(Conditions.shellIsActive("Open Resource"));
- SWTBotShell shell = bot.shell("Open Resource");
- shell.activate();
+ SWTBotShell shell = bot.shell("Open Resource").activate();
bot.text().setText(fileName);
bot.button("Open").click();
bot.waitUntil(Conditions.shellCloses(shell));

Back to the top