fixes a bug in the folder test runner, closes #553

This commit is contained in:
hneemann 2020-11-09 19:36:41 +01:00
parent e8b8fdf50f
commit 4d688b9fb9
2 changed files with 8 additions and 1 deletions

View File

@ -201,7 +201,7 @@ public class FolderTestRunner {
try {
TestExecutor.Result tr = new TestExecutor(tc, circuit, library).execute();
if (tr.allPassed()) {
rowCount += tr.getValueTable().getRows();
rowCount += tr.getRowsTested();
} else {
if (sb.length() > 0)
sb.append("; ");

View File

@ -341,6 +341,13 @@ public class TestExecutor {
return toManyResults;
}
/**
* @return the number of rows tested (passed+failed)
*/
public int getRowsTested() {
return passedCount + failedCount;
}
/**
* @return the value table containing the detailed result
*/