fixed compilation errors introduced by moving stopTracking from RacingEventService to TrackedRegattaRegistry

This commit is contained in:
Axel Uhl committed 2013-08-13 13:38:17 +02:00
1 parent c145142b35
commit 763f0f5761
2 files changed
+13

No files matched your search

@@ -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 {
}
}
@@ -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);