Introduce workaround for back-end exception in the test cases parser code

This commit is contained in:
victor.petukhov
2019-08-19 11:56:24 +03:00
parent 9487d291da
commit fa29297fb1
@@ -54,9 +54,9 @@ fun parseTestCases(testFiles: TestFiles): SpecTestCasesSet {
val matcher = testCaseInfoPattern.matcher(fileContent)
var startFind = 0
if (!testCasesSet.byFiles.contains(filename)) {
testCasesSet.byFiles[filename] = mutableMapOf()
testCasesSet.byRanges[filename] = TreeMap()
testCasesSet.byFiles.computeIfAbsent(filename) {
testCasesSet.byRanges.putIfAbsent(filename, TreeMap())
mutableMapOf()
}
val testCasesOfFile = testCasesSet.byFiles[filename]!!