Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sorting parameter from ConfigurationSessionTestSuite #903 #1356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@ public class ConfigurationSessionTestSuite extends SessionTestSuite {
private IPath configurationPath = FileSystemHelper.getRandomLocation(FileSystemHelper.getTempDir());
private boolean prime = true;
private boolean readOnly;
// should the test cases be run in alphabetical order?
private boolean shouldSort;

public ConfigurationSessionTestSuite(String pluginId, Class<?> theClass) {
super(pluginId, theClass);
this.shouldSort = true;
}

public ConfigurationSessionTestSuite(String pluginId, String name) {
Expand Down Expand Up @@ -269,11 +266,6 @@ public void run(TestResult result) {
fail(e);
}
}
if (!shouldSort) {
// for shared sessions, we don't control the execution of test cases
super.run(result);
return;
}
// we have to sort the tests cases
Test[] allTests = getTests(true);
// now run the tests in order
Expand Down
Loading