[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
118 | 0 | 0 | 2 | 98.305% | 23.12 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
[Summary] [Package List] [Test Cases]
Package | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|
info.magnolia.module.resources.mapping | 6 | 0 | 0 | 0 | 100% | 1.62 |
info.magnolia.module.resources.renderers | 14 | 0 | 0 | 0 | 100% | 0.673 |
info.magnolia.module.resources.setup | 62 | 0 | 0 | 0 | 100% | 14.151 |
info.magnolia.module.resources.loaders | 3 | 0 | 0 | 0 | 100% | 0.021 |
info.magnolia.module.resources | 33 | 0 | 0 | 2 | 93.939% | 6.655 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
URI2ResourcesRepositoryMappingRepositoryTest | 4 | 0 | 0 | 0 | 100% | 1.577 | |
URI2ResourcesRepositoryMappingTest | 2 | 0 | 0 | 0 | 100% | 0.043 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
ResourcesBinaryRendererTest | 6 | 0 | 0 | 0 | 100% | 0.169 | |
ResourcesTextTemplateRendererTest | 8 | 0 | 0 | 0 | 100% | 0.504 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
InstallBinaryResourcesTaskTest | 3 | 0 | 0 | 0 | 100% | 0.03 | |
InstallBinaryResourceTaskTest | 5 | 0 | 0 | 0 | 100% | 0.006 | |
InstallResourceTaskTest | 4 | 0 | 0 | 0 | 100% | 0.016 | |
InstallTextResourcesTaskTest | 4 | 0 | 0 | 0 | 100% | 1.174 | |
InstallTextResourceTaskTest | 6 | 0 | 0 | 0 | 100% | 0.011 | |
ResourceCleanUpTaskTest | 12 | 0 | 0 | 0 | 100% | 3.204 | |
ResourcesModuleVersionHandlerTest | 14 | 0 | 0 | 0 | 100% | 9.664 | |
TemplateMigrationTaskTest | 13 | 0 | 0 | 0 | 100% | 0.046 | |
UpdateResourceReferencesTaskTest | 1 | 0 | 0 | 0 | 100% | 0 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
FileSystemResourceLoaderTest | 3 | 0 | 0 | 0 | 100% | 0.021 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
DelegateResourceVoterTest | 5 | 0 | 0 | 0 | 100% | 5.34 | |
ResourceLinkerTest | 9 | 0 | 0 | 1 | 88.889% | 0.08 | |
ResourcesModuleResourceFilterTest | 3 | 0 | 0 | 0 | 100% | 1.003 | |
ResourcesServletTest | 11 | 0 | 0 | 1 | 90.909% | 0.231 | |
ResourceTypesTest | 5 | 0 | 0 | 0 | 100% | 0.001 |
[Summary] [Package List] [Test Cases]
allowsEverythingFromWhiteListedLocations | 2.923 | |
blankResourcesVoteFalse | 0.706 | |
allowsAcceptedExtensions | 0.644 | |
noResourceFilterIsConsideredAsWhiteListingEverything | 0.571 | |
filtersNotAcceptedExtensions | 0.496 |
testTraversingOutsideOfPathNotPossible | 0.015 | |
testGetStreamRelativePath | 0.005 | |
testGetStream | 0.001 |
noResourcesFilterDelegatesToSuper | 0.499 | |
doesNotMatchExtensionIsForbidden | 0.388 | |
matchesAllowedExtensions | 0.372 | |
matchesAllowedDirectories | 0.318 |
getHandleWhenExtensionIsPartOfNodeName | 0.041 | |
getHandleWhenExtensionIsSavedInPropertyOfNode | 0.002 |
testIfResourceLoaderReturnsContentType | 0.053 | |
testResourceLoadedFromClassPath | 0.053 | |
testResourceLoadedFromContentNode | 0.007 | |
testIfResourceWithoutExtensionLoadedFromClassPathReturnsNullContentType | 0.011 | |
testIfResourceWithExtensionLoadedFromClassPathReturnsNullContentType | 0.008 | |
testIfResourceLoaderThrowsIOExceptionThenUseNextResourceLoader | 0.037 |
testResourcesAreLoadedFromArbitraryPath | 0.17 | |
testRenderJavascriptDecoded | 0.033 | |
testOnRenderNoProcessed | 0.032 | |
testWhenResourceLoaderThrowsIOExceptionThatNextResourceLoaderIsUsed | 0.027 | |
testOnRenderProcessedByPass | 0.135 | |
testRenderCssDecoded | 0.024 | |
testOnRenderNoProcessedByPass | 0.032 | |
testOnRenderProcessed | 0.051 |
ignoresNonExistingResource | 0.073 | |
ignoresExternalLinks | 0.001 | |
linkWithoutProtocol | 0 | |
We currently do not support links without protocol even though this style of links is common to be used nowadays | ||
farFutureFingerPrintIsAddedForKnownResources | 0.001 | |
servletMappingIsCleanedUp | 0.003 | |
prependsDotResourcesPrefixForExistingResourceIfNotSpecified | 0.001 | |
farFutureFingerPrintCantBeAddedForUnknownResources | 0.001 | |
downloadPathPrefixIsCleanedUp | 0 | |
ignoresDotResourcesPrefixForExistingResource | 0 |
doesNotMatchExtensionIsForbidden | 0.352 | |
matchesByLocation | 0.333 | |
matchesAllowedExtensionsByType | 0.318 |
serveResourceWithCacheInfix | 0.027 | |
serveResourceWithCacheInfixAndOtherTildesAndDotsInPathName | 0.019 | |
cachingOfResourcesIsDisabledInDevMode | 0.022 | |
resourceNotFoundIsNotProcessed2 | 0.018 | |
newResourceIsServedWithLastModifiedHeaders | 0.018 | |
restrictedResourceTypesShouldReturn404 | 0.022 | |
resourceIsServedWithContentTypeHeader | 0.027 | |
serveResourceWithSimpleCacheInfix | 0.022 | |
unmodifiedResourceReturns304 | 0 | |
Until MGNLRES-139 is solved | ||
resourceNotFoundIsNotProcessed | 0.029 | |
blankResourceReturns400 | 0.027 |
testDetermineTypeCss | 0.001 | |
testResourceTypes | 0 | |
testDetermineTypeHtml | 0 | |
testDetermineTypeHtmlProcessed | 0 | |
testDetermineTypeBinary | 0 |
testExecuteDontStripExtensions | 0.026 | |
testInvalidJcrCharsAreReplaced | 0.002 | |
testExecuteStripExtensions | 0.002 |
testExecute | 0.002 | |
testExtensionIsNotStrippedFromResourceFile | 0.001 | |
testResourceDoesntExist | 0.001 | |
worksWhenResourceNodeIsAlreadyExisting | 0.001 | |
testExtensionIsStrippedFromResourceFile | 0.001 |
testResourceTemplatesAreNotRewritten | 0.013 | |
testResourceDoesntExist | 0 | |
testInstallNewResource | 0.001 | |
testDifferentPlatformEncoding | 0.002 |
differentEncoding | 0.275 | |
settingExistingPropertyWithNullValueDoesNotThrowException | 0.368 | |
extensionIsNotStrippedFromResourceFile | 0.269 | |
extensionIsStrippedFromResourceFile | 0.262 |
testExtensionIsNotStrippedFromResourceFile | 0 | |
testResourceTemplatesAreNotRewritten | 0.001 | |
testResourceDoesntExist | 0.003 | |
testInstallNewResource | 0 | |
testDifferentEncoding | 0.003 | |
testExtensionIsStrippedFromResourceFile | 0.004 |
renameNodeIfResourceWithExtensionExistsInOtherOriginWithSameContentAndDotInNodeName | 0.313 | |
cleansUpBinaryPropertiesAnyway | 0.328 | |
renameNodeIfResourceWithExtensionNotFoundAndNoDotInNodeName | 0.24 | |
cleanUpMagnoliaPropertiesAnyway | 0.204 | |
bypassIfResourceWithExtensionNotFoundAndDotInNodeName | 0.339 | |
doNothingIfConstructedWithEmptyPaths | 0.338 | |
bypassIfExtensionAlreadyInNodeName | 0.212 | |
cleanUpExtensionIfFoundElsewhereWithoutExtensionAtAll | 0.227 | |
respectPatternWhenTwoResourcesExistWithSameNameButDifferentExtension | 0.323 | |
warnIfResourceWithExtensionExistsInOtherOriginWithDifferentContent | 0.176 | |
removeNodeIfResourceWithExtensionExistsInJcrWithSameContent | 0.225 | |
renameNodeIfResourceWithExtensionExistsInOtherOriginWithSameBinaryContent | 0.279 |
upgradeFrom241RemoveAppLauncherConfigForInPlaceTemplating | 0.846 | |
testUpgradeFrom201WhenExtractCommentCommandClassIsInAdmininterface | 0.737 | |
testUpgradeFrom15 | 0.848 | |
testUpgradeTo201RemovesVersionCommand | 0.733 | |
testUpgradeFrom201WhenCustomExtractCommentCommandClass | 0.624 | |
cleanInstallAddsByPassNode | 0.758 | |
updateFrom153DoesNotReBootstrapNonExistingYAMLTemplate | 0.771 | |
updateFrom247RemovesLegacyUriACLs | 0.557 | |
testUpgradeFrom201WhenExtractCommentCommandClassIsInResources | 0.68 | |
updateFrom247BootstrapsResourceVoter | 0.628 | |
testUpgradeTo201BootstrapsCommands | 0.809 | |
updateFrom247RemoveLegacyYamlTemplate | 0.579 | |
upgradeTo24InstallsMappingForNewResourceServlet | 0.545 | |
upgradeTo242ChangesJavascriptContentType | 0.549 |
makeSureAdditionalTaskIsNotExecutedWhenMigrationIsNotPassing | 0.019 | |
templateThatIsNotEnabledWillNotBeHandled | 0.003 | |
templateWillBeDeletedWhenAutoImportTrueAndResourceExists | 0.001 | |
templateIsMigratedWhenAutoImportTrueAndNoResourceExist | 0 | |
taskWillFailWhenAutoImportFalseAndResourceExistsWithDifferentContent | 0.007 | |
templateIsMigratedWhenAutoImportTrueAndNoResourceExistAndTemplateIsInFolderThatDoesNotExistInDest | 0.004 | |
templateIsMigratedWhenAutoImportFalseAndNoResourceExist | 0 | |
templateIsMigratedWhenAutoImportFalseAndResourceInOtherOriginExist | 0 | |
templateWillBeDeletedWhenAutoImportFalseAndResourceExistsWithSameContent | 0.001 | |
makeSureAdditionalTaskIsExecutedWhenMigrationPasses | 0.007 | |
taskWillNotFailWhenRepositoryExceptionIsEncounteredWhileGettingSession | 0 | |
templateIsMigratedAndActivationStatusIsNotCopied | 0.003 | |
taskWillNotFailWhenNoTemplatesWorkspaceEncountered | 0.001 |
[Summary] [Package List] [Test Cases]