Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
531 0 0 0 100% 52.714

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.utf8 8 0 0 0 100% 4.749
info.magnolia.importexport 10 0 0 0 100% 0.073
info.magnolia.context 14 0 0 0 100% 2.158
info.magnolia.module 28 0 0 0 100% 0.975
info.magnolia.objectfactory 15 0 0 0 100% 0.018
info.magnolia.module.delta 32 0 0 0 100% 1.431
info.magnolia.freemarker 51 0 0 0 100% 0.245
info.magnolia.cms.security 18 0 0 0 100% 0.071
info.magnolia.freemarker.models 3 0 0 0 100% 0.056
info.magnolia.module.model.reader 25 0 0 0 100% 0.075
info.magnolia.cms.filters 19 0 0 0 100% 0.386
info.magnolia.module.model 34 0 0 0 100% 0.012
info.magnolia.module.files 1 0 0 0 100% 0.014
info.magnolia.content2bean 15 0 0 0 100% 0.972
info.magnolia.setup.for3_5 12 0 0 0 100% 0.346
info.magnolia.voting.voters 20 0 0 0 100% 0.01
info.magnolia.cms.core.version 4 0 0 0 100% 5.668
info.magnolia.cms.security.auth.callback 5 0 0 0 100% 0.005
info.magnolia.test.mock 19 0 0 0 100% 0.017
info.magnolia.cms.util 85 0 0 0 100% 7.606
info.magnolia.link 26 0 0 0 100% 1.073
info.magnolia.cms.servlets 8 0 0 0 100% 0.005
info.magnolia.cms.core 21 0 0 0 100% 10.309
info.magnolia.test 5 0 0 0 100% 0.103
info.magnolia.nodebuilder 7 0 0 0 100% 4.166
info.magnolia.module.ui 4 0 0 0 100% 1.078
info.magnolia.importexport.filters 1 0 0 0 100% 0.012
info.magnolia.cms.beans.config 18 0 0 0 100% 0.298
info.magnolia.setup 10 0 0 0 100% 9.345
info.magnolia.nodebuilder.task 2 0 0 0 100% 1.13
info.magnolia.cms.i18n 11 0 0 0 100% 0.308

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

info.magnolia.utf8

Class Tests Errors Failures Skipped Success Rate Time
Utf8ContentTest 8 0 0 0 100% 4.749

info.magnolia.importexport

Class Tests Errors Failures Skipped Success Rate Time
DataTransporterTest 2 0 0 0 100% 0.064
BootstrapFilesComparatorTest 3 0 0 0 100% 0.002
PropertiesImportExportTest 5 0 0 0 100% 0.007

info.magnolia.context

Class Tests Errors Failures Skipped Success Rate Time
SystemRepositoryStrategyTest 1 0 0 0 100% 0
WebContextImplTest 2 0 0 0 100% 0.024
MgnlContextTest 2 0 0 0 100% 0.002
WriterResponseWrapperTest 2 0 0 0 100% 0.003
RequestAttributeStrategyTest 3 0 0 0 100% 0.002
DefaultRepositoryStrategyTest 4 0 0 0 100% 2.127

info.magnolia.module

Class Tests Errors Failures Skipped Success Rate Time
ModuleManagerImplTest 6 0 0 0 100% 0.947
AbstractModuleVersionHandlerTest 14 0 0 0 100% 0.023
ModuleLifecycleContextImplTest 2 0 0 0 100% 0.002
ModuleRegistryImplTest 6 0 0 0 100% 0.003

info.magnolia.objectfactory

Class Tests Errors Failures Skipped Success Rate Time
ObjectFactoryTest 1 0 0 0 100% 0.001
DefaultClassFactoryTest 5 0 0 0 100% 0.004
DefaultComponentProviderTest 9 0 0 0 100% 0.013

info.magnolia.module.delta

Class Tests Errors Failures Skipped Success Rate Time
PropertyValueDelegateTaskTest 4 0 0 0 100% 0.003
PropertyValuesTaskTest 5 0 0 0 100% 0.008
BootstrapConditionallyTest 2 0 0 0 100% 0.006
ModuleBootstrapTaskTest 1 0 0 0 100% 0.001
MoveAndRenamePropertyTaskTest 6 0 0 0 100% 0.008
BackupTaskTest 1 0 0 0 100% 0.053
WebXmlConditionsUtilTest 3 0 0 0 100% 0.016
AddURIPermissionTaskTest 3 0 0 0 100% 0.16
RegisterServletTaskTest 2 0 0 0 100% 1.11
AddFilterBypassTaskTest 1 0 0 0 100% 0.061
IsAuthorInstanceDelegateTaskTest 4 0 0 0 100% 0.005

info.magnolia.freemarker

Class Tests Errors Failures Skipped Success Rate Time
FreemarkerHelperTest 51 0 0 0 100% 0.245

info.magnolia.cms.security

Class Tests Errors Failures Skipped Success Rate Time
MgnlGroupTest 4 0 0 0 100% 0.026
MgnlUserTest 6 0 0 0 100% 0.038
HierarchicalUserManagerTest 3 0 0 0 100% 0.004
MgnlUserManagerTest 4 0 0 0 100% 0.002
AccessManagerImplTest 1 0 0 0 100% 0.001

info.magnolia.freemarker.models

Class Tests Errors Failures Skipped Success Rate Time
ContentModelTest 1 0 0 0 100% 0.052
UserModelTest 1 0 0 0 100% 0.002
BinaryNodeDataModelTest 1 0 0 0 100% 0.002

info.magnolia.module.model.reader

Class Tests Errors Failures Skipped Success Rate Time
DependencyLevelComparatorTest 3 0 0 0 100% 0.002
DependencyCheckerImplTest 12 0 0 0 100% 0.005
BetwixtModuleDefinitionReaderTest 10 0 0 0 100% 0.068

