Skip to content

Commit 46b6683

Browse files
committed
Remove unused ConfigurationSessionTestSuite
All consumers of the JUnit 4 ConfigurationSessionTestSuite have been replaced with JUnit 5 test based on the SessionTestExtension. This change removes the unused test suite. Contributes to #903
1 parent e4b15d7 commit 46b6683

File tree

2 files changed

+1
-337
lines changed

2 files changed

+1
-337
lines changed

runtime/tests/org.eclipse.core.tests.harness/src/org/eclipse/core/tests/harness/session/customization/CustomSessionConfigurationImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.eclipse.core.runtime.FileLocator;
3232
import org.eclipse.core.runtime.Platform;
3333
import org.eclipse.core.tests.harness.session.CustomSessionConfiguration;
34-
import org.eclipse.core.tests.session.ConfigurationSessionTestSuite;
3534
import org.eclipse.core.tests.session.Setup;
3635
import org.junit.Assert;
3736
import org.osgi.framework.Bundle;
@@ -101,7 +100,7 @@ private void addMinimalBundleSet() {
101100
if ("org.hamcrest".equals(FrameworkUtil.getBundle(org.hamcrest.CoreMatchers.class).getSymbolicName())) {
102101
Bundle maxHamcrestCoreBundle = null;
103102
Version maxHamcrestCoreVersion = null;
104-
for (Bundle bundle : FrameworkUtil.getBundle(ConfigurationSessionTestSuite.class).getBundleContext()
103+
for (Bundle bundle : FrameworkUtil.getBundle(CustomSessionConfigurationImpl.class).getBundleContext()
105104
.getBundles()) {
106105
if ("org.hamcrest.core".equals(bundle.getSymbolicName())) {
107106
Version version = bundle.getVersion();

runtime/tests/org.eclipse.core.tests.harness/src/org/eclipse/core/tests/session/ConfigurationSessionTestSuite.java

Lines changed: 0 additions & 335 deletions
This file was deleted.

0 commit comments

Comments
 (0)