Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2016-02-05 15:43:56 +0000
committerMarkus Keller2016-02-05 15:43:56 +0000
commit4cffb0013023a237c3d43ffa763649b07f7b61fe (patch)
treeb3c1f8de1ad0861e737977557c31ff3a7ffa532a /org.eclipse.ui.editors.tests/src
parent1de9e3bf88bd2e6c53fd9c8377c3dbc65b693873 (diff)
downloadeclipse.platform.text-4cffb0013023a237c3d43ffa763649b07f7b61fe.tar.gz
eclipse.platform.text-4cffb0013023a237c3d43ffa763649b07f7b61fe.tar.xz
eclipse.platform.text-4cffb0013023a237c3d43ffa763649b07f7b61fe.zip
Bug 487152: ZoomTest leaks open editor
Diffstat (limited to 'org.eclipse.ui.editors.tests/src')
-rw-r--r--org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/ZoomTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/ZoomTest.java b/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/ZoomTest.java
index 6167d9e73..03d63b655 100644
--- a/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/ZoomTest.java
+++ b/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/ZoomTest.java
@@ -13,6 +13,7 @@ package org.eclipse.ui.editors.tests;
import java.io.ByteArrayInputStream;
import java.util.Collections;
+import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.Before;
@@ -82,9 +83,8 @@ public class ZoomTest {
initialFontSize = text.getFont().getFontData()[0].getHeight();
}
- @Override
+ @After
public void tearDown() throws Exception {
- super.tearDown();
editor.close(false);
editor= null;
}

Back to the top