Search in sources :

Example 1 with EvaluatorManager

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

the class GroovyOutputContainerTest method setUp.

@Before
public void setUp() throws Exception {
    BaseEvaluator evaluator = TestGroovyEvaluator.groovyEvaluator();
    groovyKernel = new KernelTest("GroovyOutputContainerTest", evaluator);
    groovyEvaluatorManager = new EvaluatorManager(groovyKernel, evaluator);
    groovyEvaluatorManager.setShellOptions(new EvaluatorParameters(new HashMap()));
    KernelManager.register(groovyKernel);
}
Also used : EvaluatorParameters(com.twosigma.beakerx.kernel.EvaluatorParameters) KernelTest(com.twosigma.beakerx.KernelTest) HashMap(java.util.HashMap) EvaluatorManager(com.twosigma.beakerx.evaluator.EvaluatorManager) BaseEvaluator(com.twosigma.beakerx.evaluator.BaseEvaluator) Before(org.junit.Before)

Aggregations

KernelTest (com.twosigma.beakerx.KernelTest)1 BaseEvaluator (com.twosigma.beakerx.evaluator.BaseEvaluator)1 EvaluatorManager (com.twosigma.beakerx.evaluator.EvaluatorManager)1 EvaluatorParameters (com.twosigma.beakerx.kernel.EvaluatorParameters)1 HashMap (java.util.HashMap)1 Before (org.junit.Before)1