Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
528 0 0 0 100% 63.717

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% 5.105
info.magnolia.importexport 10 0 0 0 100% 0.153
info.magnolia.context 14 0 0 0 100% 2.017
info.magnolia.module 28 0 0 0 100% 1.069
info.magnolia.objectfactory 15 0 0 0 100% 0.02
info.magnolia.module.delta 32 0 0 0 100% 1.142
info.magnolia.freemarker 51 0 0 0 100% 0.599
info.magnolia.cms.security 18 0 0 0 100% 0.068
info.magnolia.freemarker.models 3 0 0 0 100% 0.048
info.magnolia.module.model.reader 25 0 0 0 100% 0.113
info.magnolia.cms.filters 19 0 0 0 100% 0.599
info.magnolia.module.model 34 0 0 0 100% 0.02
info.magnolia.module.files 1 0 0 0 100% 0.49
info.magnolia.setup.for3_5 12 0 0 0 100% 0.415
info.magnolia.content2bean 15 0 0 0 100% 1.57
info.magnolia.voting.voters 20 0 0 0 100% 0.013
info.magnolia.cms.security.auth.callback 5 0 0 0 100% 0.005
info.magnolia.cms.core.version 1 0 0 0 100% 5.163
info.magnolia.test.mock 19 0 0 0 100% 0.016
info.magnolia.cms.util 85 0 0 0 100% 8.983
info.magnolia.cms.servlets 8 0 0 0 100% 0.037
info.magnolia.link 26 0 0 0 100% 1.614
info.magnolia.cms.core 21 0 0 0 100% 13.371
info.magnolia.test 5 0 0 0 100% 0.122
info.magnolia.module.ui 4 0 0 0 100% 1.109
info.magnolia.nodebuilder 7 0 0 0 100% 6.571
info.magnolia.cms.beans.config 18 0 0 0 100% 0.417
info.magnolia.importexport.filters 1 0 0 0 100% 0.031
info.magnolia.setup 10 0 0 0 100% 11.505
info.magnolia.nodebuilder.task 2 0 0 0 100% 0.896
info.magnolia.cms.i18n 11 0 0 0 100% 0.436

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% 5.105

info.magnolia.importexport

Class Tests Errors Failures Skipped Success Rate Time
BootstrapFilesComparatorTest 3 0 0 0 100% 0.009
DataTransporterTest 2 0 0 0 100% 0.138
PropertiesImportExportTest 5 0 0 0 100% 0.006

info.magnolia.context

Class Tests Errors Failures Skipped Success Rate Time
DefaultRepositoryStrategyTest 4 0 0 0 100% 1.983
MgnlContextTest 2 0 0 0 100% 0.002
RequestAttributeStrategyTest 3 0 0 0 100% 0.002
SystemRepositoryStrategyTest 1 0 0 0 100% 0.001
WebContextImplTest 2 0 0 0 100% 0.025
WriterResponseWrapperTest 2 0 0 0 100% 0.004

info.magnolia.module

Class Tests Errors Failures Skipped Success Rate Time
AbstractModuleVersionHandlerTest 14 0 0 0 100% 0.025
ModuleLifecycleContextImplTest 2 0 0 0 100% 0.003
ModuleManagerImplTest 6 0 0 0 100% 1.037
ModuleRegistryImplTest 6 0 0 0 100% 0.004

info.magnolia.objectfactory

Class Tests Errors Failures Skipped Success Rate Time
DefaultClassFactoryTest 5 0 0 0 100% 0.006
DefaultComponentProviderTest 9 0 0 0 100% 0.012
ObjectFactoryTest 1 0 0 0 100% 0.002

info.magnolia.module.delta

