added test case for ORC PCS ranking metric; still failing (maybe wrong certificates?)

Change-Id: I965ae4582c97adad16f3e05b5a7d048c5396ea9a
This commit is contained in:
Axel Uhl committed 2019-09-18 17:41:23 +02:00
1 parent 5875406ce5
commit cffe615bfb
22 files changed
+365 -152

No files matched your search

@@ -87,7 +87,7 @@ public class TestStoringAndLoadingRegattaORCCertificateAssignmengtEvent extends
@Test
public void test() throws JsonDeserializationException, ParseException {
RaceLogORCCertificateAssignmentEvent expectedEvent = new RaceLogORCCertificateAssignmentEventImpl(MillisecondsTimePoint.now(), expectedEventTime, author,
expectedId, expectedPassId, importer.getCertificate("GER 5549"), boat);
expectedId, expectedPassId, importer.getCertificateBySailNumber("GER 5549"), boat);
Document dbObject = mongoFactory.storeRaceLogEntry(logIdentifier, expectedEvent);
RaceLogORCCertificateAssignmentEvent actualEvent = loadEvent(dbObject);
@@ -83,7 +83,7 @@ public class TestStoringAndLoadingRegattaORCCertificateAssignmentEvent extends A
@Test
public void test() throws JsonDeserializationException, ParseException {
RaceLogORCCertificateAssignmentEvent expectedEvent = new RaceLogORCCertificateAssignmentEventImpl(MillisecondsTimePoint.now(), expectedEventTime, author,
expectedId, expectedPassId, importer.getCertificate("GER 5549"), competitor);
expectedId, expectedPassId, importer.getCertificateBySailNumber("GER 5549"), competitor);
Document dbObject = mongoFactory.storeRaceLogEntry(logIdentifier, expectedEvent);
RaceLogORCCertificateAssignmentEvent actualEvent = loadEvent(dbObject);