File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
tmc-langs-qmake/src/main/java/fi/helsinki/cs/tmc/langs/qmake Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public QTestResultParser() {
4646 public void loadTests (Path testResult ) {
4747 this .tests = parseTestCases (testResult );
4848 }
49-
49+
5050 private List <TestResult > parseTestCases (Path testOutput ) {
5151 Document doc ;
5252 try {
@@ -80,8 +80,7 @@ private Document prepareDocument(Path testOutput)
8080 try {
8181 doc = documentBuilder .parse (is );
8282 } catch (SAXException ex ) {
83- log .info (SAX_PARSER_ERROR );
84- log .info (ex .toString ());
83+ log .info (SAX_PARSER_ERROR , ex );
8584 }
8685
8786 if (doc == null ) {
Original file line number Diff line number Diff line change @@ -57,12 +57,6 @@ public final class QmakePlugin extends AbstractLanguagePlugin {
5757 = Pattern .compile ("(^[^\" \\ r\\ n]*\\ /\\ *{1,2}.*?\\ *\\ /"
5858 + "|(^[^\" \\ r\\ n]*\\ /\\ /[^\\ r\\ n]*))" , Pattern .MULTILINE | Pattern .DOTALL );
5959
60- private static final RunResult EMPTY_FAILURE
61- = new RunResult (
62- Status .COMPILE_FAILED ,
63- ImmutableList .<TestResult >of (),
64- new ImmutableMap .Builder <String , byte []>().build ());
65-
6660 private static final Logger log = LoggerFactory .getLogger (QmakePlugin .class );
6761
6862 /**
Original file line number Diff line number Diff line change 77
88public final class QmakeStudentFilePolicy extends ConfigurableStudentFilePolicy {
99
10- // TODO: figure this out
1110 private static final Path SOURCE_FOLDER_PATH = Paths .get ("src" );
1211
1312 public QmakeStudentFilePolicy (Path configFileParent ) {
You can’t perform that action at this time.
0 commit comments