bug5983: first refactoring introducing two new fields in the TT connectivity params;

they capture the liveURI/storedURI as taken from the connection
configuration, and not the expanded, calculated versions after looking
at the params file
This commit is contained in:
Axel Uhl
2024-03-26 14:27:11 +01:00
parent efaf7489ab
commit 966df318a3
14 changed files with 57 additions and 28 deletions
@@ -103,7 +103,7 @@ public class MultipleClassesInRegattaTest {
false, EmptyRaceLogStore.INSTANCE, EmptyRegattaLogStore.INSTANCE, domainFactory,
tracTracUsername, tracTracPassword, TracTracConnectionConstants.ONLINE_STATUS, TracTracConnectionConstants.ONLINE_VISIBILITY,
/* trackWind */ false, /* correctWindDirectionByMagneticDeclination */ true, /* preferReplayIfAvailable */ false, /* timeoutInMillis */ -1,
/* useOfficialEventsToUpdateRaceLog */ false);
/* useOfficialEventsToUpdateRaceLog */ false, /* liveURIFromConfiguration */ null, /* storedURIFromConfiguration */ null);
}
@After
@@ -72,7 +72,7 @@ public class UnicodeCharactersInCompetitorNamesTest {
false, EmptyRaceLogStore.INSTANCE, EmptyRegattaLogStore.INSTANCE, domainFactory,
"tracTest", "tracTest", "", "", /* trackWind */ false, /* correctWindDirectionByMagneticDeclination */ true,
/* preferReplayIfAvailable */ false, /* timeoutInMillis */ (int) RaceTracker.TIMEOUT_FOR_RECEIVING_RACE_DEFINITION_IN_MILLISECONDS,
/* useOfficialEventsToUpdateRaceLog */ false),
/* useOfficialEventsToUpdateRaceLog */ false, /* liveURIFromConfiguration */ null, /* storedURIFromConfiguration */ null),
RaceTracker.TIMEOUT_FOR_RECEIVING_RACE_DEFINITION_IN_MILLISECONDS,
new DefaultRaceTrackingHandler(), /* markPassingRaceFingerprintRegistry */ null);