Erste Tests für strucTypes

This commit is contained in:
Aldaron7 2017-10-18 17:39:16 +02:00
parent 9faf25d670
commit 2d598d28e9
2 changed files with 24 additions and 0 deletions

20
test/strucType/Test.java Normal file
View File

@ -0,0 +1,20 @@
package strucType;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import de.dhbwstuttgart.core.JavaTXCompiler;
public class Test {
public static final String rootDirectory = System.getProperty("user.dir")+"/test/strucType/javFiles/";
@org.junit.Test
public void test() throws ClassNotFoundException, IOException {
JavaTXCompiler compiler = new JavaTXCompiler(new File(rootDirectory + "test.jav"));
System.out.println("test ende");
}
}

View File

@ -0,0 +1,4 @@
class C1 extends Object
{
m(para) { return para; }
}