Commit Graph
833 Commits
Author SHA1 Message Date
Masha Kashirina 428801937b Merge branch 'main' into bug6202 2026-10-11 20:00:54 +02:00
Masha Kashirina 55f2b55fea bug6202: test update + cleanup/bugs 2026-10-11 19:48:59 +02:00
Axel Uhl e4baf5e416 bug6227: add TimePoint.plusResolution()/minusResolution() and convert resolution-tick call sites
Introduces two convenience methods on TimePoint that step by one resolution
unit rather than a hard-coded millisecond:

  TimePoint plusResolution()  == plus(getResolution())
  TimePoint minusResolution() == minus(getResolution())

They are implemented once in AbstractTimePoint and saturate at EndOfTime /
BeginningOfTime just like plus/minus do. Expressing "the next/previous
representable instant" through getResolution() keeps these sites correct
should a finer-resolution TimePoint ever be introduced, instead of assuming
one-millisecond granularity.

All plus(1)/minus(1) call sites whose receiver is a TimePoint and whose intent
is a single resolution tick were converted to plusResolution()/minusResolution()
across production and tests. Deliberately left unchanged:
  - plus(1)/minus(1) on Duration receivers (not TimePoints)
  - TimePointTest overflow/saturation tests that exercise plus(long)/minus(long)
    with the literal 1 on purpose

Assisted-By: Claude Opus 4.8 (claude-opus-5)
2026-09-22 23:18:13 +02:00
Axel Uhl 43d0e89336 bug6227: fix single-instant PING mappings being dropped during MDI
RegattaLogDeviceMappingEvent.getToInclusive() is an inclusive end, but
TimeRange.to() is exclusive. TopLevelMasterData.addRangeIfMappingEvent
built TimeRange.create(from, toInclusive); for a single-instant PING
mapping (from == toInclusive, e.g. a pinged mark) this is an empty range,
which MultiTimeRange silently discards. The device is then never streamed
and its single fix never reaches the importing instance.

Convert the inclusive end to an exclusive one by adding one TimePoint
resolution unit (currently 1ms), so [t, t] becomes the non-empty range
[t, t+1ms), and load the corresponding fixes with toIsInclusive == false
in MasterDataResource.writeRaceLogTrackingFixes. Update the related
Javadoc on both sides accordingly.

Adds MasterDataImportTest.testMasterDataImportPingedMarkSingleInstantFix,
which reproduces the drop (single-instant inclusive mapping with one
stored fix) and now passes.

