aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Baumgart2010-09-10 07:54:31 (EDT)
committerJens Baumgart2010-09-10 07:54:31 (EDT)
commit795771fe5833c8e67df9afb0774873a00137760b (patch)
treeeaa334924e4d4403c9c057e363bc899139f832aa
parentd3fb8b9e27337fd371fdc1c39c47a8141e990183 (diff)
downloadegit-795771fe5833c8e67df9afb0774873a00137760b.zip
egit-795771fe5833c8e67df9afb0774873a00137760b.tar.gz
egit-795771fe5833c8e67df9afb0774873a00137760b.tar.bz2
Fix logged NPE in GlobalConfigurationPageTestrefs/changes/77/1577/1
A non closed dialog caused the NPE. Change-Id: I3062e4750c3f551b7b5ea939a7f198081bd93313 Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/prefpages/configuration/GlobalConfigurationPageTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/prefpages/configuration/GlobalConfigurationPageTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/prefpages/configuration/GlobalConfigurationPageTest.java
index 1be798e..35521d3 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/prefpages/configuration/GlobalConfigurationPageTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/prefpages/configuration/GlobalConfigurationPageTest.java
@@ -196,6 +196,7 @@ public class GlobalConfigurationPageTest {
String suggested = addDialog.bot().textWithLabel(
UIText.AddConfigEntryDialog_KeyLabel).getText();
assertEquals(TESTSECTION + "." + TESTSUBSECTION + ".", suggested);
+ addDialog.close();
}
@Test