File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
src/test/java/org/scijava/plugins/scripting/javascript Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 9393 <artifactId >junit</artifactId >
9494 <scope >test</scope >
9595 </dependency >
96+ <dependency >
97+ <groupId >org.scijava</groupId >
98+ <artifactId >scijava-common</artifactId >
99+ <classifier >tests</classifier >
100+ </dependency >
96101 </dependencies >
97102
98103 <build >
Original file line number Diff line number Diff line change 4848
4949import org .junit .Test ;
5050import org .scijava .Context ;
51+ import org .scijava .script .AbstractScriptLanguageTest ;
5152import org .scijava .script .ScriptLanguage ;
5253import org .scijava .script .ScriptModule ;
5354import org .scijava .script .ScriptService ;
5859 * @author Johannes Schindelin
5960 * @author Curtis Rueden
6061 */
61- public class JavaScriptTest {
62+ public class JavaScriptTest extends AbstractScriptLanguageTest {
63+
64+ @ Test
65+ public void testDiscovery () {
66+ assertDiscovered (JavaScriptScriptLanguage .class );
67+ }
6268
6369 @ Test
6470 public void testBasic () throws InterruptedException , ExecutionException ,
You can’t perform that action at this time.
0 commit comments