info.magnolia.cms.filters

Class Tests Errors Failures Skipped Success Rate Time
ServletDispatchingFilterTest 11 0 0 0 100% 0.054
InstallFilterTest 3 0 0 0 100% 0.123
MultipartRequestFilterTest 2 0 0 0 100% 0.065
FilterTest 3 0 0 0 100% 0.144

info.magnolia.module.model

Class Tests Errors Failures Skipped Success Rate Time
VersionComparatorTest 2 0 0 0 100% 0.001
VersionTest 16 0 0 0 100% 0.007
VersionRangeTest 16 0 0 0 100% 0.004

info.magnolia.module.files

Class Tests Errors Failures Skipped Success Rate Time
MD5CheckingFileExtractorOperationTest 1 0 0 0 100% 0.014

info.magnolia.content2bean

Class Tests Errors Failures Skipped Success Rate Time
Content2BeanTest 15 0 0 0 100% 0.972

info.magnolia.setup.for3_5

Class Tests Errors Failures Skipped Success Rate Time
UpdateI18nConfigurationTest 1 0 0 0 100% 0.003
CheckAndUpdateExistingFiltersTest 6 0 0 0 100% 0.339
AddURIPermissionsToAllRolesTest 4 0 0 0 100% 0.002
IPConfigRulesUpdateTest 1 0 0 0 100% 0.002

info.magnolia.voting.voters

Class Tests Errors Failures Skipped Success Rate Time
URIStartsWithVoterTest 3 0 0 0 100% 0.001
BasePatternVoterTest 1 0 0 0 100% 0.001
IfVoterTest 3 0 0 0 100% 0.002
ResponseContentTypeVoterTest 13 0 0 0 100% 0.006

info.magnolia.cms.core.version

Class Tests Errors Failures Skipped Success Rate Time
ContentVersionTest 3 0 0 0 100% 4.949
BaseVersionManagerTest 1 0 0 0 100% 0.719

info.magnolia.cms.security.auth.callback

Class Tests Errors Failures Skipped Success Rate Time
RedirectClientCallbackTest 5 0 0 0 100% 0.005

info.magnolia.test.mock

Class Tests Errors Failures Skipped Success Rate Time
MockUtilTest 7 0 0 0 100% 0.006
MockContentTest 5 0 0 0 100% 0.007
MockObjectTest 7 0 0 0 100% 0.004

info.magnolia.cms.util

Class Tests Errors Failures Skipped Success Rate Time
DateUtilTest 1 0 0 0 100% 0.01
DelayedExecutorTest 3 0 0 0 100% 0.679
InheritanceContentWrapperTest 6 0 0 0 100% 0.017
UnicodeNormalizerTest 7 0 0 0 100% 0.063
BooleanUtilTest 3 0 0 0 100% 0.001
ClassUtilTest 1 0 0 0 100% 0.001
ExceptionUtilTest 5 0 0 0 100% 0.003
WebXmlUtilTest 9 0 0 0 100% 0.084
ExtendingContentWrapperTest 9 0 0 0 100% 0.405
StringLengthComparatorTest 1 0 0 0 100% 0.001
SimpleUrlPatternTest 17 0 0 0 100% 0.005
ContentUtilTest 9 0 0 0 100% 5.648
WorkspaceXmlUtilTest 1 0 0 0 100% 0.004
ObservationUtilTest 4 0 0 0 100% 0.675
ClasspathResourcesUtilTest 2 0 0 0 100% 0.001
SiblingsHelperTest 7 0 0 0 100% 0.009

info.magnolia.link

Class Tests Errors Failures Skipped Success Rate Time
LinkUtilTest 18 0 0 0 100% 0.739
UUIDLinkTest 8 0 0 0 100% 0.334

info.magnolia.cms.servlets

Class Tests Errors Failures Skipped Success Rate Time
MgnlServletContextListenerTest 8 0 0 0 100% 0.005

info.magnolia.cms.core

Class Tests Errors Failures Skipped Success Rate Time
DefaultContentTest 18 0 0 0 100% 10.283
AggregationStateTest 2 0 0 0 100% 0.002
PathTest 1 0 0 0 100% 0.024

info.magnolia.test

Class Tests Errors Failures Skipped Success Rate Time
ComponentsTestUtilTest 3 0 0 0 100% 0.005
TestCommand 0 0 0 0 0% 0
TestUtil 0 0 0 0 0% 0.001
SelfTest 2 0 0 0 100% 0.097

info.magnolia.nodebuilder

Class Tests Errors Failures Skipped Success Rate Time
OpsTest 4 0 0 0 100% 2.424
NodeBuilderTest 3 0 0 0 100% 1.742

info.magnolia.module.ui

Class Tests Errors Failures Skipped Success Rate Time
ModuleManagerWebUITest 4 0 0 0 100% 1.078

info.magnolia.importexport.filters

Class Tests Errors Failures Skipped Success Rate Time
MagnoliaV2FilterTest 1 0 0 0 100% 0.012

info.magnolia.cms.beans.config

Class Tests Errors Failures Skipped Success Rate Time
URI2RepositoryMappingTest 2 0 0 0 100% 0.003
PropertiesInitializerTest 7 0 0 0 100% 0.287
RegexpVirtualURIMappingTest 7 0 0 0 100% 0.006
ContentRepositoryTest 2 0 0 0 100% 0.002

info.magnolia.setup

Class Tests Errors Failures Skipped Success Rate Time
CoreModuleVersionHandlerTest 10 0 0 0 100% 9.345

info.magnolia.nodebuilder.task

Class Tests Errors Failures Skipped Success Rate Time
NodeBuilderTaskTest 2 0 0 0 100% 1.13

info.magnolia.cms.i18n

