Skip to content

Commit

Permalink
Update junit-vintage-engine/src/main/java/org/junit/vintage/engine/de…
Browse files Browse the repository at this point in the history
…scriptor/RunnerTestDescriptor.java

Co-authored-by: Marc Philipp <[email protected]>
  • Loading branch information
YongGoose and marcphilipp authored Jan 15, 2025
1 parent 0b70615 commit 6e679dc
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,11 @@ public boolean isIgnored() {
return ignored;
}

public void setScheduler(RunnerScheduler scheduler) {
this.scheduler = scheduler;
public void setScheduler(org.junit.runners.model.RunnerScheduler scheduler) {
Runner runner = getRunnerToReport();
if (runner instanceof ParentRunner) {
((ParentRunner<?>) runner).setScheduler(scheduler);
}
}

private static class ExcludeDescriptionFilter extends Filter {
Expand Down

0 comments on commit 6e679dc

Please sign in to comment.