ImportTest2

This commit is contained in:
JanUlrich 2017-03-09 16:20:05 +01:00
parent d9cc613600
commit a38b796a6f
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,4 @@
import java.util.ArrayList;
class ImportTest{
}

View File

@ -0,0 +1,18 @@
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);
}
}