Class Tests Errors Failures Skipped Success Rate Time
DefaultI18NContentSupportTest 3 0 0 0 100% 0.178
MessagesManagerTest 5 0 0 0 100% 0.004
HierarchyBasedI18nContentSupportTest 3 0 0 0 100% 0.126

Test Cases

ObjectFactoryTest

testInjectingSystemPropertyIntoDefaultComponentStillAllowsToSwapImplementationsLater 0

URIStartsWithVoterTest

testBasics 0
testNotVoter 0
testInverseVoter 0

DateUtilTest

testCustomFormatShouldUseGivenLocale 0.009

ComponentsTestUtilTest

testConfiguredImplementation 0.001
testSetSingletonInstance 0
testInstanceFactory 0.001

PropertyValueDelegateTaskTest

testExecutesDelegateTaskIfPropertyExistsWithExpectedValue 0
testExecutesOtherDelegateTaskIfPropertyExistsWithOtherValue 0.001
testExecutesOtherDelegateTaskIfPropertyMustNotExistAndDoesNot 0.001
testThrowsExceptionIfPropertyMustExistAndDoesNot 0

SystemRepositoryStrategyTest

testAccessManager 0

DelayedExecutorTest

testDelayedExecution 0.121
testMultipleDelayedExecution 0.152
testExecutionAfterMaxDelay 0.405

PropertyValuesTaskTest

testExistingPropertyIsReplaced 0
testNonExistingPropertyIsNotReplacedButLogged 0.004
testPropertywithUnexpectedValueIsNotReplacedButLogged 0
testNonExistingPropertyAndExpectedAsSuchIsCreated 0.001
testUnexpectedlyExistingPropertyIsNotReplacedAndLogged 0

OpsTest

testAddPropertyFailsIfPropertyExists 0.559
testSetPropertyFailsIfPropertyDoesNotExist 0.778
testSetPropertyFailsIfPropertyDoesNotHaveExpectedValue 0.53
testRemoveFailsOnUnexistingPropertyOrNode 0.555

MgnlGroupTest

testGetRoles 0.011
testGetRolesWithoutDuplicates 0.006
testGetGroupsReturnsDirectGroups 0.004
testGetGroupsReturnsDirectGroupsWithoutDuplicates 0.004

BootstrapConditionallyTest

testExecutesDelegateTaskIfNodeExists 0.003
testBootstrapsIfNodeDoesNotExist 0.002

ModuleManagerImplTest

testCheckModuleAndDeltasToStringForUpdate 0.009
testCheckModuleAndDeltasToStringForInstall 0
testUpdateAppliesSuppliedDeltasAndTasks 0.114
testTaskExecutionExceptionInterruptsTasksAddsExplicitErrorMessage 0.008
testFailedConditionsPreventsFurtherModulesToBeInstalledOrUpdated 0.008
testPerformCantBeCalledTwiceByDifferentThreads 0.803

VersionComparatorTest

testBasic 0
testClassifiersAreIgnored 0

MockUtilTest

testGettingHierarchyManagerFromContext 0.001
testReadingNodes 0.001
testReadingBoolean 0
testGettingByUUID 0.001
testMetaData 0.001
testSyntax 0
testNodesCanBeCreatedWithoutProperties 0.001

MockContentTest

testNameFilteringWorksForBothBinaryAndNonBinaryProperties 0.003
testStringPropertiesCanBeRetrievedByStreamAndViceVersa 0
testOrderBefore 0.001
testOrderBefore2 0.001
testOrderBeforeFirstNode 0

NodeBuilderTaskTest

testSyntax 0.584
testUnknownRootThrowsException 0.545

DefaultContentTest

testNameFilteringWorksForBothBinaryAndNonBinaryProperties 0.554
testStringPropertiesCanBeRetrievedByStreamAndViceVersa 0.533
testReadingANodeData 0.575
testThatReadingANonExistingNodeDataDoesNotFail 1.054
testSettingAnExistingNodeData 0.57
testSettingANonExistingNodeDataCreatesANewNodeData 0.554
testCreatingAnEmptyNodeData 0.556
testCreatingAnEmptyNodeDataSetsADefaultValueIfPossible 0.521
testCreatingAndSettingANodeData 0.514
testCreatingAndSettingABooleanNodeData 0.57
testCreatingAnExistingNodeDataDoesNotFail 0.513
testCreatingAndReadingABinaryNodeData 0.59
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeData 0.507
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeDataWhichIsUnmutable 0.57
testPermissionCheckedOnDeleteNodeData 0.508
testIsNodeTypeForNodeChecksPrimaryType 0.497
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes 0.557
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType 0.534

InheritanceContentWrapperTest

testRoot 0.002
testPropertyInheritance 0.001
testNestedPropertyInheritance 0.001
testSingleParagraphInheritance 0
testNestedParagraphInheritance 0
testCollectionInheritance 0.01

UnicodeNormalizerTest

testAsciiStringsShouldPassThroughWithAutoDetect 0.004
testNFCStringIsStillEqualsAfterNormalizeCallWithAutoDetect 0.014
testNormalizingNFDStringMakesItEqualsToNFCStringWithAutoDetect 0.001
testNormalizationAlsoWorksForStringsThatWereOriginallyNotUTF8WithAutoDetect 0
testICUNormalizer 0.033
testNonNormalizer 0
testJava6ReflectionNormalizer 0

CoreModuleVersionHandlerTest

