mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 21:30:57 +00:00
commented out RRS26 and GateLine start because of their current instability...
This commit is contained in:
1 parent
ee903876e0
commit
bb4c55003d
3 files changed
+6
-5
No files matched your search
+2
-2
@@ -1,8 +1,8 @@
|
||||
package com.sap.sailing.domain.common.racelog;
|
||||
|
||||
public enum StartProcedureType {
|
||||
RRS26("Fix Line Start (RRS26)"),
|
||||
GateStart("Gate Start"),
|
||||
//RRS26("Fix Line Start (RRS26)"),
|
||||
//GateStart("Gate Start"),
|
||||
ESS("\"Extreme Sailing Series\"-Start");
|
||||
|
||||
private String displayName;
|
||||
|
||||
+1
-1
@@ -135,7 +135,7 @@ public class RaceLogEventSerializerChooserTest {
|
||||
@Test
|
||||
public void testStartProcedureTypeChangedSerializer() {
|
||||
// we use the real event type here because we do not want to re-implement the dispatching.
|
||||
RaceLogEvent event = factory.createStartProcedureChangedEvent(null, 0, StartProcedureType.GateStart);
|
||||
RaceLogEvent event = factory.createStartProcedureChangedEvent(null, 0, StartProcedureType.ESS);
|
||||
assertEquals(startProcedureTypeChangedEventSerializer, chooser.getSerializer(event));
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -10,10 +10,11 @@ public class StartProcedureFactory {
|
||||
switch (type) {
|
||||
case ESS:
|
||||
return new ExtremeSailingSeriesStartProcedure(raceLog);
|
||||
case GateStart:
|
||||
//commented out for safety reasons
|
||||
/*case GateStart:
|
||||
return new GateStartProcedure(raceLog);
|
||||
case RRS26:
|
||||
return new RRS26StartProcedure(raceLog);
|
||||
return new RRS26StartProcedure(raceLog);*/
|
||||
default:
|
||||
throw new UnsupportedOperationException("Not yet implemented start procedure.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user