diff --git a/test/strucType/Test.java b/test/strucType/Test.java new file mode 100644 index 00000000..fc856247 --- /dev/null +++ b/test/strucType/Test.java @@ -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"); + } + +} diff --git a/test/strucType/javFiles/test.jav b/test/strucType/javFiles/test.jav new file mode 100644 index 00000000..c3e6bede --- /dev/null +++ b/test/strucType/javFiles/test.jav @@ -0,0 +1,4 @@ +class C1 extends Object +{ + m(para) { return para; } +} \ No newline at end of file