File test/de/jandankert/jscriptbox/VariableTest.java
Last commit: Sat May 30 23:22:58 2026 +0200 Jan Dankert Refactoring package openrat->jandankert because the maven artefact is in namespace de.jandankert
1 package de.jandankert.jscriptbox; 2 3 import de.jandankert.jscriptbox.executor.ScriptInterpreter; 4 import junit.framework.TestCase; 5 6 public class VariableTest extends TestCase{ 7 8 public void testHelloWorldFromVariable() throws Exception { 9 ScriptInterpreter interpreter = new ScriptInterpreter(); 10 11 interpreter.runCode(""" 12 text = "Hello, World"; 13 write( text ); 14 """); 15 16 assertEquals( "Hello, World",interpreter.getOutput() ); 17 } 18 19 20 }
Downloadtest/de/jandankert/jscriptbox/VariableTest.java
History Sat, 30 May 2026 23:22:58 +0200 Jan Dankert Refactoring package openrat->jandankert because the maven artefact is in namespace de.jandankert