testPngSwfMimeTypesOnInstall 1.94
testPngSwfMimeTypesOnUpdateFrom35x 0.96
testPngSwfMimeTypesOnUpdateFrom35xWithUserFixedValues 1.051
testPngSwfMimeTypesOnUpdateFrom364 0.811
testPngSwfMimeTypesOnUpdateFrom364WithUserFixedValues 0.821
testPngSwfMimeTypesOnUpdateFrom401 0.778
testPngSwfMimeTypesOnUpdateFrom401WithUserFixedValues 0.784
testPngSwfMimeTypesOnUpdateFrom410 0.716
testPngSwfMimeTypesOnUpdateFrom410WithUserFixedValues 0.735
testUnicodeNormalizerAndFilterOrderOnUpdateFrom410 0.746

TestCommand

VersionTest

testShouldSupportSingleDigitVersions 0
testShouldSupportTwoDigitVersions 0
testShouldSupportThreeDigitVersions 0.001
testShouldSupportAlphanumericClassifiers 0
testShouldSupportUnderscoresAndDashesInClassifiersToo 0
testShouldRejectInvalidCharsInClassifiers 0
testShouldSupportClassifierIndependentlyOfTheVersionNumberPrecision 0.001
testShouldTrimInput 0
testShouldRejectInvalidInput 0.001
test3and300shouldBeEquivalent 0
testClassifiersShouldBeIgnoredInEquivalenceComparison 0
testStrictlyAfter 0.002
testStrictlyAfterShouldIgnoreClassifiers 0
testBeforeOrEqu 0.001
testBeforeOrEquShouldIgnoreClassifiers 0
testUndefinedDeveloperVersion 0

ModuleManagerWebUITest

testModuleManagementExceptionsArePropagatedEvenThoughTheUpdateIsRunningInASeparateThread 1.003
testListTasksTemplate 0.034
testDoneTemplate 0.026
testRestartNeededTemplate 0.014

DependencyLevelComparatorTest

testCalcDepencyLevelWithNonOptionalDependencies 0
testCalcDepencyLevelIgnoresUnregisteredOptionalDependencies 0
testCalcDepencyLevelDoesNotIgnoreRegisteredOptionalDependencies 0

BasePatternVoterTest

testInitWithoutPattern 0

WebContextImplTest

testLoginLogout 0.018
testSerializable 0.005

BooleanUtilTest

testToBooleanKnowsItsBasicEnglishVocabulary 0.001
testToBooleanHandlesNullsAndEmptyStringsGracefully 0
testToBooleanUsesDefaultValueForUnknownValues 0

AbstractModuleVersionHandlerTest

testCantRegisterMultipleDeltasForSameVersion 0.004
testRetrievesTheAppropriateListOfDeltas 0.001
testHasExtraDeltaIfVersionBeingInstalledIsNewerThanLatestRegisteredDelta 0.002
testRetrievesTheAppropriateDeltaForIntermediateUnregisteredVersion 0.001
testReturnsDefaultUpdateDeltaIfNoDeltaWasRegisteredForNewerVersion 0.001
testReturnsEmptyListIfLatestDeltaWasRegisteredForCurrentVersion 0.001
testReturnsEmptyListIfCurrentVersionIsInstalledVersion 0.001
testReturnsDefaultUpdateDeltaIfNoDeltaWasRegisteredAtAll 0.001
testDeltasAreSorted 0.001
testVersionUpdateTaskAndFileExtractionAreAdded 0.001
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatDoesNotHaveSpecificDeltaAndIsSnapshot 0.002
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatDoesNotHaveSpecificDelta 0.001
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatHasSpecificDelta 0.001
testStoresTheModuleDescriptorVersionOnInstall 0.001

NodeBuilderTest

testContextNodeIsProperlyPropagated 0.588
testErrorMessages 0.597
testPropertyNotReplaceIfCurrentValueDoesNotMatchExpectations 0.555

VersionRangeTest

testBasicRangeParsing 0
testInputIsTrimmedAndSeparatorCanBeSurroundBySpaces 0
testClassifiersAreAccepted 0
testFromAndToCanBeSame 0
testClassifiersAreAcceptedEvenIfFromAndToAreSame 0
testFromCanNotBeAfterTo 0
testFromCanNotBeAfterToAndClassifiersAreStillIgnored 0
testSingleVersionCanBeSpecified 0.001
testFromCanBeWildcard 0
testToCanBeWildcard 0
testToAndFromCanBeWildcards 0
testSingleVersionCanBeWildcard 0
testChecksIfAVersionIsInRange 0
testChecksIfAVersionIsInRangeWithFromWildcard 0.001
testChecksIfAVersionIsInRangeWithToWildcard 0
testSingleVersionRangeShouldContainItSelf 0

Utf8ContentTest

testReadingUtf8AccentedChars 0.631
testReadingUtf8Greek 0.669
testReadingUtf8Russian 0.573
testReadingUtf8SpecialChars 0.566
testReadingUtf8JapaneseChars 0.549
testCreateExportImportContentUtf8SpecialChars 0.648
testSettingAnUtf8NodeData 0.578
testSettingNewUtf8ContentNode 0.533

ModuleBootstrapTaskTest

testShouldOnlyBootstrapFilesFromThisModule 0.001

MgnlServletContextListenerTest

testInitRootPathJustWorks 0.002
testInitRootPathStripsTrailingSlash 0
testInitRootPathTranslatesBackslashes 0.001
testInitRootPathTranslatesBackslashesAndStripsTrailingSlash 0
testInitWebappNameJustWorks 0
testInitWebappNameWorksWithTrailingSlashes 0.001
testInitWebappNameWorksWithBackslashes 0
testInitWebappNameWorksWithTrailingSlashesAndBackslashes 0

URI2RepositoryMappingTest

testGetUri 0.002
testGetHandleStripsExtensionInclTheDot 0.001

MoveAndRenamePropertyTaskTest

