18 lines
428 B
Java
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);
|
||
|
}
|
||
|
}
|