235236237238239240241
fFilter= filter; for (T each : getChildren()) if (shouldRun(each)) return; throw new NoTestsRemainException(); }
124125126127128129130
Method method= iter.next(); if (!filter.shouldRun(methodDescription(method))) iter.remove(); } if (fTestMethods.isEmpty()) throw new NoTestsRemainException(); }
83848586878889
299300301302303304305306307
} children[count++] = method; } } if (count == 0) { throw new NoTestsRemainException(); } filteredChildren = ArraysExt.resize(children, count); }
162163164165166167168
127128129130131132133134
if (!filter.shouldRun(methodDescription(method))) { iter.remove(); } } if (testMethods.isEmpty()) { throw new NoTestsRemainException(); } }
161162163164165166167168
public void filter(Filter filter) throws NoTestsRemainException { getSpec().filterFeatures(new JUnitFilterAdapter(filter)); if (allFeaturesExcluded()) { throw new NoTestsRemainException(); } }
109110111112113114115
215216217218219220221222
} else iter.remove(); } if (frameworkMethods.isEmpty()) { throw new NoTestsRemainException(); } }
129130131132133134135136
if (!filter.shouldRun(methodDescription(method))) { iter.remove(); } } if (fTestMethods.isEmpty()) { throw new NoTestsRemainException(); } }