protected void scanRowForMatch(int tableRow, QueryResults queryResults) { int matchedRow = queryResults.findBestMatch(tableRow); if (matchedRow == -1) { replaceAllvariablesInRow(tableRow); TestResult testResult = TestResult.fail(null, table.getCellContents(0, tableRow), "missing"); table.updateContent(0, tableRow, testResult); getTestContext().increment(testResult.getExecutionResult()); } else { markFieldsInMatchedRow(tableRow, matchedRow, queryResults); } }