Commit Graph
2825 Commits
Author SHA1 Message Date
Axel Uhl a0b1b82a1b bug5877: first successful test case for ranking advanced and sailing competitors in medal stage 2023-07-21 16:34:48 +02:00
Axel Uhl b616d76ccb bug5877: interims commit, using distinct medal *series* for quarter/semi/grand final 2023-07-21 15:28:15 +02:00
Axel Uhl 261d506935 bug5877: started with refactorings and comments; started new scoring scheme 2023-07-20 18:32:46 +02:00
Axel Uhl 592f0d00d4 avoid endless recursion with SCA/RDG for same competitor; added test 2023-07-19 22:22:54 +02:00
Axel Uhl bf7dc83fd4 added test case for fuzzy boat class matcher for new iQFOil alias names 2023-07-16 09:34:23 +02:00
Axel Uhl 0e8718afae bug5870: fixing the distribution of TracTrac competitor/race status to all race logs attached to a race;
this fixes the marathon set-up for iQFOils where the same tracked race
is attached to more than one race column at the same time
2023-07-13 11:28:35 +02:00
Axel Uhl aab8d8d814 bug5835: use leaderboard name as secondary sorting criterion for score correction matching 2023-07-10 17:30:57 +02:00
Axel Uhl 1508fc8977 bug5835: preparing to switch to longest common substring 2023-06-24 19:09:58 +02:00
Axel Uhl 1adc016ad6 bug5835: starting to re-factor boat class match-making to own class for testability 2023-06-21 16:23:56 +02:00
Axel Uhl 87ec00220b bug5836: added test case that asserts the high-point tie breaking by A8.2 (last race) 2023-04-17 16:31:21 +02:00
Axel Uhl ad52f568a4 bug5715: fixed another bug in the test;
when comparing cross-fleet semi-finalist ranking we need to move in
steps of two, so we compare ranks 3/4, 5/6, 7/8, and 9/10, and NOT
4/5, 6/7, and so on.
2023-04-07 11:18:16 +02:00
Axel Uhl e25b7724bb bug5715: fixed one of the tests which now passes 2023-04-07 11:05:19 +02:00
Axel Uhl f575703ad2 bug5715: fixed test class names to ensure JUnit picks them up 2023-04-06 23:04:13 +02:00
Axel Uhl 660b6eabf6 bug5715: fixed a few first issues that the tests revealed 2023-04-06 16:06:39 +02:00
Axel Uhl 19c5455fd6 bug5715: fixed tests to the degree that empty medal series columns don't hurt 2023-04-05 21:48:03 +02:00
Axel Uhl e4eb8e6557 bug5715: interims commit, working on (failing) test case for new Formula Kite medal tie break 2023-04-05 19:39:05 +02:00
Axel Uhl be43d2492c bug5831: fixed reconciler so that it ignores AbortFlagFinder result if current pass in [UN|PRE]SCHEDULED state 2023-04-04 23:52:48 +02:00
Axel Uhl d85b8882a7 bug5831: added failing test case 2023-04-04 23:12:57 +02:00
Axel Uhl f8e1d5d5e2 bug5765: use bcprov-ext for newer ssh kex algorithms 2023-03-23 13:37:33 +01:00
Udo Wessels a11f20595d bug5127: First charge of Selenium test fragments. Not working. 2023-02-03 19:30:28 +01:00
Axel Uhl 7ae0e49456 Merge branch 'master' into bug5784 2023-01-17 15:54:18 +01:00
Axel Uhl 8f95d7d5cc in tests replaced skitrac.tractrac.dk by event2.tractrac.com 2023-01-17 15:54:00 +01:00
Axel Uhl f44c83c22b bug5784: fixing tests;
TrackedRaces now requires a TrackedRace to respond with a valid
RaceDefinition upon getRace(); some test mocks didn't
2023-01-17 15:20:35 +01:00
Axel Uhl c3646c8a14 use ECLIPSE_HOME variable for classpath extension fod SailingDomainTest 2023-01-16 15:22:02 +01:00
Axel Uhl e0f00b0689 Merge branch 'master' into bug5147 2023-01-10 16:43:37 +01:00
Axel Uhl 8c72ab2bd4 in testGetCertificate also try reference number for previous year;
this can help early in the year when there are few or no certificates yet for the
current year and the lookup by boat name fails due to encoding issues for special
characters leading to deviations between the certificate itself and the database
master data for that certificate
2023-01-04 23:24:08 +01:00
Axel Uhl 61690d15aa trying to further stabilize CourseUpdateTest by waiting for TracTrac connection to be stopped 2023-01-04 17:49:27 +01:00
Axel Uhl b2e8b69069 force delay between test regatta log entries to enforce timestamp difference 2022-12-29 18:18:11 +01:00
Axel Uhl ff2ba85a0e aligned test launch config with docker-1[17] branches 2022-12-22 23:16:27 +01:00
Axel Uhl 7da5b11e60 Merge branch 'master' into mockito-4.8.1 2022-12-21 14:30:36 +01:00
Axel Uhl 9884b967a9 formatting only 2022-12-21 14:26:32 +01:00
Axel Uhl 574e11885a in TestORCPublicCertificateDatabase.testGetCertificate fall back to refNo if boat name doesn't resolve;
special characters in the boat name may have been the reason for
deviations between certificate master data and query form
2022-12-21 14:19:20 +01:00
Axel Uhl 448da8b295 use a semaphore to ensure all receivers are done loading their queues before continuing with test 2022-12-21 14:12:26 +01:00
Axel Uhl 021fc81ed4 cleanly removing Race/TrackedRace from DomainFactory in tearDown;
this could help avoid failures in CourseUpdateTest where we can see an
unexpected waypointRemoved callback being logged for the CP1 waypoint
just added, and this most likely leads to the test failure. Perhaps the
tracked race, race and course were accidentally re-used across test
executions.
2022-12-21 13:41:59 +01:00
Axel Uhl 74ac83a4cd mockito-4.8.1: consolidated imports, avoiding warnings 2022-12-21 10:09:57 +01:00
Axel Uhl 88f0a472d2 mockito-4.8.1: null is not matched by any(Class); using any() now 2022-12-21 10:03:01 +01:00
Axel Uhl b0462d2233 mockito-4.8.1: upgraded Import-Package versions to 4.8.1 for mockito-core 2022-12-20 23:41:46 +01:00
Axel Uhl cbe9204f19 mockito-4.8.1: refactored all tests so they compile with mockito-core 4.8.1 2022-12-20 18:25:58 +01:00
Axel Uhl 5ddb7e2d15 bug5792: remove @SuppressWarning("deprecation") for new Integer(int) invocations again;
on Java 1.8 there is no deprecation, and in this case adding such a
@SuppressWarning annotation will itself cause a warning...
2022-12-12 08:27:08 -08:00
Axel Uhl 24132454b0 bug5792: adjust to Java-11 deprecations (Number constructors, reflection, Hamcrest, minor AWT changes) 2022-12-12 07:35:58 -08:00
Axel Uhl a6363406be bug5792: introduce org.hamcrest-2.2.0, remove gwt-dev deps 2022-12-12 06:18:51 -08:00
Axel Uhl b4689a28ae bug5715: fixed tests because assertEquals with an ObscuringIterable doesn't work if the other object is a List 2022-12-05 09:29:49 -08:00
Axel Uhl 3f3dff9705 bug5715: refactored for performance; getCompetitorsFromBestToWorst now returns Iterable, not List 2022-12-05 16:17:46 +01:00
Axel Uhl c1c4d7f024 replaced AbstractSimpleLeaderboardImpl.suppressedCompetitors by ConcurrentHashMap;
this seems to cause a massive performance gain as no locking is required
anymore, and according to the profiler the read-locking in isSuppressed
was one of the performance bottlenecks in the
Leaderboard.getCompetitorsFromBestToWorst chain.
2022-12-05 10:41:28 +01:00
Axel Uhl 32922ae1b8 bug5715: another test for tied semi-finalists with different number of races, breaking on last race or opening series 2022-12-02 17:37:15 +01:00
Axel Uhl d8bebee97c bug5715: interims (backup) commit, starting test for hand-crafted semi-finals 2022-12-02 15:51:59 +01:00
Axel Uhl ae92945b21 bug5715: removed obsolete (copied/commented) test code 2022-12-02 14:51:15 +01:00
Axel Uhl e403a30972 bug5715: multiplied test with random race results/arrangements for different numbers of competitors 2022-12-02 14:49:49 +01:00
Axel Uhl 6613e58017 bug5715: first black-box test with random race results for 600 competitors 2022-12-02 05:18:39 -08:00
Axel Uhl 2d814b583c bug5715: started with testing opening series results and tie-break 2022-12-02 11:37:30 +01:00