Assisted-By: Claude Opus 4.8 (claude-opus-5)
2026-09-22 22:58:49 +02:00
Axel Uhl 2b33134758 bug6227: minor changes, debug logging reduced 2026-09-22 21:58:09 +02:00
Axel Uhl 6f3d11b673 bug6202: added tests 2026-09-21 15:28:30 +02:00
Masha Kashirina 6391b872b8 bug6202: video break support 2026-09-19 21:35:03 +02:00
Masha Kashirina f697891b51 bug6202: test fix 2026-09-13 22:38:40 +02:00
Masha Kashirina 6591410999 Merge branch 'main' into bug6202 2026-09-12 00:08:16 +02:00
Masha Kashirina a0c96f41d8 bug6202: refactor missing image stage 2026-09-12 00:07:41 +02:00
Adrian Bollig f1ac9c6332 Fix encoding (medium confidence) 2026-08-28 11:16:13 +02:00
Axel Uhl cfa8916a2f bug6275: made compilable 2026-07-22 08:52:59 +02:00
Axel Uhl 457f92b196 Merge branch 'main' into bug5959 2026-03-07 22:46:05 +01:00
Axel Uhl b2e4e7298a Merge branch 'main' into bug5959 2026-03-07 22:45:42 +01:00
Axel Uhl cdf9e61ef4 Merge remote-tracking branch 'github/main' 2026-03-07 18:26:51 +01:00
Axel Uhl 303cca97d0 bug6216: harmonized recursion avoidance for Event ownership change 2026-03-06 12:12:25 +01:00
Axel Uhl e2691bc7e1 bug6216: adding a test case that shows this only occurs with shared coure areas 2026-03-06 11:07:28 +01:00
Axel Uhl 42c8f86f6f bug6216: use objects, not their IDs, for "visited" sets 2026-03-06 10:54:26 +01:00
ishitadatta d8055cffe8 Fix ownership update recursion for cyclic hierarchy links
Signed-off-by: ishitadatta <isheeta50@gmail.com>
2026-03-05 14:09:14 -05:00
Axel Uhl 58d9b23603 Merge branch 'bug6209' into bug5959 2026-03-04 15:57:40 +01:00
Axel Uhl aa75f1546a Merge branch 'bug6209' into bug6215 2026-03-04 11:38:38 +01:00
Axel Uhl 47c1355c87 bug6209: Opus 4.6-improved comments 2026-03-04 11:37:43 +01:00
Axel Uhl 3d047b2f47 bug6209: (Opus 4.6) set Shiro security manager only after stubbing is complete 2026-03-04 11:25:08 +01:00
Axel Uhl 22f180cee1 bug6215: moving Speed, Position, Bearing, Weigher and others to SSE; GWT CFSs not done yet 2026-03-03 17:30:56 +01:00
Luise Henning 36ed7bb2aa Merge branch 'main' into bug5959 2025-11-14 14:36:51 +01:00
Luise Henning 784192313e Merge branch 'main' into bug5959 2025-11-14 10:45:35 +01:00
Axel Uhl 4d4142987f bug6170: fix token to use for RaceTrackerTest 2025-11-11 07:44:56 +01:00
Luise Henning ce7c8aa190 Test 2025-10-27 15:59:54 +01:00
Axel Uhl 3c2df9369a bug6170: compiling but entirely untested migration to TracAPI-5.0.0 2025-10-23 13:52:20 +02:00
Axel Uhl d84c1c9316 bug6117 aftermath: migrated PeerImpl.finalize() into a shutdown() method invoked by @AfterEach methods in tests 2025-07-09 09:33:58 +02:00
Axel Uhl 6dcd7d4187 bug6127_2024-12: adjusted JUnit dependencies in MANIFEST.MF files to downgraded versions 2025-07-07 11:33:18 +02:00
Axel Uhl 5b2536e9c0 bug6127: more JUnit5 migrations; still to do: selenium and domain.test 2025-06-05 17:21:26 +02:00
Axel Uhl faf71f55a7 bug6127: first step migrating tests from JUnit4 to JUnit5 2025-06-05 17:21:25 +02:00
Axel Uhl 5910783be3 bug6104: tests can be exempted from strong password requirements 2025-03-24 21:57:45 +01:00
Axel Uhl b97ace3db0 bug6097: apply same mechanism for user creation per IP locking as for failed bearer token-based authentication 2025-03-19 14:17:35 +01:00
Axel Uhl b6434167dd bug6095: tags now have a hiddenInfo field, used for tag identifiers;
added the AI icon to com.sap.sailing.www/images for stability;
improved sizing of images displayed with tags
2025-02-26 17:08:02 +01:00
Axel Uhl 16a10064ff bug6095: removed permission checking in TaggingServiceTest;
permissions are not to be checked in the TaggingService, so we cannot
test this here
2025-02-25 20:42:35 +01:00
Axel Uhl ad4cd299fc Revert "bug6095: moved Activator to impl package, export aiagent package"
This reverts commit ebaf236e81.
2025-02-25 15:07:49 +01:00
Axel Uhl ebaf236e81 bug6095: moved Activator to impl package, export aiagent package 2025-02-25 15:07:27 +01:00
Axel Uhl 71aa3dcd7b bug6057: moved SmarthphoneImei stuff from test to productio 2024-09-17 12:27:54 +02:00
Axel Uhl 966df318a3 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
2024-03-26 14:27:11 +01:00
Axel Uhl 06b0e3fb2e bug5960: added more tests for inferring laps from course and template 2024-02-27 18:12:40 +01:00
Axel Uhl fd4175ac6a bug5960: added test case for CourseTemplateCompatibilityChecker 2024-02-27 13:00:01 +01:00
Axel Uhl b26c15c765 bug5970: first compiling version with true heading in GPSFixMoving 2024-02-20 16:58:25 +01:00
Axel Uhl 5b224dd7af bug5353: event base URL with trailing slash no longer leads to incorrect race viewer URLs;
also, race name and regatta name are now properly URL encoded for link
construction
2024-01-26 11:32:06 +01:00
Axel Uhl 9e5f0e3a0d bug5353: added failing test case 2024-01-26 11:13:30 +01:00
Wessels, Udo (PPN) 2b66121265 bug5910: remove not supported line in .project files so that current Eclipse version (2023-09) can import the projects. 2023-10-09 18:00:50 +02:00
Axel Uhl edef707c3a bug5866/bug5867: fixing course area construction, also in tests, and in SailingServiceWrite interface/impl 2023-08-02 21:32:42 +02:00
Axel Uhl 9dd347b7c2 bug5866/bug5867: pass through centerPosition/radius for CourseArea creation 2023-08-02 16:07:06 +02:00
Axel Uhl 8d3c5c81d1 bug5867/bug5866: made center/radius final fields in CourseArea 2023-08-02 15:57:58 +02:00