Do not show tests without locations

This commit is contained in:
Yaroslav Lepenkin
2016-02-01 19:17:22 +03:00
parent e00bcb6ea0
commit 6a1148770d
2 changed files with 27 additions and 0 deletions
@@ -61,6 +61,10 @@ public class RecentTestsData {
}
public void addTest(String url, TestStateInfo.Magnitude magnitude, Date runDate) {
if (myRunner.getLocation(url) == null) {
return;
}
if (myRunner.isSuite(url)) {
mySuites.put(url, new SuiteInfo(url, magnitude, runDate));
return;