JavaPatternMatching/test/parser/RunParserTest.java
2017-03-09 16:20:05 +01:00

18 lines
428 B
Java

package parser;
import de.dhbwstuttgart.parser.RunParser;
import org.junit.Test;
import static org.junit.Assert.*;
public class RunParserTest {
private static final String rootDirectory = System.getProperty("user.dir")+"/test/parser/";
@Test
public void testMain() throws Exception {
String[] args = new String[1];
args[0] = rootDirectory+"ImportTest2.jav";
RunParser.main(args);
}
}