mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
bug5287: fixed TestLeaderboardGroupRetrievalProcessor and un-@Ignored
This commit is contained in:
@@ -11,5 +11,6 @@ Import-Package: junit.framework;version="4.8.2",
|
||||
org.junit.runner;version="4.8.2"
|
||||
Require-Bundle: org.mockito.mockito-core;bundle-version="1.9.5",
|
||||
org.hamcrest;bundle-version="1.1.0",
|
||||
com.sap.sse.common
|
||||
com.sap.sse.common,
|
||||
org.objenesis;bundle-version="2.1.0"
|
||||
Automatic-Module-Name: com.sap.sailing.datamining.test
|
||||
|
||||
+3
-4
@@ -10,10 +10,10 @@ import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import com.sap.sailing.datamining.data.HasLeaderboardGroupContext;
|
||||
@@ -58,12 +58,11 @@ public class TestLeaderboardGroupRetrievalProcessor {
|
||||
return groups;
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void testFilteringRetrieval() throws InterruptedException {
|
||||
retriever.processElement(service);
|
||||
retriever.finish();
|
||||
Collection<LeaderboardGroup> expectedGroups = service.getLeaderboardGroups().values();
|
||||
assertThat(retrievedGroups, is(expectedGroups));
|
||||
final Set<LeaderboardGroup> expectedGroups = new HashSet<>(service.getLeaderboardGroups().values());
|
||||
assertThat(new HashSet<>(retrievedGroups), is(expectedGroups));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user