[404587] Server tools JUnits are not independent, which cause JUnits to
fail
diff --git a/tests/org.eclipse.jst.server.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.server.core.tests/META-INF/MANIFEST.MF
index 75085a3..41030bd 100644
--- a/tests/org.eclipse.jst.server.core.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.jst.server.core.tests/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: org.eclipse.jst.server.core.tests
Bundle-SymbolicName: org.eclipse.jst.server.core.tests
-Bundle-Version: 1.1.000.qualifier
+Bundle-Version: 1.1.100.qualifier
Bundle-ClassPath: tests.jar
Bundle-Activator: org.eclipse.jst.server.core.tests.TestsPlugin
Bundle-Vendor: Eclipse.org
diff --git a/tests/org.eclipse.jst.server.core.tests/src/org/eclipse/jst/server/core/tests/GenericRuntimeTestCase.java b/tests/org.eclipse.jst.server.core.tests/src/org/eclipse/jst/server/core/tests/GenericRuntimeTestCase.java
index d61733d..ea2b754 100644
--- a/tests/org.eclipse.jst.server.core.tests/src/org/eclipse/jst/server/core/tests/GenericRuntimeTestCase.java
+++ b/tests/org.eclipse.jst.server.core.tests/src/org/eclipse/jst/server/core/tests/GenericRuntimeTestCase.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2010 IBM Corporation and others.
+ * Copyright (c) 2004, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -56,40 +56,24 @@
suite.addTest(TestSuite.createTest(GenericRuntimeTestCase.class, "deleteRuntime"));
}
- public void testCreateRuntime() throws Exception {
+ public void testAll() throws Exception {
assertTrue(!getRuntime().isWorkingCopy());
- }
- public void testValidateRuntime() throws Exception {
IStatus status = getRuntime().validate(null);
assertTrue(!status.isOK());
- }
-
- public void testUtil() throws Exception {
+
assertTrue(GenericRuntimeUtil.isGenericJ2EERuntime(getRuntime()));
- }
-
- public void testAdapt() throws Exception {
+
assertNotNull(getGenericRuntime());
- }
-
- public void testAdaptWorkingCopy() throws Exception {
+
assertNotNull(getRuntime().getAdapter(IGenericRuntimeWorkingCopy.class));
- }
-
- public void testGetJVM() throws Exception {
+
assertNotNull(getGenericRuntime().getVMInstall());
- }
-
- public void testAdapt2() throws Exception {
+
assertNotNull(getGenericRuntimeWC());
- }
-
- public void testAdapt3() throws Exception {
+
assertNotNull(getRuntimeWC().loadAdapter(IGenericRuntime.class, null));
- }
-
- public void testSetJVM() throws Exception {
+
assertNotNull(getGenericRuntimeWC().getVMInstall());
assertNotNull(getGenericRuntimeWC().getVMInstall());
}