Class Tests Errors Failures Skipped Success Rate Time
AddFilterBypassTaskTest 1 0 0 0 100% 0.073
AddURIPermissionTaskTest 3 0 0 0 100% 0.181
BackupTaskTest 1 0 0 0 100% 0.076
BootstrapConditionallyTest 2 0 0 0 100% 0.005
IsAuthorInstanceDelegateTaskTest 4 0 0 0 100% 0.012
ModuleBootstrapTaskTest 1 0 0 0 100% 0.002
MoveAndRenamePropertyTaskTest 6 0 0 0 100% 0.009
PropertyValueDelegateTaskTest 4 0 0 0 100% 0.003
PropertyValuesTaskTest 5 0 0 0 100% 0.004
RegisterServletTaskTest 2 0 0 0 100% 0.764
WebXmlConditionsUtilTest 3 0 0 0 100% 0.013

info.magnolia.freemarker

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

info.magnolia.cms.security

Class Tests Errors Failures Skipped Success Rate Time
AccessManagerImplTest 1 0 0 0 100% 0.001
HierarchicalUserManagerTest 3 0 0 0 100% 0.003
MgnlGroupTest 4 0 0 0 100% 0.02
MgnlUserManagerTest 4 0 0 0 100% 0.002
MgnlUserTest 6 0 0 0 100% 0.042

info.magnolia.freemarker.models

Class Tests Errors Failures Skipped Success Rate Time
BinaryNodeDataModelTest 1 0 0 0 100% 0.003
ContentModelTest 1 0 0 0 100% 0.044
UserModelTest 1 0 0 0 100% 0.001

info.magnolia.module.model.reader

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

info.magnolia.cms.filters

Class Tests Errors Failures Skipped Success Rate Time
FilterTest 3 0 0 0 100% 0.29
InstallFilterTest 3 0 0 0 100% 0.181
MultipartRequestFilterTest 2 0 0 0 100% 0.073
ServletDispatchingFilterTest 11 0 0 0 100% 0.055

info.magnolia.module.model

Class Tests Errors Failures Skipped Success Rate Time
VersionComparatorTest 2 0 0 0 100% 0.002
VersionRangeTest 16 0 0 0 100% 0.01
VersionTest 16 0 0 0 100% 0.008

info.magnolia.module.files

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

info.magnolia.setup.for3_5

Class Tests Errors Failures Skipped Success Rate Time
AddURIPermissionsToAllRolesTest 4 0 0 0 100% 0.004
CheckAndUpdateExistingFiltersTest 6 0 0 0 100% 0.403
IPConfigRulesUpdateTest 1 0 0 0 100% 0.004
UpdateI18nConfigurationTest 1 0 0 0 100% 0.004

info.magnolia.content2bean

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

info.magnolia.voting.voters

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

info.magnolia.cms.security.auth.callback

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

info.magnolia.cms.core.version

Class Tests Errors Failures Skipped Success Rate Time
BaseVersionManagerTest 1 0 0 0 100% 5.163

info.magnolia.test.mock

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

info.magnolia.cms.util

Class Tests Errors Failures Skipped Success Rate Time
BooleanUtilTest 3 0 0 0 100% 0.002
ClasspathResourcesUtilTest 2 0 0 0 100% 0.001
ClassUtilTest 1 0 0 0 100% 0.001
ContentUtilTest 9 0 0 0 100% 6.572
DateUtilTest 1 0 0 0 100% 0.041
DelayedExecutorTest 3 0 0 0 100% 0.681
ExceptionUtilTest 5 0 0 0 100% 0.002
ExtendingContentWrapperTest 9 0 0 0 100% 0.551
InheritanceContentWrapperTest 6 0 0 0 100% 0.014
ObservationUtilTest 4 0 0 0 100% 0.914
SiblingsHelperTest 7 0 0 0 100% 0.008
SimpleUrlPatternTest 17 0 0 0 100% 0.02
StringLengthComparatorTest 1 0 0 0 100% 0.001
UnicodeNormalizerTest 7 0 0 0 100% 0.076
WebXmlUtilTest 9 0 0 0 100% 0.095
WorkspaceXmlUtilTest 1 0 0 0 100% 0.004

info.magnolia.cms.servlets

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

info.magnolia.link

