forked from JavaTX/JavaCompilerCore
22 lines
551 B
Java
22 lines
551 B
Java
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();
|
|
compiler.parse(new File(rootDirectory+"Methods.jav"));
|
|
compiler.typeInference();
|
|
}
|
|
} |