package org.simantics.pythonlink.test;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
import org.junit.Test;
+import org.simantics.PlatformException;
+import org.simantics.Simantics;
+import org.simantics.application.arguments.Arguments;
+import org.simantics.pythonlink.PythonContext;
public class ScriptTests extends ScriptTestBase {
+ static IProgressMonitor progress = new NullProgressMonitor();
+ PythonContext python;
+
+ @BeforeClass
+ public static void SetUpClass() throws PlatformException {
+ Simantics.startUpHeadless(Arguments.parse(new String[] {}), progress);
+ }
+
+ @AfterClass
+ public static void TearDownClass() throws PlatformException {
+ Simantics.shutdown(progress);
+ }
+
public ScriptTests() {
super("scripts");
}
@Test public void Python() throws Exception { test(); }
+ @Test public void Matplotlib() throws Exception { test(); }
+ @Test public void NDArray() throws Exception { test(); }
+ @Test public void Variant() throws Exception { test(); }
+ @Test public void Variable() throws Exception { test(); }
}