mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 14:12:11 +00:00
adjusted after merge; using *.server.api
This commit is contained in:
1 parent
6e6e88cf20
commit
cf930c857c
3 files changed
+11
-14
No files matched your search
@@ -6,6 +6,7 @@ Bundle-Version: 1.0.0.qualifier
|
||||
Bundle-Vendor: SAP
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
Require-Bundle: com.sap.sailing.server,
|
||||
com.sap.sailing.server.api,
|
||||
com.sap.sailing.domain,
|
||||
com.sap.sailing.domain.tractracadapter,
|
||||
com.sap.sailing.domain.swisstimingadapter,
|
||||
|
||||
+1
-1
@@ -141,7 +141,7 @@ public class RaceTrackerStartStopTest {
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
@Test
|
||||
public void testRemoveLastRaceOfTracker() throws MalformedURLException, IOException, InterruptedException{
|
||||
public void testRemoveLastRaceOfTracker() throws MalformedURLException, IOException, InterruptedException {
|
||||
racingEventService.removeRace(event, raceDef1);
|
||||
racingEventService.removeRace(event, raceDef2);
|
||||
// The event map should still contain the raceTrackers except of raceTracker1 and raceTracker2
|
||||
|
||||
+9
-13
@@ -7,29 +7,25 @@ import com.sap.sailing.domain.base.Event;
|
||||
import com.sap.sailing.domain.tracking.RaceTracker;
|
||||
import com.sap.sailing.server.impl.RacingEventServiceImpl;
|
||||
|
||||
public class RacingEventServiceImplMock extends RacingEventServiceImpl {
|
||||
|
||||
|
||||
|
||||
|
||||
public class RacingEventServiceImplMock extends RacingEventServiceImpl{
|
||||
|
||||
public RacingEventServiceImplMock() {
|
||||
super();
|
||||
}
|
||||
|
||||
public Map<String, Event> getEventsByNameMap(){
|
||||
|
||||
public Map<String, Event> getEventsByNameMap() {
|
||||
return eventsByName;
|
||||
}
|
||||
|
||||
public Map<Event, Set<RaceTracker>> getRaceTrackersByEventMap(){
|
||||
|
||||
public Map<Event, Set<RaceTracker>> getRaceTrackersByEventMap() {
|
||||
return raceTrackersByEvent;
|
||||
}
|
||||
|
||||
public Map<Object, RaceTracker> getRaceTrackersByIDMap(){
|
||||
|
||||
public Map<Object, RaceTracker> getRaceTrackersByIDMap() {
|
||||
return raceTrackersByID;
|
||||
}
|
||||
|
||||
public Map<String, Event> getEventsByName(){
|
||||
|
||||
public Map<String, Event> getEventsByName() {
|
||||
return eventsByName;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user