Search in sources :

Example 1 with JavaDefaultVariables

use of com.twosigma.beakerx.javash.kernel.JavaDefaultVariables in project beakerx by twosigma.

the class JavaEvaluatorAutocompleteImportTest method setUpClass.

@BeforeClass
public static void setUpClass() throws Exception {
    HashMap<String, Object> map = new HashMap<>();
    map.put(IMPORTS, new JavaDefaultVariables().getImports());
    EvaluatorParameters kernelParameters = new EvaluatorParameters(map);
    groovyEvaluator = new JavaEvaluator("id", "sid", cellExecutor(), getTestTempFolderFactory(), kernelParameters);
}
Also used : EvaluatorParameters(com.twosigma.beakerx.kernel.EvaluatorParameters) HashMap(java.util.HashMap) JavaDefaultVariables(com.twosigma.beakerx.javash.kernel.JavaDefaultVariables) JavaEvaluator(com.twosigma.beakerx.javash.evaluator.JavaEvaluator) BeforeClass(org.junit.BeforeClass)

Aggregations

JavaEvaluator (com.twosigma.beakerx.javash.evaluator.JavaEvaluator)1 JavaDefaultVariables (com.twosigma.beakerx.javash.kernel.JavaDefaultVariables)1 EvaluatorParameters (com.twosigma.beakerx.kernel.EvaluatorParameters)1 HashMap (java.util.HashMap)1 BeforeClass (org.junit.BeforeClass)1