Class Tests Errors Failures Skipped Success Rate Time
LinkUtilTest 18 0 0 0 100% 1.073
UUIDLinkTest 8 0 0 0 100% 0.541

info.magnolia.cms.core

Class Tests Errors Failures Skipped Success Rate Time
AggregationStateTest 2 0 0 0 100% 0.011
DefaultContentTest 18 0 0 0 100% 13.319
PathTest 1 0 0 0 100% 0.041

info.magnolia.test

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

info.magnolia.module.ui

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

info.magnolia.nodebuilder

Class Tests Errors Failures Skipped Success Rate Time
NodeBuilderTest 3 0 0 0 100% 4.69
OpsTest 4 0 0 0 100% 1.881

info.magnolia.cms.beans.config

Class Tests Errors Failures Skipped Success Rate Time
ContentRepositoryTest 2 0 0 0 100% 0.003
PropertiesInitializerTest 7 0 0 0 100% 0.407
RegexpVirtualURIMappingTest 7 0 0 0 100% 0.004
URI2RepositoryMappingTest 2 0 0 0 100% 0.003

info.magnolia.importexport.filters

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

info.magnolia.setup

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

info.magnolia.nodebuilder.task

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

info.magnolia.cms.i18n

Class Tests Errors Failures Skipped Success Rate Time
DefaultI18NContentSupportTest 3 0 0 0 100% 0.226
HierarchyBasedI18nContentSupportTest 3 0 0 0 100% 0.201
MessagesManagerTest 5 0 0 0 100% 0.009

Test Cases

ContentRepositoryTest

testUnknownRepositoryShouldYieldMeaningfulExceptionMessage 0
testUnknownRepositoryShouldAlsoYieldMeaningfulExceptionMessageForRepositoryProviders 0

PropertiesInitializerTest

testSimpleProperty 0.069
testNestedProperty 0.056
testNestedPropertyMoreLevels 0.061
testCircularProperty 0.054
testSelfReferencingProperty 0.051
testFileResolution 0.063
testFileResolutionCtxAttributes 0.052

RegexpVirtualURIMappingTest

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

URI2RepositoryMappingTest

testGetUri 0.002
testGetHandleStripsExtensionInclTheDot 0

AggregationStateTest

testUriDecodingShouldStripCtxPath 0
testUriDecodingShouldReturnPassedURIDoesntContainCtxPath 0

DefaultContentTest

testReadingANodeData 0.5
testThatReadingANonExistingNodeDataDoesNotFail 0.356
testSettingAnExistingNodeData 0.407
testSettingANonExistingNodeDataCreatesANewNodeData 0.526
testCreatingAnEmptyNodeData 1.869
testCreatingAnEmptyNodeDataSetsADefaultValueIfPossible 1.104
testCreatingAndSettingANodeData 0.455
testCreatingAndSettingABooleanNodeData 1.01
testCreatingAnExistingNodeDataDoesNotFail 0.498
testCreatingAndReadingABinaryNodeData 0.451
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeData 0.371
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeDataWhichIsUnmutable 0.415
testPermissionCheckedOnDeleteNodeData 2.03
testIsNodeTypeForNodeChecksPrimaryType 1.113
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes 0.564
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType 0.838
testNameFilteringWorksForBothBinaryAndNonBinaryProperties 0.414
testStringPropertiesCanBeRetrievedByStreamAndViceVersa 0.392

PathTest

testIsAbsolute 0.007

BaseVersionManagerTest

testCreateAndRestoreVersion 5.15

FilterTest

testInitialization 0.074
testDecoratedFilter 0.061
testBypassing 0.144

InstallFilterTest

testExecutesCorrectCommandBasedOnURI 0.068
testPassesNullAsCommandIfNoneSpecifiedWithTrailingSlash 0.055
testPassesNullAsCommandIfNoneSpecified 0.057

MultipartRequestFilterTest

testFilterCOS 0.04
testFilterCommonsFileUpload 0.03

