JavaTXCompilerInJavaTX/test/typeinference/JavaTXCompilerTest.java

23 lines
617 B
Java
Raw Normal View History

2017-03-02 17:16:14 +00:00
package typeinference;
import de.dhbwstuttgart.core.JavaTXCompiler;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import static org.junit.Assert.*;
public class JavaTXCompilerTest {
private static final String rootDirectory = System.getProperty("user.dir")+"/test/javFiles/";
@Test
public void test() throws IOException, ClassNotFoundException {
JavaTXCompiler compiler = new JavaTXCompiler();
2017-03-29 15:28:29 +00:00
//compiler.parse(new File(rootDirectory+"Methods.jav"));
2017-03-22 15:05:59 +00:00
compiler.parse(new File(rootDirectory+"Generics.jav"));
2017-03-02 17:16:14 +00:00
compiler.typeInference();
}
}