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() {
46
46
public void loadTests (Path testResult ) {
47
47
this .tests = parseTestCases (testResult );
48
48
}
49
-
49
+
50
50
private List <TestResult > parseTestCases (Path testOutput ) {
51
51
Document doc ;
52
52
try {
@@ -80,8 +80,7 @@ private Document prepareDocument(Path testOutput)
80
80
try {
81
81
doc = documentBuilder .parse (is );
82
82
} catch (SAXException ex ) {
83
- log .info (SAX_PARSER_ERROR );
84
- log .info (ex .toString ());
83
+ log .info (SAX_PARSER_ERROR , ex );
85
84
}
86
85
87
86
if (doc == null ) {
Original file line number Diff line number Diff line change @@ -57,12 +57,6 @@ public final class QmakePlugin extends AbstractLanguagePlugin {
57
57
= Pattern .compile ("(^[^\" \\ r\\ n]*\\ /\\ *{1,2}.*?\\ *\\ /"
58
58
+ "|(^[^\" \\ r\\ n]*\\ /\\ /[^\\ r\\ n]*))" , Pattern .MULTILINE | Pattern .DOTALL );
59
59
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
-
66
60
private static final Logger log = LoggerFactory .getLogger (QmakePlugin .class );
67
61
68
62
/**
Original file line number Diff line number Diff line change 7
7
8
8
public final class QmakeStudentFilePolicy extends ConfigurableStudentFilePolicy {
9
9
10
- // TODO: figure this out
11
10
private static final Path SOURCE_FOLDER_PATH = Paths .get ("src" );
12
11
13
12
public QmakeStudentFilePolicy (Path configFileParent ) {
You can’t perform that action at this time.
0 commit comments