Tests ändern

This commit is contained in:
JanUlrich 2017-04-06 16:22:36 +02:00
parent ed56e24ff6
commit e1af4e1f65
2 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,6 @@ public class GeneralParserTest{
filenames.add("ImportTest.jav");
filenames.add("CastTest.jav");
filenames.add("StatementsTest.jav");
filenames.add("Methods.jav");
filenames.add("ImportTestGeneric.jav");
filenames.add("CastTest.jav");
//filenames.add("BoundedParameter.jav");

View File

@ -1,8 +1,11 @@
package parser;
import de.dhbwstuttgart.parser.JavaTXParser;
import de.dhbwstuttgart.parser.RunParser;
import org.junit.Test;
import java.io.File;
import static org.junit.Assert.*;
public class RunParserTest {
@ -13,6 +16,6 @@ public class RunParserTest {
public void testMain() throws Exception {
String[] args = new String[1];
args[0] = rootDirectory+"ImportTest2.jav";
RunParser.main(args);
new JavaTXParser().parse(new File(args[0]));
}
}