[xwiki/xwiki-commons] bc53b6: [Misc] Add unit tests to xwiki-commons-extension-r...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-commons Commit: bc53b684022c159ea4fe594f760cd7ef33df7bfd https://github.com/xwiki/xwiki-commons/commit/bc53b684022c159ea4fe594f760cd7... Author: xwikiorg-llm-bot <[email protected]> Date: 2026-10-14 (Wed, 14 Oct 2026) Changed paths: A xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/test/java/org/xwiki/extension/repository/aether/internal/NexusXWikiOrgExtensionRepositorySourceTest.java A xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/test/java/org/xwiki/extension/repository/aether/internal/configuration/DefaultAetherConfigurationTest.java A xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/test/java/org/xwiki/extension/repository/maven/internal/converter/ExtensionTypeConverterTest.java Log Message: ----------- [Misc] Add unit tests to xwiki-commons-extension-repository-maven to meet its 0.80 coverage threshold (#2055) * [Misc] Add the unit tests needed by the 0.80 coverage threshold of xwiki-commons-extension-repository-maven * The threshold was raised to 0.80 while the module's coverage on CI is 0.78, which broke the master build at the jacoco-check. * Add XWikiLoggerTest and DefaultAetherConfigurationTest, the two classes with the most uncovered instructions that are cheap to test, bringing the module above 0.80 again without touching the threshold. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017mEUHrY9Que7uP7TAuiEpE * [Misc] Replace the tautological XWikiLoggerTest by tests of actual logic * XWikiLoggerTest only re-stated the delegation of each method to SLF4J. * Test instead the precedence of ExtensionTypeConverter (packaging, then type, then extension, then the Maven file extension) and the default nexus.xwiki.org repository provided by NexusXWikiOrgExtensionRepositorySource, which keep the module above its 0.80 threshold. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017mEUHrY9Que7uP7TAuiEpE * [Misc] Don't hide the converter field in ExtensionTypeConverterTest Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017mEUHrY9Que7uP7TAuiEpE --------- Co-authored-by: Claude Opus 5.5 <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
participants (1)
-
XWiki Notifications