Commit Graph
2816 Commits
Author SHA1 Message Date
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
Axel Uhl e8dd37c4ac bug5715: starting changes to "three medal wins" test suite 2022-12-02 00:40:57 +01:00
Axel Uhl 3556a4ae91 bug5715: ignore null scores for last medal race score; implemented tie break by opening series rank 2022-12-01 15:41:54 +01:00
Axel Uhl 0816a454d7 bug5715: moved calculation of points for score sum to ScoringScheme 2022-11-30 15:50:44 +01:00
Axel Uhl eda983f6bb bug5715: started working on a (failing) test suite for the "three medal wins" scoring scheme 2022-11-30 14:28:10 +01:00
Axel Uhl a679cf5236 adjusted code to upgraded JUnit, avoiding deprecation warnings 2022-11-29 13:47:14 +01:00
Axel Uhl daef87414c 261 countries now; fixed test 2022-11-17 16:28:05 +01:00
Axel Uhl e5fc92cbe0 remove org.omg.CORBA dependency in test case for Java-11 readiness 2022-11-16 12:30:25 +01:00
Axel Uhl 0b57d0927b bug5147: ignore TestCrossFleetScoring again to focus on regression
testing
2022-11-11 17:17:15 +01:00
Axel Uhl 14c62371a2 bug5147: removed obsolete TODOs, worked on Wiki page ranking.md 2022-11-10 17:30:27 +01:00