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
Axel Uhl
8a4155ed26
bug5147: @Ignore'd TestCrossFleetScoring to see if we have no other regressions before moving on
2022-11-08 18:55:33 +01:00
Axel Uhl
962da584c9
bug5147: fixed getRankImprovedByDisqualificationsOfBetterRankedCompetitors; refactored mocked races to return proper 0 ranks
2022-11-08 17:39:28 +01:00
Axel Uhl
432b9838b3
bug5147: fixed old tests by adjusting mocked races and a few test verdicts
2022-11-08 13:35:35 +01:00
Axel Uhl
5c0a1add31
bug5147: fixed some of the existing tests that had regressions due the changes on this branch;
...
at least two more old tests exist that still fail; furthermore, the new
tests in TestCrossFleetScoring fail
2022-11-07 15:01:14 +01:00
Axel Uhl
2e669c4ea8
Merge branch 'master' into bug5147
2022-11-07 12:58:01 +01:00
Axel Uhl
9a98b07162
fixed imports after merge
2022-11-02 23:44:17 +01:00
Axel Uhl
615fc7b1d5
Merge branch 'bug5217'
2022-11-02 23:41:30 +01:00
Axel Uhl
b56a2da2bc
Merge branch 'master' into bug2346
2022-10-29 00:20:26 +02:00
Finn Huelsbusch
f38ef2539b
multiple changes
2022-10-25 22:18:43 +02:00
Finn Huelsbusch
e5c9758e26
cleanup
2022-10-24 10:12:43 +02:00