[xwiki/xwiki-platform] bf6f1f: [Misc] Add unit tests for SchedulerPlugin
Branch: refs/heads/vmassol/more-unit-tests-for-xwiki-platform-scheduler-api Home: https://github.com/xwiki/xwiki-platform Commit: bf6f1fdb4bac220394b07ec030aa89228226fe0b https://github.com/xwiki/xwiki-platform/commit/bf6f1fdb4bac220394b07ec030aa8... Author: Vincent Massol <[email protected]> Date: 2026-10-14 (Wed, 14 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-scheduler/xwiki-platform-scheduler-api/pom.xml M xwiki-platform-core/xwiki-platform-scheduler/xwiki-platform-scheduler-api/src/main/java/com/xpn/xwiki/plugin/scheduler/SchedulerPlugin.java A xwiki-platform-core/xwiki-platform-scheduler/xwiki-platform-scheduler-api/src/test/java/com/xpn/xwiki/plugin/scheduler/SchedulerPluginTest.java Log Message: ----------- [Misc] Add unit tests for SchedulerPlugin * Add SchedulerPluginTest, based on an in-memory Quartz scheduler that is never started, covering scheduling, pause/resume/unschedule/trigger, the job execution context, the disabled plugin, and the document, wiki deletion and classloader reset events * Add a package-private SchedulerPlugin#setEnabled() so that tests can enable the plugin without starting the default Quartz scheduler * Raise the module's JaCoCo instruction ratio from 0.07 to 0.48 Co-Authored-By: Claude Opus 5.5 (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