testPropertyWithOldDefaultValueGetsNewDefaultValue 0.001
testPropertyWithDifferentValueIsMovedButNotChanged 0
testValueIsCopiedNoMatterWhatIfOldDefaultNotPassed 0
testNewDefaultIsUsedIfPropertyDidNotExist 0.001
testNewDefaultIsUsedIfPropertyDidNotExistAndNodeDataReturnsEmptyValue 0.001
testPropertyReplacedByOldValueIfNewAlreadyExists 0.001

UpdateI18nConfigurationTest

testUpdatesProperlyWhenAlreadyExisting 0.002

DependencyCheckerImplTest

testSimpleDependenciesAreResolvedAndChecked 0
testDependenciesCanUseLowerBoundInfiniteRanges 0.001
testDependenciesCanUseUpperBoundInfiniteRanges 0
testDependenciesCanUseFiniteRanges 0
testDependenciesShouldBeInvalidIfOutsideOfUpperBound 0
testDependenciesShouldBeInvalidIfOutsideOfLowerBound 0.001
testDependenciesShouldBeInvalidIfOutsideOfUpperBoundWithInfiniteLowerBound 0
testDependenciesShouldBeInvalidIfOutsideOfLowerBoundWithInfiniteUpperBound 0
testShouldFailWhenDependencyNotFound 0
testModulesShouldBeSortedAccordingToDependencies 0
testCoreIsAlwaysSortedFirst 0
testWebappIsAlwaysSortedLast 0

DataTransporterTest

testParseAndFormat 0.057
testRemoveNs 0.002

ClassUtilTest

testIsSubClass 0

BackupTaskTest

testNodeExistsWithFullPathAtBackupPathAfterBackingUp 0.052

DefaultI18NContentSupportTest

testDetermineLocale 0.089
testDetermineLocaleEndlessLoop 0.044
testGetNodeDataEndlessLoop 0.043

ContentVersionTest

testRetrievingBinariesFromContentVersion 2.853
testRestoringBinariesFromContentVersion 1.106
testRetrievingBinariesFromContentVersionsChildNode 0.989

BootstrapFilesComparatorTest

testXmlShouldBeBeforeProperties 0.001
testZipAndGzShouldBeIgnoredInSortingXmlBeforeProperties 0
testFilesAreOrderedByFileNameLength 0

IfVoterTest

testReturnsValueOfElseIfConditionIsTrue 0.001
testReturnsValueOfOtherwiseIfConditionIsFalse 0
testReturns0IfConditionIsFalseAndOtherwiseIsntSet 0

CheckAndUpdateExistingFiltersTest

testWarnIfFilterDidNotExistIn30 0.055
testWarnIfFilterClassHasBeenModified 0.101
testWarnIfFilterPriorityHasBeenModified 0.044
testWarnIfFilterParamsHaveBeenModified 0.045
testProperTransformationIfFilterBypassHasBeenModified 0.048
testDoNotWarnIfFilterHasDefault30Configuration 0.045

MgnlContextTest

testCanDeclareCheckExceptionToBeThrownByDoInSystemContext 0
testCanThrowRuntimeExceptionsWithoutSpecificThrowsClauseInDoInSystemContext 0.001

RedirectClientCallbackTest

testExternalUrlsArePassedAsIs 0.002
testRelativeURLsAreSupported 0
testAbsoluteURLsArePrefixedWithContextPath 0.001
testDoesNothingIfCurrentRequestURLIsTarget 0
testTargetUrlIsFormattedWithEncodedRequestURL 0.001

AggregationStateTest

testUriDecodingShouldStripCtxPath 0
testUriDecodingShouldReturnPassedURIDoesntContainCtxPath 0

PathTest

testIsAbsolute 0.007

MessagesManagerTest

testGetsSimpleMessageFromDefaultBundle 0.001
testGetsMessagesFromSpecifiedBundle 0.001
testGetsMessagesFromSpecifiedBundleInPriorityEvenIfItExistsInDefaultBundle 0
testFallsBackToDefaultLocaleIfCurrentLocaleDoesntSpecifyThisMessage 0.001
testFallsBackToDefaultLocaleAlsoWithDefaultBundle 0.001

BaseVersionManagerTest

testCreateAndRestoreVersion 0.718

ExceptionUtilTest

testUnwrapIfShouldThrowWrappedExceptionIfItMatchesThe2ndParameter 0.001
testUnwrapIfShouldThrowWrappedExceptionIfItIsARuntimeExceptionEvenIfItDoesntMatch2ndParameter 0
testUnwrapIfShouldThrowPassedExceptionIfItDoesNotMatchAndIsntARuntimeException 0
testUnwrapIfWithCauseBeeingNull 0
testUnwrapIfWithUnwrapIfBeeingNull 0

MgnlUserTest

testGetGroupsReturnsDirectGroupsWithoutDuplicates 0.008
testGetGroupsReturnsOnlyDirectGroups 0.008
testGetAllGroupsReturnsDirectAndInheritedGroups 0.006
testGetRolesReturnsDirectRoles 0.005
testGetRolesReturnsDirectRolesWithoutDuplicates 0.004
testGetAllRolesReturnsDirectAndInheritedRoles 0.005

WebXmlConditionsUtilTest

testWarnsIfIncludeDispatcherIsUsed 0.005
testDoesNotWarnIfErrorDispatcherIsUsed 0.005
testBlocksIfRequestDispatcherIsMissing 0.005

MockObjectTest

testRootNodeOfHierarchyManger 0
testCreatingANode 0
testCreatingASubNode 0
testGetANodeAddedToASubNode 0
testSetABooleanValueOnANodeData 0
testSetAnObjectAndResolvePropertyType 0
testDeletingReallyWorks 0

AddURIPermissionTaskTest

testGetPostPermissionAddedToRoleProperly 0.08
testGetPermissionAddedToRoleProperly 0.04
testDenyPermissionAddedToRoleProperly 0.039

WebXmlUtilTest

