]> gerrit.simantics Code Review - simantics/python.git/blob - org.simantics.pythonlink/test/org/simantics/pythonlink/test/ScriptTests.java
Added support for dynamically typed data access and a Variable interface.
[simantics/python.git] / org.simantics.pythonlink / test / org / simantics / pythonlink / test / ScriptTests.java
1 package org.simantics.pythonlink.test;
2
3 import org.eclipse.core.runtime.IProgressMonitor;
4 import org.eclipse.core.runtime.NullProgressMonitor;
5 import org.junit.AfterClass;
6 import org.junit.BeforeClass;
7 import org.junit.Test;
8 import org.simantics.PlatformException;
9 import org.simantics.Simantics;
10 import org.simantics.application.arguments.Arguments;
11 import org.simantics.pythonlink.PythonContext;
12
13 public class ScriptTests extends ScriptTestBase {
14     static IProgressMonitor progress = new NullProgressMonitor();
15     
16     PythonContext python;
17
18     @BeforeClass
19     public static void SetUpClass() throws PlatformException {
20         Simantics.startUpHeadless(Arguments.parse(new String[] {}), progress);
21     }
22
23     @AfterClass
24     public static void TearDownClass() throws PlatformException {
25         Simantics.shutdown(progress);
26     }
27
28     public ScriptTests() {
29         super("scripts");
30     }
31
32     @Test public void Python() throws Exception { test(); }
33     @Test public void Matplotlib() throws Exception { test(); }
34     @Test public void NDArray() throws Exception { test(); }
35     @Test public void Variant() throws Exception { test(); }
36     @Test public void Variable() throws Exception { test(); }
37 }