Skip to content

Commit

Permalink
try to stabilize blinkers
Browse files Browse the repository at this point in the history
  • Loading branch information
aaschmid committed Jan 3, 2020
1 parent 986d57c commit 009e082
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
Expand Down Expand Up @@ -44,6 +45,12 @@ protected List<FrameworkMethod> findDataProviderMethods(List<TestClass> location
}
}
}
Collections.sort(result, new Comparator<FrameworkMethod>() {
@Override
public int compare(FrameworkMethod a, FrameworkMethod b) {
return a.getName().compareTo(b.getName());
}
});
return result;
}
}
Expand Down Expand Up @@ -76,7 +83,7 @@ public static Iterable<Set<Integer>> testNumberB() {
return Arrays.asList(
Collections.singleton(2),
Collections.singleton(Integer.valueOf(3))
);
);
// @formatter:on
}

Expand Down

0 comments on commit 009e082

Please sign in to comment.