92939495969798
Method method= iter.next(); if (!filter.shouldRun(methodDescription(method))) iter.remove(); } if (fTestMethods.isEmpty()) throw new NoTestsRemainException(); }
156157158159160161162163164
filtered.addTest(test); } } setTest(filtered); if (filtered.testCount() == 0) { throw new NoTestsRemainException(); } } }
389390391392393394395396397
iter.remove(); } } filteredChildren = Collections.unmodifiableCollection(children); if (filteredChildren.isEmpty()) { throw new NoTestsRemainException(); } } }
88899091929394
Method method= (Method) iter.next(); if (!filter.shouldRun(methodDescription(method))) iter.remove(); } if (fTestMethods.isEmpty()) throw new NoTestsRemainException(); }
322323324325326327328329
} else iter.remove(); } if (getFilteredChildren().isEmpty()) { throw new NoTestsRemainException(); } }
126127128129130131132
275276277278279280281282283
} children[count++] = method; } } if (count == 0) { throw new NoTestsRemainException(); } filteredChildren = ArraysExt.resize(children, count); }
154155156157158159160161
public void filter(Filter filter) throws NoTestsRemainException { getSpec().filterFeatures(new JUnitFilterAdapter(filter)); if (allFeaturesExcluded()) { throw new NoTestsRemainException(); } }
251252253254255256257
fFilter= filter; for (T each : getChildren()) if (shouldRun(each)) return; throw new NoTestsRemainException(); }
314315316317318319320321