mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-16 16:34:47 -04:00
fixes a bug in the folder test runner, closes #553
This commit is contained in:
parent
e8b8fdf50f
commit
4d688b9fb9
@ -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("; ");
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user