forked from JavaTX/JavaCompilerCore
ImportTest2
This commit is contained in:
parent
d9cc613600
commit
a38b796a6f
4
test/parser/ImportTest2.jav
Normal file
4
test/parser/ImportTest2.jav
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
class ImportTest{
|
||||||
|
}
|
18
test/parser/RunParserTest.java
Normal file
18
test/parser/RunParserTest.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user