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

Tests sorting #525

Merged
merged 18 commits into from
Aug 6, 2020
Prev Previous commit
Next Next commit
Change HashMap to LinkedHashMap to keep tests suite order
  • Loading branch information
wojciech.blachowski committed Sep 24, 2019
commit f9936f53f2dc7dd17b651616d5311970cb874eff
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.common.base.MoreObjects;
import java.io.Serializable;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

Expand Down Expand Up @@ -71,7 +71,7 @@ public TestSuiteRun(TestSuiteRun testSuiteRun, String name, String domain, List<
}

private Map<String, TestRun> getMap(List<TestRun> testRunList) {
Map<String, TestRun> result = new HashMap<>();
Map<String, TestRun> result = new LinkedHashMap<>();
for (TestRun testRun : testRunList) {
result.put(testRun.getName(), testRun);
}
Expand Down