ServletDispatchingFilterTest

testEscapeMetaCharacters 0.003
testSupportsDefaultMapping 0.026
testSupportsPathMapping 0.003
testSupportsExtensionMapping 0
testSupportsRegexMappings 0.015
testShouldNotBypassWhenPathMappingMatches 0.001
testShouldNotBypassWhenExactMappingMatches 0.001
testShouldBypassWhenMappingDoesNotMatch 0.002
testShouldBypassWhenMappingDoesNotMatchMAGNOLIA1984 0
testPathInfoShouldAdhereToServletSpec 0.001
testPathInfoShouldStateWhateverIsAfterTheRegexMapping 0

DefaultI18NContentSupportTest

testDetermineLocale 0.107
testDetermineLocaleEndlessLoop 0.059
testGetNodeDataEndlessLoop 0.059

HierarchyBasedI18nContentSupportTest

testDetermineLocale 0.07
testDetermineLocaleEndlessLoop 0.061
testGetNodeDataEndlessLoop 0.068

MessagesManagerTest

testGetsSimpleMessageFromDefaultBundle 0.006
testGetsMessagesFromSpecifiedBundle 0
testGetsMessagesFromSpecifiedBundleInPriorityEvenIfItExistsInDefaultBundle 0.001
testFallsBackToDefaultLocaleIfCurrentLocaleDoesntSpecifyThisMessage 0.001
testFallsBackToDefaultLocaleAlsoWithDefaultBundle 0.001

AccessManagerImplTest

testGetPermissions 0.001

RedirectClientCallbackTest

testExternalUrlsArePassedAsIs 0.002
testRelativeURLsAreSupported 0
testAbsoluteURLsArePrefixedWithContextPath 0
testDoesNothingIfCurrentRequestURLIsTarget 0
testTargetUrlIsFormattedWithEncodedRequestURL 0.001

HierarchicalUserManagerTest

testParentPathIsRealmIfNameShorterThan3Chars 0.002
testParentPathShouldReflectFirstLettersOfNameAndIncludeRealmName 0
testParentPathShouldBeLowercased 0

MgnlGroupTest

testGetRoles 0.007
testGetRolesWithoutDuplicates 0.004
testGetGroupsReturnsDirectGroups 0.004
testGetGroupsReturnsDirectGroupsWithoutDuplicates 0.004

MgnlUserManagerTest

testUsernameIsValidatedUponCreation 0.001
testUsernameCantBeNull 0
testUsernameCantBeEmpty 0
testUsernameCantBeBlank 0

MgnlUserTest

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

MgnlServletContextListenerTest

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

BooleanUtilTest

testToBooleanKnowsItsBasicEnglishVocabulary 0.001
testToBooleanHandlesNullsAndEmptyStringsGracefully 0
testToBooleanUsesDefaultValueForUnknownValues 0

ClasspathResourcesUtilTest

testSanitizeUrlToFile 0.001
testOhWindoes 0

ClassUtilTest

testIsSubClass 0

ContentUtilTest

testVisitShouldPassFilterAlong 1.7
testDeleteAndRemoveParentsIfAnOtherChild 0.682
testDeleteAndRemoveParentsIfNoOtherChild 0.661
testDeleteAndRemoveParentsWithLevel 0.505
testSessionBasedCopy 0.736
testOrderAfter 0.43
testOrderAfterLastNode 0.751
testChangeNodeTypeReplaceFirstOccurrenceOnly 0.681
testChangeNodeTypeReplaceAllOccurrences 0.421

DateUtilTest

testCustomFormatShouldUseGivenLocale 0.039

DelayedExecutorTest

testDelayedExecution 0.123
testMultipleDelayedExecution 0.153
testExecutionAfterMaxDelay 0.403

ExceptionUtilTest

