mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 13:20:57 +00:00
fixed compilation errors introduced by moving stopTracking from RacingEventService to TrackedRegattaRegistry
This commit is contained in:
1 parent
c145142b35
commit
763f0f5761
2 files changed
+13
No files matched your search
+7
@@ -1,6 +1,8 @@
|
||||
package com.sap.sailing.domain.test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.net.MalformedURLException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -50,4 +52,9 @@ public class DummyTrackedRegattaRegistry implements TrackedRegattaRegistry {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stopTracking(Regatta regatta, RaceDefinition race) throws MalformedURLException, IOException,
|
||||
InterruptedException {
|
||||
}
|
||||
|
||||
}
|
||||
+6
@@ -8,7 +8,9 @@ import static org.junit.Assert.assertNull;
|
||||
import static org.junit.Assert.assertSame;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.net.MalformedURLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@@ -142,6 +144,10 @@ public class LeaderboardOfflineTest extends AbstractLeaderboardTest {
|
||||
public boolean isRaceBeingTracked(RaceDefinition r) {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public void stopTracking(Regatta regatta, RaceDefinition race) throws MalformedURLException, IOException,
|
||||
InterruptedException {
|
||||
}
|
||||
};
|
||||
LeaderboardDTO leaderboardDTO = leaderboard.getLeaderboardDTO(now, emptySet, trackedRegattaRegistry, DomainFactory.INSTANCE);
|
||||
assertNotNull(leaderboardDTO);
|
||||
|
||||
Reference in new issue
Block a user