forked from JavaTX/JavaCompilerCore
Test anfügen
This commit is contained in:
parent
fd8df92c03
commit
5e675b9a93
@ -29,7 +29,7 @@ public class JavaTXCompilerTest {
|
|||||||
@Test
|
@Test
|
||||||
public void test() throws IOException, java.lang.ClassNotFoundException {
|
public void test() throws IOException, java.lang.ClassNotFoundException {
|
||||||
System.out.println(rootDirectory);
|
System.out.println(rootDirectory);
|
||||||
String fileName = "VoidMeth";
|
String fileName = "RecursiveMeth";
|
||||||
filesToTest.add(new File(rootDirectory+fileName+".jav"));
|
filesToTest.add(new File(rootDirectory+fileName+".jav"));
|
||||||
System.out.println(rootDirectory+fileName+".jav");
|
System.out.println(rootDirectory+fileName+".jav");
|
||||||
JavaTXCompiler compiler = new JavaTXCompiler(filesToTest);
|
JavaTXCompiler compiler = new JavaTXCompiler(filesToTest);
|
||||||
|
5
test/bytecode/RecursiveMeth.jav
Normal file
5
test/bytecode/RecursiveMeth.jav
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
public class VoidMeth{
|
||||||
|
public Integer test(){
|
||||||
|
return this.test();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user