testUnwrapIfShouldThrowWrappedExceptionIfItMatchesThe2ndParameter 0.001
testUnwrapIfShouldThrowWrappedExceptionIfItIsARuntimeExceptionEvenIfItDoesntMatch2ndParameter 0
testUnwrapIfShouldThrowPassedExceptionIfItDoesNotMatchAndIsntARuntimeException 0
testUnwrapIfWithCauseBeeingNull 0
testUnwrapIfWithUnwrapIfBeeingNull 0

ExtendingContentWrapperTest

testThatNodeDatasAreMerged 0.061
testThatNodeDatasCanBeOvwerWritten 0.065
testThatSubNodesAreMerged 0.056
testThatSubNodesCanBeOverwritten 0.057
testDeepMerge 0.08
testThatOrderIsKeptWhileMergingSubNodes 0.057
testBasicMultipleInheritance 0.058
testComplextMultipleInheritance1 0.057
testComplextMultipleInheritance2 0.056

InheritanceContentWrapperTest

testRoot 0.001
testPropertyInheritance 0.001
testNestedPropertyInheritance 0.001
testSingleParagraphInheritance 0
testNestedParagraphInheritance 0.001
testCollectionInheritance 0.008

ObservationUtilTest

testFailRegisterWhenSessionInvalid 0.565
testRegisterWhenSessionValid 0.118
testDontFailUnRegisterWhenSessionInvalid 0.148
testUnRegisterWhenSessionValid 0.077

SiblingsHelperTest

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

SimpleUrlPatternTest

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

StringLengthComparatorTest

testBasic 0.001

UnicodeNormalizerTest

testAsciiStringsShouldPassThroughWithAutoDetect 0.002
testNFCStringIsStillEqualsAfterNormalizeCallWithAutoDetect 0.038
testNormalizingNFDStringMakesItEqualsToNFCStringWithAutoDetect 0.001
testNormalizationAlsoWorksForStringsThatWereOriginallyNotUTF8WithAutoDetect 0
testICUNormalizer 0.033
testNonNormalizer 0
testJava6ReflectionNormalizer 0

WebXmlUtilTest

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

WorkspaceXmlUtilTest

testWorkspaceOldIndexer 0.004

Content2BeanTest

testContentToBeanWithClassDefined 0.14
testContentToBeanWithDefaultClass 0.067
testContentToBeanWithSubBean 0.083
testContentToBeanWithSubBeanAndAutoTypeResolving 0.076
testContentToBeanWithSubMap 0.14
testContentToBeanWithSubMapUsingMapping 0.329
testContentToBeanWithSubMapUsingAdder 0.07
testContentToBeanWithArraysUsingAdder 0.074
testClassPropertiesAreConvertedProperly 0.078
testJCRPropertiesTypes 0.096
testFromStringConversion 0.075
testFlatteningSubNodesToSimpleList 0.081
testCanConvertStringsToTheAppropriateEnumEquivalent 0.072
testCanSpecifySpecificMapImplementation 0.083
testWillFailToUseACustomMapWhichIsNotConcrete 0.102

DefaultRepositoryStrategyTest

testAccessManagers 0.364
testRepositorySessions 0.53
testQueryManagers 0.535
testHierarchyManagers 0.554

MgnlContextTest

testCanDeclareCheckExceptionToBeThrownByDoInSystemContext 0
testCanThrowRuntimeExceptionsWithoutSpecificThrowsClauseInDoInSystemContext 0.001

RequestAttributeStrategyTest

testLocalAttributes 0
testSessionAttributes 0
testApplicationAttributes 0

SystemRepositoryStrategyTest

testAccessManager 0

WebContextImplTest

testLoginLogout 0.017
testSerializable 0.007

WriterResponseWrapperTest

testCantUseWriterAfterOutputStream 0.003
testCantUseOutputStreamAfterWriter 0.001

FreemarkerHelperTest

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

BinaryNodeDataModelTest

testCanBeUnwrappedByDeepUnWrap 0.001

ContentModelTest

testCanBeUnwrappedByDeepUnWrap 0.041

UserModelTest

testCanBeUnwrappedByDeepUnWrap 0

BootstrapFilesComparatorTest

