diff --git a/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JdtTextTestSuite.java b/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JdtTextTestSuite.java index 41bc184e12c..ff0615684f2 100644 --- a/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JdtTextTestSuite.java +++ b/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JdtTextTestSuite.java @@ -14,13 +14,14 @@ *******************************************************************************/ package org.eclipse.jdt.text.tests; +import org.junit.runner.RunWith; +import org.junit.runners.Suite; + import org.eclipse.jdt.text.tests.codemining.CodeMiningTriggerTest; import org.eclipse.jdt.text.tests.codemining.ParameterNamesCodeMiningTest; import org.eclipse.jdt.text.tests.contentassist.ContentAssistTestSuite; import org.eclipse.jdt.text.tests.spelling.SpellCheckEngineTestCase; import org.eclipse.jdt.text.tests.templates.TemplatesTestSuite; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; /** @@ -30,6 +31,7 @@ */ @RunWith(Suite.class) @Suite.SuiteClasses({ + PluginsNotLoadedTest.class, CompilationUnitDocumentProviderTest.class, JavaHeuristicScannerTest.class, JavaAutoIndentStrategyTest.class, @@ -47,14 +49,6 @@ MarkOccurrenceTest.class, MarkOccurrenceTest1d7.class, MarkOccurrenceTest1d8.class, - PluginsNotLoadedTest.class, -// PluginsNotLoadedTest.addLoadedPlugIns( -// new String[] { -// "org.eclipse.core.filebuffers.tests", -// "org.eclipse.core.variables", -// "org.eclipse.team.cvs.core", -// "org.eclipse.test.performance" -// }); BracketInserterTest.class, SpellCheckEngineTestCase.class, SemanticHighlightingTest.class, diff --git a/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/PluginsNotLoadedTest.java b/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/PluginsNotLoadedTest.java index d71b8ec4d04..c1abc4a49a8 100644 --- a/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/PluginsNotLoadedTest.java +++ b/org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/PluginsNotLoadedTest.java @@ -224,6 +224,7 @@ public static void addLoadedPlugIns(String... loadedPlugins) { @Before public void setUp() throws Exception { + EditorTestHelper.showView(EditorTestHelper.INTRO_VIEW_ID, false); JavaPlugin.getDefault().getPreferenceStore().setValue(PreferenceConstants.EDITOR_MARK_OCCURRENCES, true); fEditor= openJavaEditor(new Path("/" + JUnitProjectTestSetup.getProject().getElementName() + "/src/junit/framework/TestCase.java")); assertNotNull(fEditor);