diff options
author | Robin Stocker | 2014-08-03 13:37:32 +0000 |
---|---|---|
committer | Robin Stocker | 2014-08-03 13:37:32 +0000 |
commit | afd2d9f7a6e71ba2fba0e5bb8678f6d24a721020 (patch) | |
tree | 6a5b5a7e5aa4338585a0221b2d2c1c34e191be5c /org.eclipse.egit.ui.test | |
parent | 09815c1626a9743bf2771dce011ed70501af8f42 (diff) | |
download | egit-afd2d9f7a6e71ba2fba0e5bb8678f6d24a721020.tar.gz egit-afd2d9f7a6e71ba2fba0e5bb8678f6d24a721020.tar.xz egit-afd2d9f7a6e71ba2fba0e5bb8678f6d24a721020.zip |
Use TestUtil for getting Package Explorer tree
Change-Id: Idcc3d52ba511e12d45d731c1ace3177e4586d505
Signed-off-by: Robin Stocker <robin@nibor.org>
Diffstat (limited to 'org.eclipse.egit.ui.test')
-rw-r--r-- | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/synchronize/AbstractSynchronizeViewTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/synchronize/AbstractSynchronizeViewTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/synchronize/AbstractSynchronizeViewTest.java index c111014629..a9c4d4d7e5 100644 --- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/synchronize/AbstractSynchronizeViewTest.java +++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/synchronize/AbstractSynchronizeViewTest.java @@ -270,8 +270,7 @@ public abstract class AbstractSynchronizeViewTest extends } private static void showDialog(String projectName, String... cmd) { - SWTBot packageExplorerBot = bot.viewByTitle("Package Explorer").bot(); - SWTBotTree tree = packageExplorerBot.tree(); + SWTBotTree tree = TestUtil.getExplorerTree(); // EGit decorates the project node shown in the package explorer. The // '>' decorator indicates that there are uncommitted changes present in |