Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2019-08-29 14:39:15 -0400
committerStephan Herrmann2019-08-29 15:11:00 -0400
commit99acad986550d985eb9fc5323cbe17608bbd16d5 (patch)
tree4a16573f34d48f44e9c5ec416b881d94f79a3281
parentc4d90ef30fd4d2d4794e9d36a53bd9d8cda7955e (diff)
downloadeclipse.jdt.core-99acad986550d985eb9fc5323cbe17608bbd16d5.tar.gz
eclipse.jdt.core-99acad986550d985eb9fc5323cbe17608bbd16d5.tar.xz
eclipse.jdt.core-99acad986550d985eb9fc5323cbe17608bbd16d5.zip
Bug 548456 - Concurrency problem with JavaModelManager andI20190903-0605I20190902-1800I20190902-0805I20190902-0600I20190901-1800
JavaElement.openWhenClosed() - add a suite() method to enable running the test during builds! Change-Id: I78b37950518851c76fa24bbabfdfd8516a9a23b5
-rw-r--r--org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaModelManagerTests.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaModelManagerTests.java b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaModelManagerTests.java
index 65b052db75..0567191844 100644
--- a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaModelManagerTests.java
+++ b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaModelManagerTests.java
@@ -23,11 +23,17 @@ import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.internal.core.JavaElement;
import org.eclipse.jdt.internal.core.nd.indexer.Indexer;
+import junit.framework.Test;
+
public class JavaModelManagerTests extends AbstractJavaModelTests {
private static final IProgressMonitor NULL_MONITOR = new NullProgressMonitor();
private static final String PROJECT_NAME = JavaModelManagerTests.class.getSimpleName();
+ public static Test suite() {
+ return buildModelTestSuite(JavaModelManagerTests.class);
+ }
+
public JavaModelManagerTests(String name) {
super(name);
}

Back to the top