testFilterDispatcherChecksShouldNotFailWithCorrectConfiguration 0.056
testFilterDispatcherChecksShouldFailIfDispatcherNotSet 0.002
testFilterDispatcherChecksShouldNotFailIfFilterNotRegistered 0.002
testFilterDispatcherChecksShouldFailIfMandatoryDispatchersIsNotUsed 0.003
testFilterDispatcherChecksShouldReturnZeroIfUnsupportedDispatchersAreUsed 0.003
testFilterDispatcherErrorIsNotMandatory 0.004
testFilterDispatcherOrderIsIrrelevant 0.003
testCanDetectFilterRegistration 0.003
testCanDetectServletRegistration 0.006

ServletDispatchingFilterTest

testEscapeMetaCharacters 0.003
testSupportsDefaultMapping 0.033
testSupportsPathMapping 0.003
testSupportsExtensionMapping 0
testSupportsRegexMappings 0.007
testShouldNotBypassWhenPathMappingMatches 0
testShouldNotBypassWhenExactMappingMatches 0.002
testShouldBypassWhenMappingDoesNotMatch 0.002
testShouldBypassWhenMappingDoesNotMatchMAGNOLIA1984 0.001
testPathInfoShouldAdhereToServletSpec 0.001
testPathInfoShouldStateWhateverIsAfterTheRegexMapping 0

LinkUtilTest

testParsingLinks 0.043
testParsingLinksWithBackslashInQueryParam 0.039
testParsingLinksShouldNotTouchNonContentAbsoluteLinks 0.04
testParsingLinksDoesNotTryToConvertExternalLinks 0.039
testParsingLinksDoesNotTryToConvertPageAnchors 0.039
testParsingLinksShouldPreserverParameters 0.039
testParsingLinksShouldPreserveAnchors 0.039
testUUIDToAbsoluteLinks 0.039
testUUIDToInternalLinks 0.06
testUUIDToRootLinks 0.039
testUUIDToRelativeLinks 0.039
testUUIDToAbsoluteLinkWithDollar 0.04
testMakeUUIDFromAbsolutePath 0.039
testMakingRelativeLinks 0.039
testInternalRelativeLinksAreProperlyDetermined 0.039
testExternalLinksAreProperlyDetermined 0.039
testMakeAbsolutePathFromUUID 0.041
testMakeCompleteURL 0.041

HierarchicalUserManagerTest

testParentPathIsRealmIfNameShorterThan3Chars 0.002
testParentPathShouldReflectFirstLettersOfNameAndIncludeRealmName 0
testParentPathShouldBeLowercased 0.001

ExtendingContentWrapperTest

testThatNodeDatasAreMerged 0.045
testThatNodeDatasCanBeOvwerWritten 0.069
testThatSubNodesAreMerged 0.042
testThatSubNodesCanBeOverwritten 0.041
testDeepMerge 0.041
testThatOrderIsKeptWhileMergingSubNodes 0.042
testBasicMultipleInheritance 0.041
testComplextMultipleInheritance1 0.042
testComplextMultipleInheritance2 0.04

StringLengthComparatorTest

testBasic 0.001

TestUtil

SimpleUrlPatternTest

testDotDoPattern 0
testNoWildcardsMatch 0
testNoWildcardsNoMatch 0
testStarMatch 0
testStarNoMatch 0
testStarMatch2 0
testStarNoMatch2 0
testStarMatch3 0
testStarNoMatch3 0
testStarMatch4 0.001
testStarNoMatch4 0
testQuestionMarkMatch 0
testWildcardsMatch 0
testWildcardsWithSpecialChars 0
testWildcardsWithNewline 0
testGroupMatch 0
testEncodedMatch 0

MD5CheckingFileExtractorOperationTest

testAbsentFilesAreRecreated 0.014

ModuleLifecycleContextImplTest

testCantRegisterAComponentIfNodeNameIsAlreadyForAnotherComponent 0.001
testStartRegistersAllObserversWithAllModules 0

DefaultClassFactoryTest

testCanInstantiateWithEmptyConstructor 0
testCanInstantiateWithAppropriateConstructor 0.001
testCanInstantiateWithAppropriateConstructorAndNullParamsWhenSignatureIsSpecified 0
testCanInstantiateWithBestMatchingConstructorWhenTheSignatureIsMorePrecise 0
testCanInstantiateWithSingleArgConstructorAndNullParamWhenSignatureIspecified 0

PropertiesImportExportTest

testConvertsToStringByDefault 0.001
testConvertsToWrapperType 0
testCanUseIntShortcutForConvertingIntegers 0
testPropertiesExport 0.002
testImportMetadata 0.001

PropertiesInitializerTest

testSimpleProperty 0.054
testNestedProperty 0.039
testNestedPropertyMoreLevels 0.037
testCircularProperty 0.037
testSelfReferencingProperty 0.039
testFileResolution 0.04
testFileResolutionCtxAttributes 0.038

UUIDLinkTest

testParseFromUUIDPattern 0.041
testParseLink 0.05
testParseFromBrowserLink 0.043
testLinkWithAnchor 0.041
testLinkWithParameters 0.039
testUUIDToAbsoluteLinksAfterRenaming 0.039
testUUIDToBinary 0.04
testUUIDToBinaryAfterRenaming 0.039

ContentUtilTest

testVisitShouldPassFilterAlong 0.643
testDeleteAndRemoveParentsIfAnOtherChild 0.646
testDeleteAndRemoveParentsIfNoOtherChild 0.594
testDeleteAndRemoveParentsWithLevel 0.653
testSessionBasedCopy 0.845
testOrderAfter 0.589
testOrderAfterLastNode 0.547
testChangeNodeTypeReplaceFirstOccurrenceOnly 0.555
testChangeNodeTypeReplaceAllOccurrences 0.574

MgnlUserManagerTest

