isAllowed function
Bound id allowed to run+report. Unbound (<= 0) always true.
Implementation
bool isAllowed(int testCaseId) {
if (testCaseId <= 0) return true;
final roots = _allowedRoots;
if (roots == null) return true;
return roots.contains(testCaseId);
}