Search in sources :

Example 46 with KernelTest

use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.

the class MessageCreatorTest method setUp.

@Before
public void setUp() throws Exception {
    kernel = new KernelTest("id1");
    seo = new SimpleEvaluationObject("code");
    seo.setJupyterMessage(new Message());
}
Also used : Message(com.twosigma.beakerx.message.Message) KernelTest(com.twosigma.beakerx.KernelTest) SimpleEvaluationObject(com.twosigma.beakerx.jvm.object.SimpleEvaluationObject) Before(org.junit.Before)

Example 47 with KernelTest

use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.

the class DisplayOutputContainerTest method setUp.

@Before
public void setUp() throws Exception {
    kernel = new KernelTest();
    KernelManager.register(kernel);
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) Before(org.junit.Before)

Example 48 with KernelTest

use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.

the class ProgressReportingTest method setUp.

@Before
public void setUp() throws Exception {
    groovyKernel = new KernelTest();
    KernelManager.register(groovyKernel);
    progress = new ProgressReporting();
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) Before(org.junit.Before)

Example 49 with KernelTest

use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.

the class CyclingOutputContainerLayoutManagerSerializerTest method setUp.

@Before
public void setUp() throws Exception {
    KernelManager.register(new KernelTest());
    layoutManager = new CyclingOutputContainerLayoutManager();
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) CyclingOutputContainerLayoutManager(com.twosigma.beakerx.jvm.object.CyclingOutputContainerLayoutManager) Before(org.junit.Before)

Example 50 with KernelTest

use of com.twosigma.beakerx.KernelTest in project beakerx by twosigma.

the class DashboardLayoutManagerSerializerTest method setUp.

@Before
public void setUp() throws Exception {
    KernelManager.register(new KernelTest());
    layoutManager = new DashboardLayoutManager(5);
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) DashboardLayoutManager(com.twosigma.beakerx.jvm.object.DashboardLayoutManager) Before(org.junit.Before)

Aggregations

KernelTest (com.twosigma.beakerx.KernelTest)115 Before (org.junit.Before)110 StringWriter (java.io.StringWriter)15 EvaluatorTest (com.twosigma.beakerx.evaluator.EvaluatorTest)13 BeforeClass (org.junit.BeforeClass)4 Message (com.twosigma.beakerx.message.Message)3 TreeMap (com.twosigma.beakerx.chart.treemap.TreeMap)2 CommMsgHandler (com.twosigma.beakerx.kernel.handler.CommMsgHandler)2 SQLEvaluator (com.twosigma.beakerx.sql.evaluator.SQLEvaluator)2 DefaultValue (net.sf.jtreemap.swing.DefaultValue)2 TreeMapNode (net.sf.jtreemap.swing.TreeMapNode)2 CodeCell (com.twosigma.beakerx.CodeCell)1 Histogram (com.twosigma.beakerx.chart.histogram.Histogram)1 Plot (com.twosigma.beakerx.chart.xychart.Plot)1 Bars (com.twosigma.beakerx.chart.xychart.plotitem.Bars)1 BaseEvaluator (com.twosigma.beakerx.evaluator.BaseEvaluator)1 EvaluatorManager (com.twosigma.beakerx.evaluator.EvaluatorManager)1 EvaluatorResultTestWatcher.waitForErrorMessage (com.twosigma.beakerx.evaluator.EvaluatorResultTestWatcher.waitForErrorMessage)1 EvaluatorResultTestWatcher.waitForIdleMessage (com.twosigma.beakerx.evaluator.EvaluatorResultTestWatcher.waitForIdleMessage)1 Handler (com.twosigma.beakerx.handler.Handler)1