[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
101 | 0 | 0 | 2 | 98.02% | 8.57 |
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 | 2 | 0 | 0 | 0 | 100% | 0.029 |
info.magnolia.module.resources.renderers | 14 | 0 | 0 | 0 | 100% | 0.795 |
info.magnolia.module.resources.setup | 57 | 0 | 0 | 0 | 100% | 7.513 |
info.magnolia.module.resources.loaders | 3 | 0 | 0 | 0 | 100% | 0.021 |
info.magnolia.module.resources | 25 | 0 | 0 | 2 | 92% | 0.212 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
URI2ResourcesRepositoryMappingTest | 2 | 0 | 0 | 0 | 100% | 0.029 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
ResourcesBinaryRendererTest | 6 | 0 | 0 | 0 | 100% | 0.25 | |
ResourcesTextTemplateRendererTest | 8 | 0 | 0 | 0 | 100% | 0.545 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
InstallBinaryResourcesTaskTest | 3 | 0 | 0 | 0 | 100% | 0.014 | |
InstallBinaryResourceTaskTest | 5 | 0 | 0 | 0 | 100% | 0.005 | |
InstallResourceTaskTest | 4 | 0 | 0 | 0 | 100% | 0 | |
InstallTextResourcesTaskTest | 4 | 0 | 0 | 0 | 100% | 1.908 | |
InstallTextResourceTaskTest | 6 | 0 | 0 | 0 | 100% | 0.006 | |
ResourceCleanUpTaskTest | 12 | 0 | 0 | 0 | 100% | 2.667 | |
ResourcesModuleVersionHandlerTest | 9 | 0 | 0 | 0 | 100% | 2.884 | |
TemplateMigrationTaskTest | 13 | 0 | 0 | 0 | 100% | 0.028 | |
UpdateResourceReferencesTaskTest | 1 | 0 | 0 | 0 | 100% | 0.001 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
FileSystemResourceLoaderTest | 3 | 0 | 0 | 0 | 100% | 0.021 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
ResourceLinkerTest | 9 | 0 | 0 | 1 | 88.889% | 0.051 | |
ResourcesServletTest | 11 | 0 | 0 | 1 | 90.909% | 0.161 | |
ResourceTypesTest | 5 | 0 | 0 | 0 | 100% | 0 |
[Summary] [Package List] [Test Cases]
testTraversingOutsideOfPathNotPossible | 0.017 | |
testGetStreamRelativePath | 0.004 | |
testGetStream | 0 |
testGetHandleWhenExtensionIsPartOfNodeName | 0.028 | |
testGetHandleWhenExtensionIsSavedInPropertyOfNode | 0.001 |
testIfResourceLoaderReturnsContentType | 0.078 | |
testResourceLoadedFromClassPath | 0.116 | |
testResourceLoadedFromContentNode | 0.006 | |
testIfResourceWithoutExtensionLoadedFromClassPathReturnsNullContentType | 0.006 | |
testIfResourceWithExtensionLoadedFromClassPathReturnsNullContentType | 0.007 | |
testIfResourceLoaderThrowsIOExceptionThenUseNextResourceLoader | 0.037 |
testResourcesAreLoadedFromArbitraryPath | 0.297 | |
testRenderJavascriptDecoded | 0.031 | |
testOnRenderNoProcessed | 0.029 | |
testWhenResourceLoaderThrowsIOExceptionThatNextResourceLoaderIsUsed | 0.026 | |
testOnRenderProcessedByPass | 0.103 | |
testRenderCssDecoded | 0.022 | |
testOnRenderNoProcessedByPass | 0.019 | |
testOnRenderProcessed | 0.018 |
ignoresNonExistingResource | 0.043 | |
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.002 | |
servletMappingIsCleanedUp | 0.002 | |
prependsDotResourcesPrefixForExistingResourceIfNotSpecified | 0.001 | |
farFutureFingerPrintCantBeAddedForUnknownResources | 0.001 | |
downloadPathPrefixIsCleanedUp | 0 | |
ignoresDotResourcesPrefixForExistingResource | 0.001 |
serveResourceWithCacheInfix | 0.022 | |
serveResourceWithCacheInfixAndOtherTildesAndDotsInPathName | 0.016 | |
cachingOfResourcesIsDisabledInDevMode | 0.017 | |
resourceNotFoundIsNotProcessed2 | 0.016 | |
newResourceIsServedWithLastModifiedHeaders | 0.013 | |
restrictedResourceTypesShouldReturn403 | 0.015 | |
resourceIsServedWithContentTypeHeader | 0.015 | |
serveResourceWithSimpleCacheInfix | 0.018 | |
unmodifiedResourceReturns304 | 0 | |
Until MGNLRES-139 is solved | ||
resourceNotFoundIsNotProcessed | 0.013 | |
blankResourceReturns400 | 0.016 |
testDetermineTypeCss | 0 | |
testResourceTypes | 0 | |
testDetermineTypeHtml | 0 | |
testDetermineTypeHtmlProcessed | 0 | |
testDetermineTypeBinary | 0 |
testExecuteDontStripExtensions | 0.012 | |
testInvalidJcrCharsAreReplaced | 0.001 | |
testExecuteStripExtensions | 0.001 |
testExecute | 0.001 | |
testExtensionIsNotStrippedFromResourceFile | 0.001 | |
testResourceDoesntExist | 0.001 | |
worksWhenResourceNodeIsAlreadyExisting | 0.001 | |
testExtensionIsStrippedFromResourceFile | 0.001 |
testResourceTemplatesAreNotRewritten | 0 | |
testResourceDoesntExist | 0 | |
testInstallNewResource | 0 | |
testDifferentPlatformEncoding | 0 |
differentEncoding | 1.063 | |
settingExistingPropertyWithNullValueDoesNotThrowException | 0.331 | |
extensionIsNotStrippedFromResourceFile | 0.283 | |
extensionIsStrippedFromResourceFile | 0.231 |
testExtensionIsNotStrippedFromResourceFile | 0.001 | |
testResourceTemplatesAreNotRewritten | 0.001 | |
testResourceDoesntExist | 0.003 | |
testInstallNewResource | 0 | |
testDifferentEncoding | 0 | |
testExtensionIsStrippedFromResourceFile | 0.001 |
renameNodeIfResourceWithExtensionExistsInOtherOriginWithSameContentAndDotInNodeName | 0.324 | |
cleansUpBinaryPropertiesAnyway | 0.293 | |
renameNodeIfResourceWithExtensionNotFoundAndNoDotInNodeName | 0.225 | |
cleanUpMagnoliaPropertiesAnyway | 0.239 | |
bypassIfResourceWithExtensionNotFoundAndDotInNodeName | 0.191 | |
doNothingIfConstructedWithEmptyPaths | 0.195 | |
bypassIfExtensionAlreadyInNodeName | 0.238 | |
cleanUpExtensionIfFoundElsewhereWithoutExtensionAtAll | 0.175 | |
respectPatternWhenTwoResourcesExistWithSameNameButDifferentExtension | 0.192 | |
warnIfResourceWithExtensionExistsInOtherOriginWithDifferentContent | 0.195 | |
removeNodeIfResourceWithExtensionExistsInJcrWithSameContent | 0.228 | |
renameNodeIfResourceWithExtensionExistsInOtherOriginWithSameBinaryContent | 0.172 |
upgradeFrom241RemoveAppLauncherConfigForInPlaceTemplating | 0.445 | |
testUpgradeFrom201WhenExtractCommentCommandClassIsInAdmininterface | 0.415 | |
testUpgradeFrom15 | 0.385 | |
testUpgradeTo201RemovesVersionCommand | 0.293 | |
testUpgradeFrom201WhenCustomExtractCommentCommandClass | 0.292 | |
testUpgradeFrom201WhenExtractCommentCommandClassIsInResources | 0.27 | |
testUpgradeTo201BootstrapsCommands | 0.273 | |
upgradeTo24InstallsMappingForNewResourceServlet | 0.256 | |
upgradeTo242ChangesJavascriptContentType | 0.255 |
makeSureAdditionalTaskIsNotExecutedWhenMigrationIsNotPassing | 0.009 | |
templateThatIsNotEnabledWillNotBeHandled | 0.002 | |
templateWillBeDeletedWhenAutoImportTrueAndResourceExists | 0 | |
templateIsMigratedWhenAutoImportTrueAndNoResourceExist | 0.001 | |
taskWillFailWhenAutoImportFalseAndResourceExistsWithDifferentContent | 0.005 | |
templateIsMigratedWhenAutoImportTrueAndNoResourceExistAndTemplateIsInFolderThatDoesNotExistInDest | 0.001 | |
templateIsMigratedWhenAutoImportFalseAndNoResourceExist | 0.001 | |
templateIsMigratedWhenAutoImportFalseAndResourceInOtherOriginExist | 0.001 | |
templateWillBeDeletedWhenAutoImportFalseAndResourceExistsWithSameContent | 0.001 | |
makeSureAdditionalTaskIsExecutedWhenMigrationPasses | 0.001 | |
taskWillNotFailWhenRepositoryExceptionIsEncounteredWhileGettingSession | 0.002 | |
templateIsMigratedAndActivationStatusIsNotCopied | 0.003 | |
taskWillNotFailWhenNoTemplatesWorkspaceEncountered | 0.001 |
[Summary] [Package List] [Test Cases]