[xwiki/xwiki-platform] 52ab32: [Misc] Add unit tests for RangeIterable
Branch: refs/heads/advisor/002-rangeiterable-unit-tests Home: https://github.com/xwiki/xwiki-platform Commit: 52ab32252be72554ab86167e9a9e6277a05a73f1 https://github.com/xwiki/xwiki-platform/commit/52ab32252be72554ab86167e9a9e6... Author: Vincent Massol <[email protected]> Date: 2026-07-17 (Fri, 17 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-server/pom.xml A xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-server/src/test/java/org/xwiki/rest/internal/RangeIterableTest.java Log Message: ----------- [Misc] Add unit tests for RangeIterable RangeIterable had zero tests despite non-trivial bounds-clamping logic used on the REST pagination path. Add characterization tests pinning current behavior (start/number clamping, negative-number semantics, empty list, unguarded next() past end), and raise the module's xwiki.jacoco.instructionRatio from 0.36 to 0.37 to reflect the coverage gain. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications