-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.0.1
-
None
If a ModuleVersionHandler is using an install task which checks if a module is installed (see code), it can be difficult to test this in the respective ModuleVersionHandlerTest:
ConditionalDelegateTask("", "", new Task()) { @Override protected boolean condition(InstallContext installContext) throws TaskExecutionException { return installContext.isModuleRegistered("modulename"); } })
We should add a way to "fake register" a module, so that we can test DeltaBuilder updates in ModuleVersionHandlerTest(s).
Acceptance criteria