aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.core.test/src/org/jacoco/core/runtime/RuntimeTestBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.jacoco.core.test/src/org/jacoco/core/runtime/RuntimeTestBase.java')
-rw-r--r--org.jacoco.core.test/src/org/jacoco/core/runtime/RuntimeTestBase.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/org.jacoco.core.test/src/org/jacoco/core/runtime/RuntimeTestBase.java b/org.jacoco.core.test/src/org/jacoco/core/runtime/RuntimeTestBase.java
index 77877679..9dfb7090 100644
--- a/org.jacoco.core.test/src/org/jacoco/core/runtime/RuntimeTestBase.java
+++ b/org.jacoco.core.test/src/org/jacoco/core/runtime/RuntimeTestBase.java
@@ -12,7 +12,6 @@
package org.jacoco.core.runtime;
import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@@ -98,24 +97,6 @@ public abstract class RuntimeTestBase {
assertTrue(data[1]);
}
- @Test
- public void testDisconnect() throws Exception {
- final ITarget target = generateAndInstantiateClass(1001);
- target.a();
- runtime.disconnect(target.getClass());
- assertNull(target.get());
- data.collect(storage, storage, false);
- storage.assertSize(1);
- final boolean[] data = storage.getData(1001).getProbes();
- assertTrue(data[0]);
- }
-
- @Test
- public void testDisconnectInterface() throws Exception {
- // No effect:
- runtime.disconnect(ITarget.class);
- }
-
/**
* Creates a new class with the given id, loads this class and instantiates
* it. The constructor of the generated class will request the probe array