test/jdk/jshell/KullaTesting.java
Print this page
@@ -71,11 +71,10 @@
import jdk.jshell.Diag;
import static jdk.jshell.Snippet.Status.*;
import static org.testng.Assert.*;
import static jdk.jshell.Snippet.SubKind.METHOD_SUBKIND;
-import jdk.jshell.spi.ExecutionControl;
public class KullaTesting {
public static final String IGNORE_VALUE = "<ignore-value>";
public static final Class<? extends Throwable> IGNORE_EXCEPTION = (new Throwable() {}).getClass();
@@ -156,14 +155,10 @@
@BeforeMethod
public void setUp() {
setUp(b -> {});
}
- public void setUp(ExecutionControl ec) {
- setUp(b -> b.executionEngine(ec));
- }
-
public void setUp(Consumer<JShell.Builder> bc) {
inStream = new TestingInputStream();
outStream = new ByteArrayOutputStream();
errStream = new ByteArrayOutputStream();
JShell.Builder builder = JShell.builder()