mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-17 08:55:05 -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 {
|
try {
|
||||||
TestExecutor.Result tr = new TestExecutor(tc, circuit, library).execute();
|
TestExecutor.Result tr = new TestExecutor(tc, circuit, library).execute();
|
||||||
if (tr.allPassed()) {
|
if (tr.allPassed()) {
|
||||||
rowCount += tr.getValueTable().getRows();
|
rowCount += tr.getRowsTested();
|
||||||
} else {
|
} else {
|
||||||
if (sb.length() > 0)
|
if (sb.length() > 0)
|
||||||
sb.append("; ");
|
sb.append("; ");
|
||||||
|
@ -341,6 +341,13 @@ public class TestExecutor {
|
|||||||
return toManyResults;
|
return toManyResults;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the number of rows tested (passed+failed)
|
||||||
|
*/
|
||||||
|
public int getRowsTested() {
|
||||||
|
return passedCount + failedCount;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the value table containing the detailed result
|
* @return the value table containing the detailed result
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user