testUsernameIsValidatedUponCreation 0
testUsernameCantBeNull 0
testUsernameCantBeEmpty 0
testUsernameCantBeBlank 0

WorkspaceXmlUtilTest

testWorkspaceOldIndexer 0.004

RegisterServletTaskTest

testRegisterServletTaskWithEmptyMappings 0.557
testRegisterServletTaskWithMappings 0.551

SelfTest

testJackrabbitUnregistersProperly 0.091
testCommandIsSetCorrectlyFromPrototype 0.005

ContentModelTest

testCanBeUnwrappedByDeepUnWrap 0.05

InstallFilterTest

testExecutesCorrectCommandBasedOnURI 0.045
testPassesNullAsCommandIfNoneSpecifiedWithTrailingSlash 0.039
testPassesNullAsCommandIfNoneSpecified 0.038

HierarchyBasedI18nContentSupportTest

testDetermineLocale 0.045
testDetermineLocaleEndlessLoop 0.041
testGetNodeDataEndlessLoop 0.039

UserModelTest

testCanBeUnwrappedByDeepUnWrap 0.001

AddFilterBypassTaskTest

testFilterBypassAddedProperly 0.06

IsAuthorInstanceDelegateTaskTest

testExecutesAuthorDelegateTaskWhenIsAuthor 0.002
testExecutesPublicDelegateTaskWhenIsPublic 0
testExecutesAuthorDelegateTaskWhenAdminPropertyDoesNotExist 0.001
testExecutesAuthorDelegateTaskWhenAdminPropertyHasAMeaninglessValue 0

FreemarkerHelperTest

testWeCanUseAnyObjectTypeAsOurRoot 0.079
testSimpleNodeReferenceOutputsItsName 0.029
testSubNodesAreReachable 0.007
testSubSubNode 0.001
testCanReachParentWithBuiltIn 0.002
testCanLoopThroughNodes 0.003
testCanLoopThroughNodesNestedInBean 0.001
testCanLoopThroughPropertiesUsingTheKeysBuiltIn 0.003
testCanLoopThroughPropertiesUsingTheValuesBuiltIn 0.001
testCanRenderMetaData 0.008
testMetaDataIsOneOfTheChildrenRetrievedByTheChildrenBuiltIn 0.002
testBooleanPropertiesAreHandledProperly 0.003
testDatePropertiesAreHandledProperly 0.001
testNumberProperties 0.001
testReferenceProperties 0.001
testRendereredWithCurrentLocale 0.001
testMissingAndDefaultValueOperatorsActsAsIExceptThemTo 0.002
testContextPathIsAddedWithWebContext 0.005
testContextPathIsNotAddedWithNotWebContext 0.002
testContextPathIsAlsoAvailableThroughMagnoliaContext 0.004
testMagnoliaContextIsExposed 0.005
testMagnoliaContextAttributesAreAvailableWithMapSyntax 0.002
testEvalCanEvaluateDynamicNodeProperties 0.002
testInterpretCanBeUsedForDynamicNodeProperties 0.004
testEvalCanAlsoBeUsedForNestedExpressions 0.002
testInterpretCanBeUsedEvenIfPropertyHasNoFreemarkerStuff 0.001
testUuidLinksAreTransformedToRelativeLinksInWebContext 0.006
testUuidLinksAreTransformedToAbsoluteLinksInWebContextWithoutAggregationState 0.002
testUuidLinksAreTransformedToFullUrlLinksInNonWebContext 0.002
testUserPropertiesAreAvailable 0.003
testUserUnsupportedExceptionFallback 0.003
testNodeNameCanBeRenderedImplicitly 0.001
testNodeNameCanBeRenderedExplicitly 0.001
testGivenLocaleTakesOverAnyContextLocale 0.004
testSimpleI18NMessageCanBeUsedInTemplates 0.005
testSimpleI18NMessageFallsBackToEnglishIfNotSpecifiedGivenLanguage 0.002
testCanUseDotSyntaxToGetASimpleI18NMessage 0.001
testCanUseBracketSyntaxToGetASimpleI18NMessage 0.001
testMustUseMethodCallSyntaxToGetAParameterizedI18NMessage 0.002
testSupportsI18NMessagesWithMultipleParameters 0.002
testOutputsInterrogationMarksAroundI18NKeyIfUnknown 0.003
testI18NMessageParametersCanComeFromData 0.002
testCanPassBundleNameFromTemplateWithMethodCallSyntaxToGetSimple18NMessage 0.003
testCanPassBundleNameFromTemplateWithMethodCallSyntaxToGetAParameterizedI18NMessage 0.001
testCanPassBundleNameFromTemplateAndSupportsI18NMessagesWithMultipleParameters 0.002
testCanUseSharedVariables 0.008
testContextVariablesOverloadSharedVariables 0.001
testCanAccessStaticMethodsOfSharedVariables 0.003
testEnums 0.004
testCanAccessEnumPropertiesOfVariables 0.002
testUseCombinationOfPadSubStringAndTrimForSafeSubstring 0.002

ObservationUtilTest

testFailRegisterWhenSessionInvalid 0.438
testRegisterWhenSessionValid 0.09
testDontFailUnRegisterWhenSessionInvalid 0.074
testUnRegisterWhenSessionValid 0.068

ClasspathResourcesUtilTest

testSanitizeUrlToFile 0
testOhWindoes 0

MultipartRequestFilterTest

testFilterCOS 0.042
testFilterCommonsFileUpload 0.019

RegexpVirtualURIMappingTest

testExample 0.001
testExample2 0
testExample3 0
testRegexSubstitutionWorksAndLevelIsSetToGroupCountPlusOne 0
testSupportsMoreThan9Groups 0
testGracefullyFailingOnIncompleteConfig 0
testGracefullyFailingOnWrongRegexGroup 0.001

