use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.
the class PlayTest method setUp.
@Before
public void setUp() throws Exception {
groovyKernel = new KernelTest();
KernelManager.register(groovyKernel);
}
use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.
the class DirectionalLinkTest method setUp.
@Before
public void setUp() throws Exception {
kernel = new KernelTest();
KernelManager.register(kernel);
}
use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.
the class CommOpenHandlerTest method setUp.
@Before
public void setUp() {
kernel = new KernelTest();
commOpenHandler = new CommOpenHandler(kernel) {
@Override
public Handler<Message>[] getKernelControlChanelHandlers(String targetName) {
return (Handler<Message>[]) new Handler<?>[0];
}
};
message = JupyterHandlerTest.initOpenMessage();
}
use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.
the class ExecuteRequestHandlerTest method setUpClass.
@BeforeClass
public static void setUpClass() {
evaluatorTest = new EvaluatorTest();
kernel = new KernelTest("sid", evaluatorTest) {
@Override
public void publish(List<Message> message) {
super.publish(message.stream().map(ExecuteRequestHandlerTest::copyMessage).collect(Collectors.toList()));
}
};
}
use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.
the class CodeTest method setUp.
@BeforeClass
public static void setUp() {
evaluator = new EvaluatorTest();
kernel = new KernelTest("id2", evaluator);
}
Aggregations