diff options
author | Mathias Kinzler | 2011-03-18 08:20:22 +0000 |
---|---|---|
committer | Mathias Kinzler | 2011-03-18 08:20:22 +0000 |
commit | d04c792be3e3c1907541c23a18361525a4770c0b (patch) | |
tree | 26388ccbb4bab543eb3091f4e1c1b411b441ab6b /org.eclipse.egit.ui.test/src/org/eclipse | |
parent | dc6128b29ad3c72da923ebfbccd8bbdebe37c6fb (diff) | |
download | egit-d04c792be3e3c1907541c23a18361525a4770c0b.tar.gz egit-d04c792be3e3c1907541c23a18361525a4770c0b.tar.xz egit-d04c792be3e3c1907541c23a18361525a4770c0b.zip |
Fix tests after change I65d456a0dd9a915819c35c12925d3fdd9a8aba43
Change-Id: Id6814f8fcd2ff7b657b00c8f0b9112de0b59461a
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse')
-rw-r--r-- | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java index 41a4a0ef58..2fa1954445 100644 --- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java +++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java @@ -313,6 +313,9 @@ public class BranchAndResetActionTest extends LocalRepositoryTestCase { assertFalse(branchNameDialog.bot().button(IDialogConstants.FINISH_LABEL) .isEnabled()); branchName.setText("NewBranch"); + // suppress checkout so that the dialog remains open + branchNameDialog.bot().checkBox(UIText.CreateBranchPage_CheckoutButton) + .deselect(); branchNameDialog.bot().button(IDialogConstants.FINISH_LABEL).click(); assertEquals("New Branch should be selected", "NewBranch", bot.tree() @@ -359,6 +362,9 @@ public class BranchAndResetActionTest extends LocalRepositoryTestCase { assertFalse(branchNameDialog.bot().button(IDialogConstants.FINISH_LABEL) .isEnabled()); branchName.setText("Unrenamed"); + // suppress checkout so that the dialog remains open + branchNameDialog.bot().checkBox(UIText.CreateBranchPage_CheckoutButton) + .deselect(); branchNameDialog.bot().button(IDialogConstants.FINISH_LABEL).click(); assertEquals("New Branch should be selected", "Unrenamed", bot.tree() |