testXmlShouldBeBeforeProperties 0.008
testZipAndGzShouldBeIgnoredInSortingXmlBeforeProperties 0
testFilesAreOrderedByFileNameLength 0

DataTransporterTest

testParseAndFormat 0.104
testRemoveNs 0.014

MagnoliaV2FilterTest

testBogusMetaElement 0.03

PropertiesImportExportTest

testConvertsToStringByDefault 0
testConvertsToWrapperType 0.001
testCanUseIntShortcutForConvertingIntegers 0
testPropertiesExport 0.003
testImportMetadata 0.001

LinkUtilTest

testParsingLinks 0.061
testParsingLinksWithBackslashInQueryParam 0.055
testParsingLinksShouldNotTouchNonContentAbsoluteLinks 0.058
testParsingLinksDoesNotTryToConvertExternalLinks 0.06
testParsingLinksDoesNotTryToConvertPageAnchors 0.058
testParsingLinksShouldPreserverParameters 0.06
testParsingLinksShouldPreserveAnchors 0.059
testUUIDToAbsoluteLinks 0.061
testUUIDToInternalLinks 0.063
testUUIDToRootLinks 0.067
testUUIDToRelativeLinks 0.057
testUUIDToAbsoluteLinkWithDollar 0.056
testMakeUUIDFromAbsolutePath 0.058
testMakingRelativeLinks 0.061
testInternalRelativeLinksAreProperlyDetermined 0.055
testExternalLinksAreProperlyDetermined 0.057
testMakeAbsolutePathFromUUID 0.058
testMakeCompleteURL 0.065

UUIDLinkTest

testParseFromUUIDPattern 0.06
testParseLink 0.063
testParseFromBrowserLink 0.056
testLinkWithAnchor 0.056
testLinkWithParameters 0.058
testUUIDToAbsoluteLinksAfterRenaming 0.059
testUUIDToBinary 0.071
testUUIDToBinaryAfterRenaming 0.117

AbstractModuleVersionHandlerTest

testCantRegisterMultipleDeltasForSameVersion 0.006
testRetrievesTheAppropriateListOfDeltas 0.002
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.001
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatDoesNotHaveSpecificDelta 0.001
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatHasSpecificDelta 0.001
testStoresTheModuleDescriptorVersionOnInstall 0.001

AddFilterBypassTaskTest

testFilterBypassAddedProperly 0.07

AddURIPermissionTaskTest

testGetPostPermissionAddedToRoleProperly 0.062
testGetPermissionAddedToRoleProperly 0.059
testDenyPermissionAddedToRoleProperly 0.059

BackupTaskTest

testNodeExistsWithFullPathAtBackupPathAfterBackingUp 0.076

BootstrapConditionallyTest

testExecutesDelegateTaskIfNodeExists 0.003
testBootstrapsIfNodeDoesNotExist 0.001

IsAuthorInstanceDelegateTaskTest

testExecutesAuthorDelegateTaskWhenIsAuthor 0.002
testExecutesPublicDelegateTaskWhenIsPublic 0
testExecutesAuthorDelegateTaskWhenAdminPropertyDoesNotExist 0.001
testExecutesAuthorDelegateTaskWhenAdminPropertyHasAMeaninglessValue 0

ModuleBootstrapTaskTest

testShouldOnlyBootstrapFilesFromThisModule 0.001

MoveAndRenamePropertyTaskTest

testPropertyWithOldDefaultValueGetsNewDefaultValue 0.002
testPropertyWithDifferentValueIsMovedButNotChanged 0.001
testValueIsCopiedNoMatterWhatIfOldDefaultNotPassed 0.001
testNewDefaultIsUsedIfPropertyDidNotExist 0.001
testNewDefaultIsUsedIfPropertyDidNotExistAndNodeDataReturnsEmptyValue 0.001
testPropertyReplacedByOldValueIfNewAlreadyExists 0.001

PropertyValueDelegateTaskTest

