15 lines
403 B
Java
15 lines
403 B
Java
|
package bytecode;
|
||
|
|
||
|
import org.junit.Test;
|
||
|
|
||
|
public class WhileTest {
|
||
|
public final static String rootDirectory = System.getProperty("user.dir")+"/test/bytecode/";
|
||
|
public final static String testFile = "WhileTest.jav";
|
||
|
public final static String outputFile = "WhileTest.class";
|
||
|
|
||
|
@Test
|
||
|
public void test() {
|
||
|
SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile);
|
||
|
}
|
||
|
}
|