[xwiki/xwiki-commons] 815ac8: [Misc] Add the unit tests needed by the 0.80 cover...
Branch: refs/heads/claude/eager-gauss-a18jx1 Home: https://github.com/xwiki/xwiki-commons Commit: 815ac823ea333bb94a5749c5de610035a882dd36 https://github.com/xwiki/xwiki-commons/commit/815ac823ea333bb94a5749c5de6100... Author: XWiki 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/components/XWikiLoggerTest.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 Log Message: ----------- [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 Commit: d492246289294df3aa57587e9fcf5a354bc81595 https://github.com/xwiki/xwiki-commons/commit/d492246289294df3aa57587e9fcf5a... Author: XWiki 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 R xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/test/java/org/xwiki/extension/repository/aether/internal/components/XWikiLoggerTest.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] 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 Commit: f9eab0ea7f34cea16656ac59d8bb705a2157a878 https://github.com/xwiki/xwiki-commons/commit/f9eab0ea7f34cea16656ac59d8bb70... Author: XWiki LLM Bot <[email protected]> Date: 2026-10-14 (Wed, 14 Oct 2026) Changed paths: M 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] 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 Compare: https://github.com/xwiki/xwiki-commons/compare/5f65289e6f6e...f9eab0ea7f34 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
participants (1)
-
XWiki Notifications