Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
84 0 0 0 100% 1.594 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.myjtools.jexten.plugin.test 84 0 0 0 100% 1.594 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.myjtools.jexten.plugin.test

- Class Tests Errors Failures Skipped Success Rate Time
TestErrorRecovery$JarInstallationErrors 2 0 0 0 100% 0.019 s
TestPluginManifest 0 0 0 0 0% 0.069 s
TestPluginValidation$ValidationResultTests 9 0 0 0 100% 0.014 s
TestErrorRecovery 0 0 0 0 0% 0.235 s
TestErrorRecovery$ManifestParsingErrors 3 0 0 0 100% 0.021 s
TestErrorRecovery$PluginRemovalErrors 1 0 0 0 100% 0.006 s
TestErrorRecovery$ChecksumVerificationErrors 4 0 0 0 100% 0.084 s
TestPluginValidation$PluginValidatorTests 13 0 0 0 100% 0.042 s
TestErrorRecovery$ApplicationCompatibilityErrors 1 0 0 0 100% 0.012 s
TestErrorRecovery$BundleInstallationErrors 5 0 0 0 100% 0.032 s
TestPluginHotReload$PluginEventTests 4 0 0 0 100% 0.008 s
TestPluginHotReload 0 0 0 0 0% 0.314 s
TestPluginHotReload$PluginIdTests 2 0 0 0 100% 0.004 s
TestPluginValidation 0 0 0 0 0% 0.059 s
TestPluginHotReload$PluginListenerTests 6 0 0 0 100% 0.016 s
TestPluginZipFile 2 0 0 0 100% 0.129 s
TestErrorRecovery$PluginReloadErrors 1 0 0 0 100% 0.007 s
TestErrorRecovery$ValidationErrors 2 0 0 0 100% 0.025 s
TestPlugin 1 0 0 0 100% 0.011 s
TestPluginManager 3 0 0 0 100% 0.129 s
TestPluginHotReload$PluginLifecycleIntegrationTests 14 0 0 0 100% 0.282 s
TestPluginManifest$ManifestValidation 8 0 0 0 100% 0.055 s
TestPluginManifest 2 0 0 0 100% 0.010 s
TestErrorRecovery$MissingArtifactsErrors 1 0 0 0 100% 0.011 s

Test Cases

[Summary] [Package List] [Test Cases]

TestErrorRecovery$JarInstallationErrors

shouldThrowWhenJarFileNotExists 0.005 s
shouldThrowWhenArtifactStoreNotSet 0.010 s

TestPluginValidation$ValidationResultTests

emptyErrorListShouldBeValid 0.001 s
mergeValidWithValidShouldBeValid 0.001 s
mergeInvalidWithInvalidShouldCombineErrors 0.001 s
validResultShouldBeValid 0.001 s
invalidResultWithSingleError 0.001 s
mergeInvalidWithValidShouldBeInvalid 0.001 s
toStringShouldDescribeResult 0.001 s
invalidResultWithMultipleErrors 0 s
mergeValidWithInvalidShouldBeInvalid 0.001 s

TestErrorRecovery$ManifestParsingErrors

shouldThrowWhenRequiredFieldsMissing 0.005 s
shouldThrowForInvalidYaml 0.007 s
shouldThrowForNullInput 0.005 s

TestErrorRecovery$PluginRemovalErrors

shouldThrowWhenRemovingNonExistentPlugin 0.004 s

TestErrorRecovery$ChecksumVerificationErrors

shouldThrowWhenChecksumMismatch 0.022 s
shouldThrowDuringDiscoveryWhenChecksumMismatch 0.028 s
shouldInstallWhenChecksumsCorrect 0.016 s
shouldInstallWithoutChecksums 0.012 s

TestPluginValidation$PluginValidatorTests