ContentRepositoryTest

testUnknownRepositoryShouldYieldMeaningfulExceptionMessage 0
testUnknownRepositoryShouldAlsoYieldMeaningfulExceptionMessageForRepositoryProviders 0.001

BetwixtModuleDefinitionReaderTest

testDisplayNameCanBeWrittenWithDashEventhoughThisIsDeprecated 0.005
testDisplayNameShouldBeWrittenWithCapitalN 0.006
testClassIsResolvedToClassNameAsAString 0.005
testVersionHandlerIsResolvedToAClass 0.005
testModuleVersionIsProperlyRead 0.007
testDependenciesVersionAreProperlyRead 0.009
testInvalidXmlIsCheckedAgainstDTD 0.007
testGivenDtdIsIgnoredAndCheckedAgainstOurs 0.005
testReadCompleteDescriptorAndCheckAllPropertiesDamnYouBetwixt 0.012
testSelf 0

ModuleRegistryImplTest

testCanGetModuleByClass 0.002
testGetModuleByClassThrowExceptionIfMultipleModulesRegisteredWithSameClass 0
testGetModuleByClassThrowExceptionIfNoModulesRegisteredWithGivenClass 0
testCanGetModuleByNameIfMultipleModulesRegisteredWithSameClass 0
testThrowsExceptionForUnregisteredModuleName 0.001
testCanCheckIfAModuleExists 0

BinaryNodeDataModelTest

testCanBeUnwrappedByDeepUnWrap 0.001

ResponseContentTypeVoterTest

testVotesTrueIfNoAllowedNorRejectedIsConfigured 0.001
testVotesTrueIfContentTypeIsAllowed 0
testVotesFalseIfContentTypeIsNotInAllowedList 0
testVotesFalseIfContentTypeIsExplicitelyRejected 0
testVotesTrueIfContentTypeIsNotRejected 0
testVotesTrueIfContentTypeIsAllowedAndNotRejected 0.001
testVotesFalseIfContentTypeIsNotExplicitelyAllowedAndExplicitelyRejected 0
testVotesFalseIfContentTypeIsNotExplicitelyAllowedAndNotExplicitelyRejectedEither 0
testVotesFalseIfResponseDoesNotHaveAContentTypeSetYet 0
testVotesFalseIfResponseDoesNotHaveAContentTypeSetYetEvenIfNoRejectedAreConfigured 0
testVotesFalseIfResponseDoesNotHaveAContentTypeSetYetEvenIfNoAllowedAreConfigured 0
testIgnoresCharsetInContentType 0
testIgnoresCharsetInContentType2 0.001

AddURIPermissionsToAllRolesTest

testRegularRolesGetAllUriPermOnSlashStar 0.001
testRegularRolesGetAllUriPermOnSlashStarAlsoOnPublicInstances 0
testAnonymousRoleGetsDenyOnAllOnAuthorInstances 0.001
testAnonymousRoleGetsAccessOnSlashStarAndDenyOnDotMagnoliaOnPublicInstances 0

DefaultComponentProviderTest

testReturnsGivenConcreteClassIfNoneConfigured 0
testBlowsIfGivenInterfaceAndNoImplementationIsConfigured 0
testReturnsConfiguredImplementation 0
testGetSingletonReturnsSameInstance 0
testNewInstanceReallyReturnsNewInstance 0
testUsesComponentFactoryIfSuchFactoryIsConfigured 0
testSingletonDefinedInRepositoryDefaultToConfigWorkspace 0.004
testSingletonDefinedInRepositoryUsesGivenRepoName 0.001
testProxiesReturnedByObserverComponentFactoryCanBeCastToTheirSubclass 0.005

WriterResponseWrapperTest

testCantUseWriterAfterOutputStream 0.003
testCantUseOutputStreamAfterWriter 0

Content2BeanTest

testContentToBeanWithClassDefined 0.095
testContentToBeanWithDefaultClass 0.054
testContentToBeanWithSubBean 0.076
testContentToBeanWithSubBeanAndAutoTypeResolving 0.066
testContentToBeanWithSubMap 0.105
testContentToBeanWithSubMapUsingMapping 0.075
testContentToBeanWithSubMapUsingAdder 0.072
testContentToBeanWithArraysUsingAdder 0.058
testClassPropertiesAreConvertedProperly 0.049
testJCRPropertiesTypes 0.053
testFromStringConversion 0.05
testFlatteningSubNodesToSimpleList 0.056
testCanConvertStringsToTheAppropriateEnumEquivalent 0.049
testCanSpecifySpecificMapImplementation 0.058
testWillFailToUseACustomMapWhichIsNotConcrete 0.052

FilterTest

testInitialization 0.05
testDecoratedFilter 0.046
testBypassing 0.047

RequestAttributeStrategyTest

testLocalAttributes 0.001
testSessionAttributes 0
testApplicationAttributes 0

AccessManagerImplTest

testGetPermissions 0

DefaultRepositoryStrategyTest

testAccessManagers 0.599
testRepositorySessions 0.521
testQueryManagers 0.503
testHierarchyManagers 0.502

IPConfigRulesUpdateTest

testOnlyChangesOldStyleRulesOrdersMethodsUppercasesThemAndLeavesOtherNodesUntouched 0.002

MagnoliaV2FilterTest

testBogusMetaElement 0.012

SiblingsHelperTest

testCanTellPosition 0.001
testCanTellIfFirstWhenInitializingWithFirst 0
testCanTellIfFirstAfterNavigating 0
testCanTellIfLastWhenInitializingWith 0.001
testCanTellIfLastAfterNavigating 0.001
testCanTellIfLastEvenIfThereAreOtherNodesOfAnotherType 0.001
testFactoryMethodProperlyInstanciatesWithFirstChildOfParent 0.002