testExecutesDelegateTaskIfPropertyExistsWithExpectedValue 0.001
testExecutesOtherDelegateTaskIfPropertyExistsWithOtherValue 0
testExecutesOtherDelegateTaskIfPropertyMustNotExistAndDoesNot 0.001
testThrowsExceptionIfPropertyMustExistAndDoesNot 0

PropertyValuesTaskTest

testExistingPropertyIsReplaced 0.001
testNonExistingPropertyIsNotReplacedButLogged 0.001
testPropertywithUnexpectedValueIsNotReplacedButLogged 0
testNonExistingPropertyAndExpectedAsSuchIsCreated 0
testUnexpectedlyExistingPropertyIsNotReplacedAndLogged 0

RegisterServletTaskTest

testRegisterServletTaskWithEmptyMappings 0.344
testRegisterServletTaskWithMappings 0.418

WebXmlConditionsUtilTest

testWarnsIfIncludeDispatcherIsUsed 0.004
testDoesNotWarnIfErrorDispatcherIsUsed 0.004
testBlocksIfRequestDispatcherIsMissing 0.004

MD5CheckingFileExtractorOperationTest

testAbsentFilesAreRecreated 0.489

BetwixtModuleDefinitionReaderTest

testDisplayNameCanBeWrittenWithDashEventhoughThisIsDeprecated 0.005
testDisplayNameShouldBeWrittenWithCapitalN 0.005
testClassIsResolvedToClassNameAsAString 0.005
testVersionHandlerIsResolvedToAClass 0.005
testModuleVersionIsProperlyRead 0.006
testDependenciesVersionAreProperlyRead 0.014
testInvalidXmlIsCheckedAgainstDTD 0.028
testGivenDtdIsIgnoredAndCheckedAgainstOurs 0.005
testReadCompleteDescriptorAndCheckAllPropertiesDamnYouBetwixt 0.029
testSelf 0

DependencyCheckerImplTest

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

DependencyLevelComparatorTest

testCalcDepencyLevelWithNonOptionalDependencies 0
testCalcDepencyLevelIgnoresUnregisteredOptionalDependencies 0
testCalcDepencyLevelDoesNotIgnoreRegisteredOptionalDependencies 0

VersionComparatorTest

testBasic 0
testClassifiersAreIgnored 0.001

VersionRangeTest

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

VersionTest

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

ModuleLifecycleContextImplTest

testCantRegisterAComponentIfNodeNameIsAlreadyForAnotherComponent 0.001
testStartRegistersAllObserversWithAllModules 0

ModuleManagerImplTest

testCheckModuleAndDeltasToStringForUpdate 0.012
testCheckModuleAndDeltasToStringForInstall 0
testUpdateAppliesSuppliedDeltasAndTasks 0.192
testTaskExecutionExceptionInterruptsTasksAddsExplicitErrorMessage 0.018
testFailedConditionsPreventsFurtherModulesToBeInstalledOrUpdated 0.008
testPerformCantBeCalledTwiceByDifferentThreads 0.805

ModuleRegistryImplTest

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

ModuleManagerWebUITest

testModuleManagementExceptionsArePropagatedEvenThoughTheUpdateIsRunningInASeparateThread 1.003
testListTasksTemplate 0.03
testDoneTemplate 0.054
testRestartNeededTemplate 0.02

NodeBuilderTest

testContextNodeIsProperlyPropagated 0.496
testErrorMessages 0.878
testPropertyNotReplaceIfCurrentValueDoesNotMatchExpectations 3.305

OpsTest

testAddPropertyFailsIfPropertyExists 0.581
testSetPropertyFailsIfPropertyDoesNotExist 0.413
testSetPropertyFailsIfPropertyDoesNotHaveExpectedValue 0.464
testRemoveFailsOnUnexistingPropertyOrNode 0.422

NodeBuilderTaskTest

testUnknownRootThrowsException 0.451
testSyntax 0.441

DefaultClassFactoryTest