customValidatorShouldWork 0.003 s
requireDescriptionShouldRejectMissingDescription 0.003 s
requireLicenseShouldRejectMissingLicense 0.004 s
requireMinimumVersionShouldAcceptEqualVersion 0.003 s
requireMinimumVersionShouldRejectLowerVersion 0.003 s
requireLicenseShouldAcceptPresentLicense 0.002 s
requireDisplayNameShouldAcceptPresentDisplayName 0.002 s
requireMinimumVersionShouldAcceptHigherVersion 0.002 s
requireDescriptionShouldAcceptPresentDescription 0.001 s
requireUrlShouldAcceptPresentUrl 0.002 s
requireUrlShouldRejectMissingUrl 0.002 s
requireDisplayNameShouldRejectMissingDisplayName 0.001 s
andShouldCombineValidators 0.002 s

TestErrorRecovery$ApplicationCompatibilityErrors

shouldRejectPluginForDifferentApplication 0.009 s

TestErrorRecovery$BundleInstallationErrors

shouldThrowWhenBundleNotValidZip 0.005 s
shouldThrowWhenBundleFileEmpty 0.005 s
shouldThrowWhenBundleHasNoManifest 0.006 s
shouldThrowWhenBundleHasCorruptedManifest 0.007 s
shouldThrowWhenBundleFileNotExists 0.004 s

TestPluginHotReload$PluginEventTests

reloadedEventShouldHaveCorrectType 0.001 s
unloadedEventShouldHaveCorrectType 0.001 s
removedEventShouldHaveCorrectType 0.001 s
installedEventShouldHaveCorrectType 0.001 s

TestPluginHotReload$PluginIdTests

pluginIdEqualityShouldWork 0.001 s
pluginIdShouldBeExtractedFromManifest 0.002 s

TestPluginHotReload$PluginListenerTests

onInstallShouldOnlyReceiveInstallEvents 0.002 s
forTypesShouldFilterEvents 0.002 s
forTypesShouldAcceptMultipleTypes 0.003 s
listenerShouldReceiveEvents 0.002 s
onRemoveShouldOnlyReceiveRemoveEvents 0.002 s
onReloadShouldOnlyReceiveReloadEvents 0.002 s

TestPluginZipFile

readMalformedPluginFile 0.066 s
unzipPluginFile 0.045 s

TestErrorRecovery$PluginReloadErrors

shouldThrowWhenReloadingNonInstalledPlugin 0.005 s

TestErrorRecovery$ValidationErrors

shouldThrowWhenCustomValidatorFails 0.014 s
shouldCollectErrorsFromMultipleValidators 0.008 s

TestPlugin

testPlugin 0.010 s

TestPluginManager

installPluginFromJar 0.060 s
removePlugin 0.039 s
installPluginFromBundleFile 0.027 s

TestPluginHotReload$PluginLifecycleIntegrationTests

shouldThrowWhenReloadingNonExistentPlugin 0.004 s
shouldEmitInstalledEventOnInstall 0.019 s
fullLifecycleTest 0.021 s
shouldTrackEventsAcrossFullCycle 0.027 s
shouldRemoveListenerSuccessfully 0.018 s
shouldHandleMultipleReloadCycles 0.028 s
shouldAllowReinstallationAfterRemoval 0.021 s
shouldEmitUnloadedAndReloadedEventsOnReload 0.019 s
reloadAllPluginsShouldReloadAll 0.018 s
shouldEmitRemovedEventOnRemove 0.019 s
shouldMaintainPluginStateAfterReload 0.020 s
shouldRefreshAllPluginsFromDisk 0.018 s
shouldClearPluginFromRegistryAfterRemoval 0.013 s
shouldCleanUpModuleLayersAfterRemoval 0.027 s

TestPluginManifest$ManifestValidation

shouldRejectEmptyManifest 0.004 s
shouldAcceptValidSemanticVersions 0.008 s
shouldRejectInvalidVersionFormat 0.009 s
shouldRejectEmptyExtensionImplementations 0.008 s
shouldAcceptValidManifest 0.003 s
shouldRejectEmptyArtifactDependencies 0.005 s
shouldRejectMissingGroup 0.005 s
shouldCollectAllValidationErrors 0.003 s

TestPluginManifest

createPluginUsingBuilder 0.004 s
readAndWritePluginFile 0.006 s

TestErrorRecovery$MissingArtifactsErrors

shouldThrowWhenArtifactMissingDuringDiscovery 0.008 s