Search in sources :

Example 1 with EvaluatorTest

use of com.twosigma.beakerx.evaluator.EvaluatorTest in project beakerx by twosigma.

the class TimeItLineModeMagicCommandTest method setUp.

@Before
public void setUp() throws Exception {
    this.evaluator = new EvaluatorTest();
    this.kernel = new KernelTest("id2", evaluator);
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) EvaluatorTest(com.twosigma.beakerx.evaluator.EvaluatorTest) Before(org.junit.Before)

Example 2 with EvaluatorTest

use of com.twosigma.beakerx.evaluator.EvaluatorTest 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()));
        }
    };
}
Also used : EvaluatorResultTestWatcher.waitForIdleMessage(com.twosigma.beakerx.evaluator.EvaluatorResultTestWatcher.waitForIdleMessage) Message(com.twosigma.beakerx.message.Message) EvaluatorResultTestWatcher.waitForErrorMessage(com.twosigma.beakerx.evaluator.EvaluatorResultTestWatcher.waitForErrorMessage) KernelTest(com.twosigma.beakerx.KernelTest) EvaluatorTest(com.twosigma.beakerx.evaluator.EvaluatorTest) BeforeClass(org.junit.BeforeClass)

Example 3 with EvaluatorTest

use of com.twosigma.beakerx.evaluator.EvaluatorTest in project beakerx by twosigma.

the class CodeTest method setUp.

@BeforeClass
public static void setUp() {
    evaluator = new EvaluatorTest();
    kernel = new KernelTest("id2", evaluator);
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) EvaluatorTest(com.twosigma.beakerx.evaluator.EvaluatorTest) BeforeClass(org.junit.BeforeClass)

Example 4 with EvaluatorTest

use of com.twosigma.beakerx.evaluator.EvaluatorTest in project beakerx by twosigma.

the class ClasspathAddMvnDepsMagicCommandTest method setUp.

@Before
public void setUp() throws Exception {
    evaluator = new EvaluatorTest();
    kernel = new KernelTest("id2", evaluator);
    prepareLocalMavenRepository();
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) EvaluatorTest(com.twosigma.beakerx.evaluator.EvaluatorTest) Before(org.junit.Before)

Example 5 with EvaluatorTest

use of com.twosigma.beakerx.evaluator.EvaluatorTest in project beakerx by twosigma.

the class TimeCellModeMagicCommandTest method setUp.

@Before
public void setUp() throws Exception {
    this.evaluator = new EvaluatorTest();
    this.kernel = new KernelTest("id2", evaluator);
}
Also used : KernelTest(com.twosigma.beakerx.KernelTest) EvaluatorTest(com.twosigma.beakerx.evaluator.EvaluatorTest) Before(org.junit.Before)

Aggregations

KernelTest (com.twosigma.beakerx.KernelTest)13 EvaluatorTest (com.twosigma.beakerx.evaluator.EvaluatorTest)13 Before (org.junit.Before)10 BeforeClass (org.junit.BeforeClass)3 EvaluatorResultTestWatcher.waitForErrorMessage (com.twosigma.beakerx.evaluator.EvaluatorResultTestWatcher.waitForErrorMessage)1 EvaluatorResultTestWatcher.waitForIdleMessage (com.twosigma.beakerx.evaluator.EvaluatorResultTestWatcher.waitForIdleMessage)1 ExecuteRequestHandler (com.twosigma.beakerx.kernel.handler.ExecuteRequestHandler)1 Message (com.twosigma.beakerx.message.Message)1