testCanInstantiateWithEmptyConstructor 0
testCanInstantiateWithAppropriateConstructor 0.001
testCanInstantiateWithAppropriateConstructorAndNullParamsWhenSignatureIsSpecified 0
testCanInstantiateWithBestMatchingConstructorWhenTheSignatureIsMorePrecise 0
testCanInstantiateWithSingleArgConstructorAndNullParamWhenSignatureIspecified 0

DefaultComponentProviderTest

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

ObjectFactoryTest

testInjectingSystemPropertyIntoDefaultComponentStillAllowsToSwapImplementationsLater 0.001

CoreModuleVersionHandlerTest

testPngSwfMimeTypesOnInstall 3.188
testPngSwfMimeTypesOnUpdateFrom35x 1.255
testPngSwfMimeTypesOnUpdateFrom35xWithUserFixedValues 1.2
testPngSwfMimeTypesOnUpdateFrom364 0.955
testPngSwfMimeTypesOnUpdateFrom364WithUserFixedValues 0.818
testPngSwfMimeTypesOnUpdateFrom401 0.582
testPngSwfMimeTypesOnUpdateFrom401WithUserFixedValues 0.679
testPngSwfMimeTypesOnUpdateFrom410 1.03
testPngSwfMimeTypesOnUpdateFrom410WithUserFixedValues 0.518
testUnicodeNormalizerAndFilterOrderOnUpdateFrom410 1.273

AddURIPermissionsToAllRolesTest

testRegularRolesGetAllUriPermOnSlashStar 0
testRegularRolesGetAllUriPermOnSlashStarAlsoOnPublicInstances 0.001
testAnonymousRoleGetsDenyOnAllOnAuthorInstances 0
testAnonymousRoleGetsAccessOnSlashStarAndDenyOnDotMagnoliaOnPublicInstances 0

CheckAndUpdateExistingFiltersTest

testWarnIfFilterDidNotExistIn30 0.067
testWarnIfFilterClassHasBeenModified 0.058
testWarnIfFilterPriorityHasBeenModified 0.061
testWarnIfFilterParamsHaveBeenModified 0.066
testProperTransformationIfFilterBypassHasBeenModified 0.08
testDoNotWarnIfFilterHasDefault30Configuration 0.068

IPConfigRulesUpdateTest

testOnlyChangesOldStyleRulesOrdersMethodsUppercasesThemAndLeavesOtherNodesUntouched 0.002

UpdateI18nConfigurationTest

testUpdatesProperlyWhenAlreadyExisting 0.003

ComponentsTestUtilTest

testConfiguredImplementation 0.001
testSetSingletonInstance 0
testInstanceFactory 0

MockContentTest

testNameFilteringWorksForBothBinaryAndNonBinaryProperties 0.002
testStringPropertiesCanBeRetrievedByStreamAndViceVersa 0
testOrderBefore 0
testOrderBefore2 0
testOrderBeforeFirstNode 0.001

MockObjectTest

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

MockUtilTest

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

SelfTest

testJackrabbitUnregistersProperly 0.113
testCommandIsSetCorrectlyFromPrototype 0.004

TestCommand

TestUtil

Utf8ContentTest

testReadingUtf8AccentedChars 0.89
testReadingUtf8Greek 0.433
testReadingUtf8Russian 0.585
testReadingUtf8SpecialChars 0.55
testReadingUtf8JapaneseChars 0.62
testCreateExportImportContentUtf8SpecialChars 0.555
testSettingAnUtf8NodeData 0.724
testSettingNewUtf8ContentNode 0.742

BasePatternVoterTest

testInitWithoutPattern 0

IfVoterTest

testReturnsValueOfElseIfConditionIsTrue 0.001
testReturnsValueOfOtherwiseIfConditionIsFalse 0
testReturns0IfConditionIsFalseAndOtherwiseIsntSet 0

ResponseContentTypeVoterTest

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

URIStartsWithVoterTest

testBasics 0
testNotVoter 0
testInverseVoter 0