magnolia-core Version: 4.5.2 Last Published: Apr 3, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
107000399.72%86.799

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.setup.for4_55000100%2.847
info.magnolia.utf88000100%4.338
info.magnolia.registry4000100%0.001
info.magnolia.importexport18000100%0.629
info.magnolia.objectfactory.configuration13000100%0.161
info.magnolia.logging3000100%0.003
info.magnolia.context10000100%1.127
info.magnolia.module34000100%1.093
info.magnolia.objectfactory30000100%0.045
info.magnolia.module.delta52000100%1.792
info.magnolia.freemarker53000100%0.312
info.magnolia.cms.security49000100%0.939
info.magnolia.freemarker.models3000100%0.002
info.magnolia.init26000100%0.021
info.magnolia.module.model.reader35000100%0.048
info.magnolia.cms.filters33000100%0.579
info.magnolia.module.model35000100%0.008
info.magnolia.module.files1000100%0.004
info.magnolia.content2bean16000100%0.175
info.magnolia.beanmerger7000100%0.387
info.magnolia.jcr.wrapper29000100%6.579
info.magnolia.voting.voters23000100%0.014
info.magnolia.cms.security.auth.callback6000100%0.007
info.magnolia.cms.core.version9000100%2.878
info.magnolia.test.mock36000100%0.021
info.magnolia.cms.util187000100%14.487
info.magnolia.link27000100%0.228
info.magnolia.cms.core.search2000100%1.37
info.magnolia.objectfactory.guice2000195%0.124
info.magnolia.cms.core59000100%24.868
info.magnolia.test5000100%0.139
info.magnolia.repository10010%0
info.magnolia.nodebuilder15000100%4.416
info.magnolia.module.ui4000100%1.079
info.magnolia.jcr.predicate2000100%0.001
info.magnolia.cms.beans.config1400192.857%0.35
info.magnolia.importexport.filters1000100%0.009
info.magnolia.init.properties2000100%0.001
info.magnolia.jcr.util76000100%2.334
info.magnolia.setup6000100%9.432
info.magnolia.repository.definition1000100%0.002
info.magnolia.test.mock.jcr82000100%0.026
info.magnolia.nodebuilder.task7000100%3.818
info.magnolia.jcr.nodebuilder10000100%0.013
info.magnolia.cms.i18n11000100%0.092

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

info.magnolia.setup.for4_5

ClassTestsErrors FailuresSkippedSuccess RateTime
RenameACLNodesTaskTest1000100%0.531
UpdateSecurityFilterClientCallbacksConfigurationTest4000100%2.316

info.magnolia.utf8

ClassTestsErrors FailuresSkippedSuccess RateTime
Utf8ContentTest8000100%4.338

info.magnolia.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
RegistryMapTest4000100%0.001

info.magnolia.importexport

ClassTestsErrors FailuresSkippedSuccess RateTime
BootstrapFilesComparatorTest3000100%0.001
BootstrapUtilTest4000100%0.002
DataTransporterRepositoryTest1000100%0.553
DataTransporterTest5000100%0.066
PropertiesImportExportTest5000100%0.007

info.magnolia.objectfactory.configuration

ClassTestsErrors FailuresSkippedSuccess RateTime
ComponentConfigurationReaderTest1000100%0.005
ComponentProviderConfigurationBuilderTest11000100%0.146
LegacyComponentsConfigurerTest1000100%0.01

info.magnolia.logging

ClassTestsErrors FailuresSkippedSuccess RateTime
AuditLoggingManagerTest1000100%0.001
AuditLoggingUtilTest2000100%0.002

info.magnolia.context

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRepositoryStrategyTest1000100%0.559
DefaultRepositoryStrategyTest1000100%0.55
MgnlContextTest2000100%0.002
RequestAttributeStrategyTest3000100%0.005
WebContextImplTest1000100%0.009
WriterResponseWrapperTest2000100%0.002

info.magnolia.module

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractModuleVersionHandlerTest14000100%0.017
ModuleInstanceProviderTest2000100%0.228
ModuleLifecycleContextImplTest2000100%0.002
ModuleManagementStateTest3000100%0.002
ModuleManagerImplTest6000100%0.84
ModuleRegistryImplTest7000100%0.004

info.magnolia.objectfactory

ClassTestsErrors FailuresSkippedSuccess RateTime
ClassesTest2000100%0.011
DefaultClassFactoryTest5000100%0.002
DefaultComponentProviderTest9000100%0.014
ObjectFactoryTest1000100%0
ObjectManufacturerTest11000100%0.012
ObservedComponentFactoryTest2000100%0.006

info.magnolia.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
FreemarkerHelperTest53000100%0.312

info.magnolia.cms.security

ClassTestsErrors FailuresSkippedSuccess RateTime
AccessManagerImplTest1000100%0.002
HierarchicalUserManagerTest3000100%0.003
MgnlGroupTest8000100%0.066
MgnlUserManagerTest5000100%0.014
MgnlUserTest6000100%0.042
PermissionUtilTest4000100%0.001
PrincipalUtilTest5000100%0.003
RescueSecuritySupportTest10000100%0.152
SecurityTest1000100%0.004
SecurityUtilTest6000100%0.652

info.magnolia.freemarker.models

ClassTestsErrors FailuresSkippedSuccess RateTime
BinaryNodeDataModelTest1000100%0.001
ContentModelTest1000100%0
UserModelTest1000100%0.001

info.magnolia.init

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractMagnoliaConfigurationPropertiesTest9000100%0.007
DefaultMagnoliaInitPathsTest8000100%0.006
DefaultMagnoliaPropertiesResolverTest9000100%0.008

info.magnolia.module.model.reader

ClassTestsErrors FailuresSkippedSuccess RateTime
BetwixtModuleDefinitionReaderTest12000100%0.043
DependencyCheckerImplTest18000100%0.004
DependencyLevelComparatorTest5000100%0.001

info.magnolia.cms.filters

ClassTestsErrors FailuresSkippedSuccess RateTime
CompositeFilterTest1000100%0.016
ContentTypeFilterTest1000100%0.038
FilterTest3000100%0.168
InstallFilterTest3000100%0.041
InterceptFilterTest6000100%0.027
MultiChannelFilterTest3000100%0.007
MultipartRequestFilterTest2000100%0.093
MultipartRequestWrapperTest1000100%0.014
ServletDispatchingFilterTest12000100%0.164
UnicodeNormalizationRequestWrapperTest1000100%0.011

info.magnolia.module.model

ClassTestsErrors FailuresSkippedSuccess RateTime
VersionComparatorTest2000100%0.001
VersionRangeTest17000100%0.003
VersionTest16000100%0.004

info.magnolia.module.files

ClassTestsErrors FailuresSkippedSuccess RateTime
MD5CheckingFileExtractorOperationTest1000100%0.004

info.magnolia.content2bean

ClassTestsErrors FailuresSkippedSuccess RateTime
Content2BeanProxyTest1000100%0.012
Content2BeanTest15000100%0.163

info.magnolia.beanmerger

ClassTestsErrors FailuresSkippedSuccess RateTime
BeanMergerUtilTest1000100%0.279
ProxyBasedBeanMergerTest6000100%0.108

info.magnolia.jcr.wrapper

ClassTestsErrors FailuresSkippedSuccess RateTime
ChannelVisibilitySessionWrapperTest12000100%6.54
DelegateNodeWrapperTest3000100%0.001
DelegateSessionWrapperTest1000100%0.001
HTMLEscapingNodeWrapperTest5000100%0.009
I18nNodeWrapperTest2000100%0.02
InheritanceNodeWrapperTest6000100%0.008

info.magnolia.voting.voters

ClassTestsErrors FailuresSkippedSuccess RateTime
BasePatternVoterTest1000100%0.001
IfVoterTest3000100%0.002
ResponseContentTypeVoterTest13000100%0.009
URIPatternVoterTest3000100%0.001
URIStartsWithVoterTest3000100%0.001

info.magnolia.cms.security.auth.callback

ClassTestsErrors FailuresSkippedSuccess RateTime
RedirectClientCallbackTest6000100%0.007

info.magnolia.cms.core.version

ClassTestsErrors FailuresSkippedSuccess RateTime
BaseVersionManagerTest4000100%0.833
ContentVersionTest4000100%2.01
VersionedNodeTest1000100%0.035

info.magnolia.test.mock

ClassTestsErrors FailuresSkippedSuccess RateTime
Content2NodeCollectionWrapperTest2000100%0.001
MockAccessManagerTest1000100%0
MockComponentProviderTest2000100%0.001
MockContentTest12000100%0.006
MockHierarchyManagerTest1000100%0.001
MockNodeDataTest3000100%0.002
MockObjectTest7000100%0.002
MockUtilTest6000100%0.007
NodeData2PropertyCollectionWrapperTest2000100%0.001

info.magnolia.cms.util

ClassTestsErrors FailuresSkippedSuccess RateTime
BooleanUtilTest3000100%0.001
ClasspathResourcesUtilTest2000100%0.001
ClassUtilTest1000100%0.001
ContentUtilRepoTest4000100%2.297
ContentUtilTest27000100%0.037
DateUtilTest1000100%0.008
DelayedExecutorTest3000100%0.685
ExceptionUtilTest19000100%0.006
ExtendingContentWrapperTest15000100%0.136
InheritanceContentWrapperTest8000100%0.008
LazyContentWrapperTest3000100%1.691
LazyNodeDataWrapperTest3000100%0.014
ModuleConfigurationObservingManagerTest1000100%6.026
NodeDataUtilTest10000100%0.004
NodePathComparatorTest1000100%0.001
NodeUuidComparatorTest1000100%0.001
ObservationUtilTest4000100%0.048
PathUtilTest9000100%0.002
RequestDispatchUtilTest4000100%0.002
RuleTest3000100%1.638
SearchReplaceTest4000100%0.012
ServletUtilsTest10000100%0.002
SiblingsHelperTest7000100%0.007
SimpleUrlPatternTest18000100%0.004
StringLengthComparatorTest1000100%0
SystemContentWrapperTest3000100%1.672
TextFileUtilTest4000100%0.002
UnicodeNormalizerTest7000100%0.075
WebXmlUtilTest9000100%0.1
WorkspaceXmlUtilTest2000100%0.006

info.magnolia.link

ClassTestsErrors FailuresSkippedSuccess RateTime
LinkUtilTest19000100%0.165
UUIDLinkTest8000100%0.063

info.magnolia.cms.core.search

ClassTestsErrors FailuresSkippedSuccess RateTime
QueryTest2000100%1.37

info.magnolia.objectfactory.guice

ClassTestsErrors FailuresSkippedSuccess RateTime
GuiceComponentProviderBuilderTest1000100%0.004
GuiceComponentProviderLifecycleTest10010%0
GuiceComponentProviderTest10000100%0.083
GuiceScopesTest8000100%0.037

info.magnolia.cms.core

ClassTestsErrors FailuresSkippedSuccess RateTime
AggregationStateTest3000100%0.005
BinaryNodeDataTest3000100%0.059
DefaultContentTest23000100%17.927
MetaDataTest13000100%0.033
NodeTest12000100%6.841
PathTest5000100%0.003

info.magnolia.test

ClassTestsErrors FailuresSkippedSuccess RateTime
ComponentsTestUtilTest3000100%0.002
SelfTest2000100%0.137

info.magnolia.repository

ClassTestsErrors FailuresSkippedSuccess RateTime
WorkspaceMappingTest10010%0

info.magnolia.nodebuilder

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractNodeOperationTest1000100%0.002
ContentOpsTest6000100%0.003
NodeBuilderTest3000100%1.692
OpsTest5000100%2.719

info.magnolia.module.ui

ClassTestsErrors FailuresSkippedSuccess RateTime
ModuleManagerWebUITest4000100%1.079

info.magnolia.jcr.predicate

ClassTestsErrors FailuresSkippedSuccess RateTime
JCRPropertyHidingPredicateTest2000100%0.001

info.magnolia.cms.beans.config

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentRepositoryTest10010%0.002
RegexpVirtualURIMappingTest11000100%0.017
URI2RepositoryMappingTest2000100%0.331

info.magnolia.importexport.filters

ClassTestsErrors FailuresSkippedSuccess RateTime
MagnoliaV2FilterTest1000100%0.009

info.magnolia.init.properties

ClassTestsErrors FailuresSkippedSuccess RateTime
ModulePropertiesSourceTest2000100%0.001

info.magnolia.jcr.util

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentMapTest2000100%0.002
MetaDataUtilTest2000100%0.002
NodeUtilRepositoryTest4000100%2.31
NodeUtilTest30000100%0.01
PropertiesImportExportTest7000100%0.004
PropertyUtilTest24000100%0.004
SessionUtilTest6000100%0.002
VersionUtilTest1000100%0

info.magnolia.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
CoreModuleVersionHandlerTest5000100%8.596
HashUsersPasswordsTest1000100%0.836

info.magnolia.repository.definition

ClassTestsErrors FailuresSkippedSuccess RateTime
RepositoryMappingDefinitionReaderTest1000100%0.002

info.magnolia.test.mock.jcr

ClassTestsErrors FailuresSkippedSuccess RateTime
MockItemTest2000100%0.001
MockNodeTest33000100%0.011
MockObservationManagerTest6000100%0.003
MockPropertyTest7000100%0.002
MockSessionTest9000100%0.002
MockValueTest19000100%0.004
NodeTestUtilTest3000100%0.001
SessionTestUtilTest3000100%0.002

info.magnolia.nodebuilder.task

ClassTestsErrors FailuresSkippedSuccess RateTime
ModuleConfigNodeBuilderTaskTest3000100%1.639
ModuleNodeBuilderTaskTest2000100%1.087
NodeBuilderTaskTest2000100%1.092

info.magnolia.jcr.nodebuilder

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractNodeOperationTest1000100%0.002
NodeBuilderTest2000100%0.008
OpsTest7000100%0.003

info.magnolia.cms.i18n

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultI18NContentSupportTest3000100%0.035
HierarchyBasedI18nContentSupportTest3000100%0.043
MessagesManagerTest5000100%0.014

Test Cases

[Summary] [Package List] [Test Cases]

BeanMergerUtilTest

testBeanMergerUtilProperlyHandsOverProvidedObjects0.24

ProxyBasedBeanMergerTest

testMergeOfInterfaces0.079
testMergeUsesSubClassIfAssignable0.004
testMergeMergedClass0.003
testMergedProperties0.004
testMergeMap0.004
testIsSimpleType0

RegexpVirtualURIMappingTest

testExample0.003
testExample20.001
testExample30
testRegexSubstitutionWorksAndLevelIsSetToGroupCountPlusOne0
testSupportsMoreThan9Groups0
testGracefullyFailingOnIncompleteConfig0.002
testGracefullyFailingOnWrongRegexGroup0.001
testQueryStringIsBeingPassedThroughExample0
testQueryStringIsBeingPassedThroughExample20.001
testQueryStringIsBeingPassedThroughExample30.002
testQueryStringMappingFailedOnWrongQueryString0

URI2RepositoryMappingTest

testGetUri0.298
testGetHandleStripsExtensionInclTheDot0.032

AggregationStateTest

testUriDecodingShouldStripCtxPath0.001
testUriDecodingShouldReturnPassedURIDoesntContainCtxPath0
testGetSelectors0.001

BinaryNodeDataTest

testThatAttributesAreSetOnTheWrappedNode0.053
testThatTheBinaryContentCanBeReadMultipleTimes0.005
testThatStreamIsSetOnTheWrappedNode0

DefaultContentTest

testAddMixin3.459
testReadingANodeData1.108
testThatReadingANonExistingNodeDataDoesNotFail0.902
testSettingAnExistingNodeData0.688
testSettingANonExistingNodeDataCreatesANewNodeData0.67
testCreatingAnEmptyNodeData0.64
testCreatingAnEmptyNodeDataSetsADefaultValueIfPossible0.628
testCreatingAndSettingANodeData0.622
testCreatingAndSettingABooleanNodeData0.611
testCreatingAnExistingNodeDataDoesNotFail0.62
testCreatingAndReadingABinaryNodeData0.638
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeData0.601
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeDataWhichIsUnmutable0.608
testIsNodeTypeForNodeChecksPrimaryType0.649
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.6
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType0.584
testNameFilteringWorksForBothBinaryAndNonBinaryProperties0.621
testStringPropertiesCanBeRetrievedByStreamAndViceVersa0.598
testModDate0.592
testDelete0.693
testEquals0.651
testEqualsWithNull0.57
testEqualsWithWrongType0.564

MetaDataTest

testSetPropertyWithString0.001
testSetPropertyWithDouble0
testSetPropertyWithLong0
testSetPropertyWithBoolean0
testSetPropertyWithDate0.001
testGetStringProperty0
testGetBooleanPropertyWithMissingNode0
testGetDoublePropertyWithMissingNode0
testGetLongPropertyWithMissingNode0
testGetStringPropertyWithMissingNode0
testGetCalendarPropertyWithMissingNode0
testGetStringPropertyThrowingPathNotFoundException0.028
testSetPropertyWithStringWhenAlreadyExisting0.001

NodeTest

testAddMixin0.584
testReadingANodeData0.559
testSettingAnExistingNodeData0.572
testSettingANonExistingNodeDataCreatesANewNodeData0.583
testCreatingAndSettingANodeData0.58
testCreatingAnExistingNodeDataDoesNotFail0.572
testIsNodeTypeForNodeChecksPrimaryType0.554
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.539
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType0.58
testNameFilteringWorksForBothBinaryAndNonBinaryProperties0.561
testStringPropertiesCanBeRetrievedByStreamAndViceVersa0.584
testThatReadingANonExistingNodeDataFail0.567

PathTest

testIsAbsolute0
testIsCharValid0
testGetValidatedLabel0.001
testGetAbsoluteFileSystemPathPrependsApplicationRootDirIfPathIsRelative0
testGetAbsoluteFileSystemPathReturnsArgumentIfPathIsAbsolute0.001

QueryTest

testSimpleQuery0.752
testMaxResultSize0.616

BaseVersionManagerTest

testCreateAndRestoreVersion0.603
testCreateAndRestoreDeletedVersion0.089
testUseSystemSessionToRetrieveVersions0.029
testNumberOfCreatedVersions0.111

ContentVersionTest

testBasics0.168
testRetrievingBinariesFromContentVersion0.616
testRestoringBinariesFromContentVersion0.623
testRetrievingBinariesFromContentVersionsChildNode0.602

VersionedNodeTest

testWrapProperty0.034

CompositeFilterTest

testInitializationAndDestruction0.016

ContentTypeFilterTest

testFilterWithEmptyDefaultExtension0.037

FilterTest

testInitialization0.044
testDecoratedFilter0.033
testBypassing0.09

InstallFilterTest

testExecutesCorrectCommandBasedOnURI0.017
testPassesNullAsCommandIfNoneSpecifiedWithTrailingSlash0.011
testPassesNullAsCommandIfNoneSpecified0.012

InterceptFilterTest

testPreviewIsSetInMgnlContextSession0.012
testPreviewIsRemovedFromMgnlContextSession0.003
testDeleteNodeAction0.002
testSortNodeDefaultAction0.002
testSortNodeBeforeAction0.003
testSortNodeAfterAction0.003

MultiChannelFilterTest

testALLGetsSetWhenThereIsNoResolver0.003
testChannelFromResolverGetsSet0.002
testChannelParameterValueGetsSet0.001

MultipartRequestFilterTest

testFilterCOS0.062
testFilterCommonsFileUpload0.031

MultipartRequestWrapperTest

testWillNotHideNewParametersAfterDoingForward0.013

ServletDispatchingFilterTest

testEscapeMetaCharacters0.011
testSupportsDefaultMapping0.016
testSupportsPathMapping0.014
testSupportsExtensionMapping0.011
testSupportsRegexMappings0.017
testShouldNotBypassWhenPathMappingMatches0.016
testShouldNotBypassWhenExactMappingMatches0.013
testShouldBypassWhenMappingDoesNotMatch0.014
testShouldBypassWhenMappingDoesNotMatchMAGNOLIA19840.01
testPathInfoShouldAdhereToServletSpec0.011
testPathInfoShouldStateWhateverIsAfterTheRegexMapping0.01
testWrapperRespectsForwards0.019

UnicodeNormalizationRequestWrapperTest

testWillNotBlockNewlyAddedParametersOnForward0.01

DefaultI18NContentSupportTest

testDetermineLocale0.012
testDetermineLocaleEndlessLoop0.011
testGetNodeDataEndlessLoop0.011

HierarchyBasedI18nContentSupportTest

testDetermineLocale0.016
testDetermineLocaleEndlessLoop0.015
testGetNodeDataEndlessLoop0.01

MessagesManagerTest

testGetsSimpleMessageFromDefaultBundle0.01
testGetsMessagesFromSpecifiedBundle0.001
testGetsMessagesFromSpecifiedBundleInPriorityEvenIfItExistsInDefaultBundle0.001
testFallsBackToDefaultLocaleIfCurrentLocaleDoesntSpecifyThisMessage0.001
testFallsBackToDefaultLocaleAlsoWithDefaultBundle0.001

AccessManagerImplTest

testGetPermissions0.001

RedirectClientCallbackTest

testExternalUrlsArePassedAsIs0.001
testRelativeURLsAreSupported0.001
testAbsoluteURLsArePrefixedWithContextPath0
testDoesNothingIfCurrentRequestURLIsTarget0.001
testTargetUrlIsFormattedWithEncodedRequestURL0
testRedirectWithParameters0.001

HierarchicalUserManagerTest

testParentPathIsRealmIfNameShorterThan3Chars0.001
testParentPathShouldReflectFirstLettersOfNameAndIncludeRealmName0
testParentPathShouldBeLowercased0.001

MgnlGroupTest

testGetRoles0.012
testGetRolesWithoutDuplicates0.007
testGetGroupsReturnsDirectGroups0.007
testGetGroupsReturnsDirectGroupsWithoutDuplicates0.007
testAddGroupToGroup0.009
testAddRoleToGroup0.008
testGetNotExistGroup0.007
testGetAllGroupsFromOneConcreteGroup0.007

MgnlUserManagerTest

testUsernameIsValidatedUponCreation0.001
testUsernameCantBeNull0
testUsernameCantBeEmpty0
testUsernameCantBeBlank0
testFindPrincipalNode0.013

MgnlUserTest

testGetGroupsReturnsDirectGroupsWithoutDuplicates0.007
testGetGroupsReturnsOnlyDirectGroups0.007
testGetAllGroupsReturnsDirectAndInheritedGroups0.007
testGetRolesReturnsDirectRoles0.006
testGetRolesReturnsDirectRolesWithoutDuplicates0.006
testGetAllRolesReturnsDirectAndInheritedRoles0.008

PermissionUtilTest

testConvertPermissions0.001
testFailsOnCustomPermissions0
testSuccessOnCustomPermissionAndNormalPermission0
testIsGrantedForEmptyPermissionString0

PrincipalUtilTest

testFindPrincipal0
testFindPrincipalInCollection0.001
testFindACLByName0
testRemovePrincipal0
testRemovePrincipalFromCollection0

RescueSecuritySupportTest

testUserManagerIsAnInstanceOfRescueUserManager0.02
testUserManagerRealmIsSystemRealm0.015
testUserManagerReturnsCorrectAnonymousUser0.016
testUserManagerReturnsEnabledRescueUser0.015
testUserManagerReturnsRescueUserWithEnglishAsDefaultLanguage0.014
testUserManagerReturnsCorrectSystemUser0.014
testUserManagerReturnsCorrectSystemUserByName0.013
testUserManagerReturnsAnonymousUserByAnyNameExcludedSystemUserName0.014
testUserManagerReturnsSystemUserWithCorrectRole0.013
testUserManagerReturnsSystemUserWithCorrectGroup0.016

SecurityTest

testMergePrincipals0.004

SecurityUtilTest

testCrypt0.474
testKeyStore0.063
testBCProvider0.112
testPasswordRemovingMethodFromCache0.001
testPasswordRemovingMethodFromURL0
testRemoveAllPasswordPamametersFromCacheLog0.001

BooleanUtilTest

testToBooleanKnowsItsBasicEnglishVocabulary0
testToBooleanHandlesNullsAndEmptyStringsGracefully0
testToBooleanUsesDefaultValueForUnknownValues0

ClasspathResourcesUtilTest

testSanitizeUrlToFile0.001
testOhWindoes0

ClassUtilTest

testIsSubClass0.001

ContentUtilRepoTest

testSessionBasedCopy0.603
testChangeNodeTypeReplaceFirstOccurrenceOnly0.562
testChangeNodeTypeReplaceAllOccurrences0.59
testMoveInSession0.541

ContentUtilTest

testVisitShouldPassFilterAlong0.009
testDeleteAndRemoveParentsIfAnOtherChild0.001
testDeleteAndRemoveParentsIfNoOtherChild0.001
testDeleteAndRemoveParentsWithLevel0
testOrderAfter0.001
testOrderAfterLastNode0.001
testOrderAfterLastNodeVariation10.001
testOrderAfterFirstNodeOnlyThree0.001
testOrderAfterFirstNodeMoreThanThreeVariation10.001
testOrderAfterFirstNodeMoreThanThreeVariation20.001
testOrderAfterMidNodeMoreThanThreeVariation10.001
testOrderAfterMidNodeMoreThanThreeVariation20.001
testOrderBeforeFirstNodeVariation10.001
testOrderBeforeFirstNodeVariation20.001
testOrderBeforeFirstNodeVariation30.001
testOrderBeforeFirstNodeVariation40.001
testOrderBeforeLastNodeVariation10.001
testOrderBeforeLastNodeVariation20.001
testOrderBeforeLastNodeVariation30.001
testOrderBeforeMidNodeVariation10.001
testOrderBeforeMidNodeVariation20.001
testOrderBeforeMidNodeVariation30.001
testGetAncestorOfTypeBasicCase0.001
testGetAncestorOfTypeReturnsSelfIfMatch0
testGetAncestorOfTypeThrowsExceptionIfNotFound0.001
testAsContent0.001
testAsContentReturnsNullIfNodeIsNull0.001

DateUtilTest

testCustomFormatShouldUseGivenLocale0.008

DelayedExecutorTest

testDelayedExecution0.123
testMultipleDelayedExecution0.157
testExecutionAfterMaxDelay0.404

ExceptionUtilTest

testUnwrapIfShouldThrowWrappedExceptionIfItMatchesThe2ndParameter0.001
testUnwrapIfShouldThrowWrappedExceptionIfItIsARuntimeExceptionEvenIfItDoesntMatch2ndParameter0
testUnwrapIfShouldThrowPassedExceptionIfItDoesNotMatchAndIsntARuntimeException0
testUnwrapIfWithCauseBeingNull0
testUnwrapIfWithUnwrapIfBeingNull0
canSneakilyRethrowGivenExceptions0
willThrowGivenRuntimeEvenIfNotExplicitlyAllowed0.001
whatHappensWithACheckedExceptionWeDontExplicitlyAllow0.001
exampleOfAbuse0.001
translatesSimpleExceptionNameProperly0
translatesSimpleExceptionWithMessage0
ignoresExceptionSuffixIfNotPresent0
wasCausedByReturnsTrueIfGivenExceptionMatches0
wasCausedByReturnsTrueIfCauseExceptionMatches0
wasCausedByReturnsTrueIfDeeperExceptionMatches0
wasCausedByReturnsFalseIfNoCauseInGivenException0
wasCausedByReturnsFalseIfNoCauseMatches0
wasCausedByReturnsTrueIfMatchIsASubClass0
wasCausedByReturnsFalseIfMatchIsAParentClass0

ExtendingContentWrapperTest

testExtendsNodeDatasIsHidden0.01
testThatNodeDatasAreMerged0.008
testThatNodeDatasCanBeOverriden0.015
testThatSubNodesAreMerged0.009
testThatSubNodesCanBeOverwritten0.008
testDeepMerge0.008
testThatOrderIsKeptWhileMergingSubNodes0.008
testBasicMultipleInheritance0.009
testComplextMultipleInheritance10.008
testComplextMultipleInheritance20.008
testComplextMultipleInheritanceWithOverride0.009
testExtendsNonAbsolutelyAndNodeIsNotExisting0.008
testExtendsWithEmptyValue0.008
testExtendsAbsolutelyAndNodeIsNotExisting0.008
testGetHandle0.011

InheritanceContentWrapperTest

testRoot0.001
testPropertyInheritance0.001
testNestedPropertyInheritance0.001
testSingleParagraphInheritance0
testNestedParagraphInheritance0.001
testCollectionInheritance0.002
testHasPropertyInheritance0
testHasNestedPropertyInheritance0.001

LazyContentWrapperTest

testClosedSessionResistance0.564
testWrappingNDParent0.563
testWrappingReferencedContent0.563

LazyNodeDataWrapperTest

testDoesNotCallHierarchyManagerUntilNeeded0.002
testCallHierarchyManagerOnlyFirstTime0.005
testWorkOnDeadSession0.006

ModuleConfigurationObservingManagerTest

testObserving6.025

NodeDataUtilTest

testCreateValueWithDouble0.002
testCreateValueWithDoubleFromString0.001
testCreateValueWithFloat0
testCreateValueWithInteger0
testCreateValueWithLong0
testCreateValueWithLongFromString0
testSetNodeDataWithDouble0.001
testSetNodeDataWithFloat0
testSetNodeDataWithInteger0
testSetNodeDataWithLong0

NodePathComparatorTest

testBasic0

NodeUuidComparatorTest

testBasic0

ObservationUtilTest

testFailRegisterWhenSessionInvalid0.009
testRegisterWhenSessionValid0.012
testDontFailUnregisterWhenSessionInvalid0.008
testUnregisterWhenSessionValid0.018

PathUtilTest

testCreatePath0.001
testCreatePathDoesNotSupportNullArgument0
testAddLeadingSlash0
testAddLeadingSlashDoesNotSupportNullArgument0
testGetFolder0
testGetFileName0
testGetFileNameDoesNotSupportNullArgument0
testGetExtension0
testStripExtension0

RequestDispatchUtilTest

testDispatchWithNullURI0.001
testDispatchRedirectInternal0
testDispatchRedirectNonInternal0
testDispatchRedirectNonInternalFailure0

RuleTest

testRuleStringConstructor0.543
testIsAllowedNode0.528
testIsNotAllowedNode0.566

SearchReplaceTest

testCaseInsensitive0.003
testCanUseNamePatterns0.002
testCanUseJokerInNamePatterns0.002
testDefaultsToLiteralMatching0.004

ServletUtilsTest

testServletInitParametersToMap0
testFilterInitParametersToMap0
testGetWrappedRequest0
testIsMultipart0
testIsForward0
testIsInclude0
testIsError0
testGetDispatcherType0
testGetOriginalRequestUri0
testGetOriginalRequestUrlIncludingQueryString0

SiblingsHelperTest

testCanTellPosition0.002
testCanTellIfFirstWhenInitializingWithFirst0.001
testCanTellIfFirstAfterNavigating0
testCanTellIfLastWhenInitializingWith0
testCanTellIfLastAfterNavigating0.001
testCanTellIfLastEvenIfThereAreOtherNodesOfAnotherType0.001
testFactoryMethodProperlyInstanciatesWithFirstChildOfParent0.001

SimpleUrlPatternTest

testDotDoPattern0.001
testNoWildcardsMatch0
testNoWildcardsNoMatch0
testStarMatch0
testStarNoMatch0
testStarMatch20
testStarNoMatch20
testStarMatch30
testStarNoMatch30
testStarMatch40
testStarNoMatch40
testQuestionMarkMatch0
testWildcardsMatch0
testWildcardsWithSpecialChars0
testWildcardsWithNewline0
testGroupMatch0.001
testEncodedMatch0
testWildcardsWithUrlContainingDots0

StringLengthComparatorTest

testBasic0

SystemContentWrapperTest

testClosedSessionResistance0.56
testWrappingNDParent0.554
testWrappingReferencedContent0.557

TextFileUtilTest

testGetLines0.001
testGetTrimmedLinesMatching0
testGetTrimmedLinesMatchingWhenExpressionIsNotContained0.001
testGetLinesWhenFileIsNotExisiting0

UnicodeNormalizerTest

testAsciiStringsShouldPassThroughWithAutoDetect0.001
testNFCStringIsStillEqualsAfterNormalizeCallWithAutoDetect0.011
testNormalizingNFDStringMakesItEqualsToNFCStringWithAutoDetect0.001
testNormalizationAlsoWorksForStringsThatWereOriginallyNotUTF8WithAutoDetect0.001
testICUNormalizer0.055
testNonNormalizer0.005
testJava6ReflectionNormalizer0.001

WebXmlUtilTest

testFilterDispatcherChecksShouldNotFailWithCorrectConfiguration0.084
testFilterDispatcherChecksShouldFailIfDispatcherNotSet0.001
testFilterDispatcherChecksShouldNotFailIfFilterNotRegistered0.001
testFilterDispatcherChecksShouldFailIfRequestIsMissing0.002
testFilterDispatcherChecksShouldFailIfIncludeIsMissing0.002
testFilterDispatcherErrorIsNotMandatory0.001
testFilterDispatcherOrderIsIrrelevant0.002
testCanDetectFilterRegistration0.002
testCanDetectServletRegistration0.004

WorkspaceXmlUtilTest

testWorkspaceNamesWithNonNullExpectation0.004
testWorkspaceNamesWithNullExpectation0.002

Content2BeanProxyTest

testContentToBeanWithClassDefined0.012

Content2BeanTest

testContentToBeanWithClassDefined0.009
testContentToBeanWithDefaultClass0.01
testContentToBeanWithSubBean0.012
testContentToBeanWithSubBeanAndAutoTypeResolving0.009
testContentToBeanWithSubMap0.012
testContentToBeanWithSubMapUsingMapping0.01
testContentToBeanWithSubMapUsingAdder0.012
testContentToBeanWithArraysUsingAdder0.014
testClassPropertiesAreConvertedProperly0.012
testJCRPropertiesTypes0.01
testFromStringConversion0.008
testFlatteningSubNodesToSimpleList0.011
testCanConvertStringsToTheAppropriateEnumEquivalent0.011
testCanSpecifySpecificMapImplementation0.011
testWillFailToUseACustomMapWhichIsNotConcrete0.011

AbstractRepositoryStrategyTest

testGetSession0.558

DefaultRepositoryStrategyTest

testGetUserCredentialsReturnsCredentialsFromContextUserIfSet0.55

MgnlContextTest

testCanDeclareCheckExceptionToBeThrownByDoInSystemContext0.001
testCanThrowRuntimeExceptionsWithoutSpecificThrowsClauseInDoInSystemContext0

RequestAttributeStrategyTest

testLocalAttributes0.001
testSessionAttributes0.002
testApplicationAttributes0.001

WebContextImplTest

testLoginLogout0.009

WriterResponseWrapperTest

testCantUseWriterAfterOutputStream0.002
testCantUseOutputStreamAfterWriter0

FreemarkerHelperTest

testWeCanUseAnyObjectTypeAsOurRoot0.137
testSimpleNodeReferenceOutputsItsName0.035
testSubNodesAreReachable0.005
testSubSubNode0.002
testCanReachParentWithBuiltIn0.001
testCanLoopThroughNodes0.003
testCanLoopThroughNodesNestedInBean0.001
testCanLoopThroughPropertiesUsingTheKeysBuiltIn0.003
testCanLoopThroughPropertiesUsingTheValuesBuiltIn0.001
testCanRenderMetaData0.006
testMetaDataIsOneOfTheChildrenRetrievedByTheChildrenBuiltIn0.002
testBooleanPropertiesAreHandledProperly0.001
testDatePropertiesAreHandledProperly0.002
testNumberProperties0.001
testReferenceProperties0.001
testRendereredWithCurrentLocale0.001
testMissingAndDefaultValueOperatorsActsAsIExceptThemTo0.002
testContextPathIsAddedWithWebContext0.011
testContextPathIsNotAddedWithNotWebContext0.002
testContextPathIsAlsoAvailableThroughMagnoliaContext0.003
testMagnoliaContextIsExposed0.003
testMagnoliaContextAttributesAreAvailableWithMapSyntax0.002
testEvalCanEvaluateDynamicNodeProperties0.001
testInterpretCanBeUsedForDynamicNodeProperties0.004
testEvalCanAlsoBeUsedForNestedExpressions0.001
testInterpretCanBeUsedEvenIfPropertyHasNoFreemarkerStuff0.001
testUuidLinksAreTransformedToRelativeLinksInWebContext0.005
testUuidLinksAreTransformedToAbsoluteLinksInWebContextWithoutAggregationState0.001
testUuidLinksAreTransformedToFullUrlLinksInNonWebContext0.001
testUserPropertiesAreAvailable0.002
testUserUnsupportedExceptionFallback0.002
testNodeNameCanBeRenderedImplicitly0.001
testNodeNameCanBeRenderedExplicitly0.001
testGivenLocaleTakesOverAnyContextLocale0.002
testSimpleI18NMessageCanBeUsedInTemplates0.003
testSimpleI18NMessageFallsBackToEnglishIfNotSpecifiedGivenLanguage0.002
testCanUseDotSyntaxToGetASimpleI18NMessage0.001
testCanUseBracketSyntaxToGetASimpleI18NMessage0.001
testMustUseMethodCallSyntaxToGetAParameterizedI18NMessage0.002
testSupportsI18NMessagesWithMultipleParameters0.002
testOutputsInterrogationMarksAroundI18NKeyIfUnknown0.003
testI18NMessageParametersCanComeFromData0.001
testCanPassBundleNameFromTemplateWithMethodCallSyntaxToGetSimple18NMessage0.002
testCanPassBundleNameFromTemplateWithMethodCallSyntaxToGetAParameterizedI18NMessage0.002
testCanPassBundleNameFromTemplateAndSupportsI18NMessagesWithMultipleParameters0.001
testCanUseSharedVariables0.006
testContextVariablesOverloadSharedVariables0.001
testCanAccessStaticMethodsOfSharedVariables0.002
testEnumMembersCanBeUsedInTemplates0.002
testEnumCanBeComparedWith0.019
testEnumCanBeListed0.001
testCanAccessEnumPropertiesOfVariables0.001
testUseCombinationOfPadSubStringAndTrimForSafeSubstring0.002

BinaryNodeDataModelTest

testCanBeUnwrappedByDeepUnWrap0.001

ContentModelTest

testCanBeUnwrappedByDeepUnWrap0

UserModelTest

testCanBeUnwrappedByDeepUnWrap0.001

BootstrapFilesComparatorTest

testXmlShouldBeBeforeProperties0.001
testZipAndGzShouldBeIgnoredInSortingXmlBeforeProperties0
testFilesAreOrderedByFileNameLength0

BootstrapUtilTest

testGetWorkspaceNameFromResource0
testGetPathnameFromResource0
testGetFullpathFromResource0.001
testGetFilenameFromResource0

DataTransporterRepositoryTest

testDoctypeImport0.552

DataTransporterTest

testParseAndFormat0.035
testRemoveNs0.002
testEncodePath0
testCreateExportPath0
testRevertExportPath0.001

MagnoliaV2FilterTest

testBogusMetaElement0.009

PropertiesImportExportTest

testConvertsToStringByDefault0
testConvertsToWrapperType0
testCanUseIntShortcutForConvertingIntegers0
testPropertiesExport0.004
testImportMetadata0.001

AbstractMagnoliaConfigurationPropertiesTest

testSimpleProperty0.001
testNestedProperty0
testNestedPropertyMoreLevels0.001
testNestedSomeMore0
testCircularProperty0.001
testSelfReferencingProperty0
testValuesAreTrimmed0
testValuesForNestedPropertiesAreTrimmed0
describeAndToStringAreNotRepeatingThemselves0.001

DefaultMagnoliaInitPathsTest

testDetermineRootPathJustWorks0.002
testDetermineRootPathStripsTrailingSlash0.001
testDetermineRootPathTranslatesBackslashes0
testDetermineRootPathTranslatesBackslashesAndStripsTrailingSlash0.001
testDetermineWebappFolderNameJustWorks0
testDetermineWebappFolderNameWorksWithTrailingSlashes0
testDetermineWebappFolderNameWorksWithBackslashes0.001
testDetermineWebappFolderNameWorksWithTrailingSlashesAndBackslashes0

DefaultMagnoliaPropertiesResolverTest

testDefaultLocations0.002
testLocationsAreTrimmed0
testSourcesOnlyIncludeExistingLocations0.002
testFileResolutionCtxAttributes0
testSystemPropertiesCanBeUsed0.001
testEnvironmentPropertiesCanBeUsed0
unexistingContextParamsAttributesAndPropertiesAreNotSubstituted0
testFileResolutionWithContextPath0.001
testFileResolutionWithRootContextPath0

ModulePropertiesSourceTest

testPropertiesCanBeOverriddenUsingDependencyOrderingOfModules0.001
testDifferentPropertiesCanRegisteredByDifferentModulesEllipsisDuh0

AbstractNodeOperationTest

testThen0.002

NodeBuilderTest

testExecWithSeveralChildOps0.006
testRealisticUsageScenario0.001

OpsTest

testAddNodeWithString0.001
testAddNodeWithTwoStrings0
testAddProperty0
testAddPropertyFailsIfPropertyExists0.001
testSetProperty0
testSetPropertyFailsIfItsNotExistingAlready0.001
testRenameProperty0

JCRPropertyHidingPredicateTest

testEvaluate0
testReturnsFalseOnException0.001

ContentMapTest

testGetBasicProps0.002
testGetOtherProps0

MetaDataUtilTest

testGetMetaData0
testUpdateMetaData0.001

NodeUtilRepositoryTest

testMoveNode0.612
testMoveNodeBefore0.562
testMoveNodeAfter0.569
testRenameNode0.565

NodeUtilTest

testCreatePath0
testHasMixin0
testHasMixinFailsWithEmptyMixin0.001
testUnwrap0
testOrderBeforeWithExistingNodeAndSibling0.001
testOrderBeforeWithNullSibling0
testOrderAfterWithExistingNodeAndSibling0
testOrderAfterWithNullSibling0
testOrderFirst0
testOrderLast0
testCreatePathDoesntCreateNewWhenExisting0
testVisit0.001
testPostVisit0
testGetNodes0
testGetNodeWithContentType0
testGetNodesWithNodeFilter0.001
testGetNameFromNode0
testGetNameFromNodeThrowsRuntimeRepositoryException0
testGetNodeByIdentifier0.001
testGetNodeByIdentifierMissingParam0
testGetNodeByIdentifierNoNodeFound0
testGetPathIfPossible0
testCollectAllChildren_DefaultPredicate_Simple0
testCollectAllChildren_DefaultPredicate_FilterType0.001
testCollectAllChildren_DefaultPredicate_FilterType_ThreeLevel0
testCollectAllChildren_SpecificPredicate_FilterType_ThreeLevel0
testGetAncestors_Level00.001
testGetAncestors_Level30
testAreSiblingsTrue0
testAreSiblingsFalse0

PropertiesImportExportTest

testConvertsToWrapperType0
testCanUseIntShortcutForConvertingIntegers0
testCreateNodes0
testCreateNodesFailingBecauseOfEqualsSignWithoutADot0
testCreateNodesFailingBecauseOfMissingTrailingSlash0
testCreateNodesFailingBecauseOfDotAndMonkeyTail0
testCreateNodesFailingBecauseOfDotInPath0.001

PropertyUtilTest

testOrderLast0
testSetPropertyThrowsExceptionOnNullNode0
testSetPropertyThrowsExceptionOnNullName0
testSetPropertyToString0
testSetPropertyToBigDecimal0
testSetPropertyToCalendar0
testSetPropertyToValue0
testSetPropertyToLong0
testSetPropertyToDouble0
testSetPropertyToBoolean0
testSetPropertyToNode0
testGetStringTwoArgs0
testGetStringThreeArgs0
testGetStringThreeArgsBadNodeName0.001
testGetStringThreeArgsBadNodeType0
testGetDateTwoArgs0
testGetDateThreeArgs0
testGetDetThreeArgsBadNodeName0
testGetDateThreeArgsBadNodeType0
testGetBoolean0
testGetBooleanBadNodeName0
testGetBooleanBadNodeType0
testGetProperty0
testGetPropertyPathNotFoundException0

SessionUtilTest

testHasSameUnderlyingSessionWithTwoWrappersOnSameSession0
testHasSameUnderlyingSessionWithOneWrapperOnDifferentSession0
testHasSameUnderlyingSessionWithTwoUnwrappedSessions0
testGetNode0
testGetNodeNoSessionPassed0
testGetNodeBadPath0

VersionUtilTest

testGetNodeTypeName0

ChannelVisibilitySessionWrapperTest

testGetProperty0.562
testGetNode0.541
testNodeExists0.54
testItemExists0.561
testPropertyExists0.549
testGetItem0.534
testCanRemoveVisibleItem0.545
testFailsToRemoveHiddenItem0.539
testMoveWorksOnVisibleNode0.542
testFailsToMoveHiddenNode0.538
testRootNodeHidesExcludedNode0.543
testNavigatingWithNodeParentStillHidesExcludedNode0.543

DelegateNodeWrapperTest

testDeepUnwrap0.001
test4LevelDeepUnwrap0
test4LevelDeepUnwrapAtLastLevel0

DelegateSessionWrapperTest

testUnwrap0

HTMLEscapingNodeWrapperTest

testPropertyIsWrappedAndEncoded0.007
testLineBreakEncoding0
testPropertyIteratorReturnsWrappedProperty0.001
testPropertyReturnedFromPropertyIsWrapped0
testNodeReturnedFromPropertyIsWrapped0

I18nNodeWrapperTest

testGetPropertyReturnsLocalizedValue0.011
testWrapNode0.008

InheritanceNodeWrapperTest

testRoot0.002
testPropertyInheritance0
testNestedPropertyInheritance0.001
testCollectionInheritance0.002
testSingleComponentInheritance0.001
testNestedComponentInheritance0.001

LinkUtilTest

testParsingLinks0.009
testParsingLinksWithBackslashInQueryParam0.008
testParsingLinksShouldNotTouchNonContentAbsoluteLinks0.008
testParsingLinksDoesNotTryToConvertExternalLinks0.008
testParsingLinksDoesNotTryToConvertPageAnchors0.008
testParsingLinksShouldPreserverParameters0.013
testParsingLinksShouldPreserveAnchors0.009
testUUIDToAbsoluteLinks0.008
testUUIDToInternalLinks0.008
testUUIDToRootLinks0.008
testUUIDToRelativeLinks0.008
testUUIDToAbsoluteLinkWithDollar0.008
testMakeUUIDFromAbsolutePath0.008
testMakingRelativeLinks0.007
testInternalRelativeLinksAreProperlyDetermined0.007
testExternalLinksAreProperlyDetermined0.008
testMakeAbsolutePathFromUUID0.008
testMakeCompleteURL0.008
testCreateUndefinedLinkIfUUIDIsNonExistentOrFallbackHandleIsEmpty0.011

UUIDLinkTest

testParseFromUUIDPattern0.007
testParseLink0.008
testParseFromBrowserLink0.008
testLinkWithAnchor0.008
testLinkWithParameters0.008
testUUIDToAbsoluteLinksAfterRenaming0.008
testUUIDToBinary0.008
testUUIDToBinaryAfterRenaming0.007

AuditLoggingManagerTest

testNoErrorIsThrownInCaseOfMissingLogConfiguration0

AuditLoggingUtilTest

testLogsLoginSuccesses0.001
testLogsLoginFailures0.001

AbstractModuleVersionHandlerTest

testCantRegisterMultipleDeltasForSameVersion0.004
testRetrievesTheAppropriateListOfDeltas0.001
testHasExtraDeltaIfVersionBeingInstalledIsNewerThanLatestRegisteredDelta0.001
testRetrievesTheAppropriateDeltaForIntermediateUnregisteredVersion0.001
testReturnsDefaultUpdateDeltaIfNoDeltaWasRegisteredForNewerVersion0.001
testReturnsEmptyListIfLatestDeltaWasRegisteredForCurrentVersion0.001
testReturnsEmptyListIfCurrentVersionIsInstalledVersion0.001
testReturnsDefaultUpdateDeltaIfNoDeltaWasRegisteredAtAll0.001
testDeltasAreSorted0.001
testVersionUpdateTaskAndFileExtractionAreAdded0.001
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatDoesNotHaveSpecificDeltaAndIsSnapshot0.001
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatDoesNotHaveSpecificDelta0
testStoresTheModuleDescriptorVersionOnUpdateOfVersionThatHasSpecificDelta0.001
testStoresTheModuleDescriptorVersionOnInstall0.001

AddFilterBypassTaskTest

testFilterBypassAddedProperly0.011

AddURIPermissionTaskTest

testGetPostPermissionAddedToRoleProperly0.012
testGetPermissionAddedToRoleProperly0.007
testDenyPermissionAddedToRoleProperly0.007

BackupTaskTest

testNodeExistsWithFullPathAtBackupPathAfterBackingUp0.007

BootstrapConditionallyTest

testExecutesDelegateTaskIfNodeExists0.004
testBootstrapsIfNodeDoesNotExist0.001

FilterOrderingTaskTest

testFailWhenFilterDoesntExist0.008
testOrderFilterAfter0
testOrderFilterAfterLast0.001
testDoesNothingIfRequiredFilterMissing0.001

IsAuthorInstanceDelegateTaskTest

testExecutesAuthorDelegateTaskWhenIsAuthor0.001
testExecutesPublicDelegateTaskWhenIsPublic0.001
testExecutesAuthorDelegateTaskWhenAdminPropertyDoesNotExist0.001
testExecutesAuthorDelegateTaskWhenAdminPropertyHasAMeaninglessValue0.001

ModuleBootstrapTaskTest

testShouldOnlyBootstrapFilesFromThisModule0.001

MoveAndRenamePropertyTaskTest

testPropertyWithOldDefaultValueGetsNewDefaultValue0.017
testPropertyWithDifferentValueIsMovedButNotChanged0.001
testValueIsCopiedNoMatterWhatIfOldDefaultNotPassed0.001
testNewDefaultIsUsedIfPropertyDidNotExist0
testNewDefaultIsUsedIfPropertyDidNotExistAndNodeDataReturnsEmptyValue0.001
testPropertyReplacedByOldValueIfNewAlreadyExists0.001

OrderFilterBeforeTaskTest

testFailWhenFilterDoesntExist0.002
testOrderFilterBefore0.001
testDoesNothingWhenRequiredFilterMissing0

PartialBootstrapTaskTest

testGetOutputResourceName0

PropertyValueDelegateTaskTest

testExecutesDelegateTaskIfPropertyExistsWithExpectedValue0.001
testExecutesOtherDelegateTaskIfPropertyExistsWithOtherValue0
testExecutesOtherDelegateTaskIfPropertyMustNotExistAndDoesNot0
testThrowsExceptionIfPropertyMustExistAndDoesNot0

PropertyValuesTaskTest

testExistingPropertyIsReplaced0
testNonExistingPropertyIsNotReplacedButLogged0.001
testPropertywithUnexpectedValueIsNotReplacedButLogged0
testExistingPropertyWithPartOfStringIsReplaced0
testPropertyThatNotContainPartOfStringIsNotReplacedButLogged0
testNonExistingPropertyIsNotReplacedButLogged20.001
testNonExistingPropertyAndExpectedAsSuchIsCreated0
testUnexpectedlyExistingPropertyIsNotReplacedAndLogged0

RegisterServletTaskTest

testRegisterServletTaskWithEmptyMappings0.556
testRegisterServletTaskWithMappings0.542

RemoveDuplicatePermissionTaskTest

testRemoveDuplicatePermission0.004
testRemoveDuplicatePermission20.003

RenameNodesTaskTest

testRenameACLNodesTask0.542

RenamePropertyAllModulesNodeTaskTest

testRenameWorksIfOldPropertyIsPresentAndNewNot0.003

TextFileConditionsUtilTest

testAddFalseConditionIfExpressionIsContained0.013
testAddFalseConditionIfExpressionIsNotContained0

WebXmlConditionsUtilTest

testDoesNotWarnIfErrorDispatcherIsUsed0.003
testBlocksIfRequestDispatcherIsMissing0.002
testBlocksIfIncludeDispatcherIsMissing0.002

WorkspaceXmlConditionsUtilTest

testParamAnalyzerIsNotAround0.009
testTextFilterClassesAreNotSet0.003
testAccessControlProviderIsSet0.001

MD5CheckingFileExtractorOperationTest

testAbsentFilesAreRecreated0.003

BetwixtModuleDefinitionReaderTest

testDisplayNameCanBeWrittenWithDashEventhoughThisIsDeprecated0.004
testDisplayNameShouldBeWrittenWithCapitalN0.003
testClassIsResolvedToClassNameAsAString0.003
testVersionHandlerIsResolvedToAClass0.003
testModuleVersionIsProperlyRead0.003
testDependenciesVersionAreProperlyRead0.005
testDependenciesCanBeSpecifiedWithoutVersion0.003
testInvalidXmlIsCheckedAgainstDTD0.004
testGivenDtdIsIgnoredAndCheckedAgainstOurs0.003
testReadCompleteDescriptorAndCheckAllPropertiesDamnYouBetwixt0.006
testSelf0
testReadModuleDescriptorWithComponents0.004

DependencyCheckerImplTest

testSimpleDependenciesAreResolvedAndChecked0
testDependenciesCanUseLowerBoundInfiniteRanges0
testDependenciesCanUseUpperBoundInfiniteRanges0
testDependenciesCanUseFiniteRanges0
testDependenciesShouldBeInvalidIfOutsideOfUpperBound0
testDependenciesShouldBeInvalidIfOutsideOfLowerBound0
testDependenciesShouldBeInvalidIfOutsideOfUpperBoundWithInfiniteLowerBound0
testDependenciesShouldBeInvalidIfOutsideOfLowerBoundWithInfiniteUpperBound0
testShouldFailWhenDependencyNotFound0
testOptionalDependenciesAreIndeedOptional0
testOptionalDependenciesStillHaveToMatchVersionRanges0
testModulesShouldBeSortedAccordingToDependencies0
testNonOptionalDependencyWithUnspecifiedVersionShouldBeTakenIntoAccount0
testOptionalDependencyWithUnspecifiedVersionShouldBeTakenIntoAccount0
testBlowupExplicitelyInCaseOfSelfDependency0
testCyclicDependenciesBlowupWithAClearExceptionMessage0
testCoreIsAlwaysSortedFirst0
testWebappIsAlwaysSortedLast0.001

DependencyLevelComparatorTest

testCalcDependencyLevelWithNonOptionalDependencies0
testCalcDependencyLevelIgnoresUnregisteredOptionalDependencies0
testCalcDependencyLevelDoesNotIgnoreRegisteredOptionalDependencies0
testCanHandleOnlyOptionalAndMissingDependencies0
testCalcDependencyLevelWithNoDependencies0

VersionComparatorTest

testBasic0
testClassifiersAreIgnored0

VersionRangeTest

testBasicRangeParsing0
testInputIsTrimmedAndSeparatorCanBeSurroundBySpaces0
testClassifiersAreAccepted0
testFromAndToCanBeSame0
testClassifiersAreAcceptedEvenIfFromAndToAreSame0
testFromCanNotBeAfterTo0
testFromCanNotBeAfterToAndClassifiersAreStillIgnored0
testSingleVersionCanBeSpecified0
testFromCanBeWildcard0
testToCanBeWildcard0
testToAndFromCanBeWildcards0
testSingleVersionCanBeWildcard0
testNullIsConsideredAsWildcard0
testChecksIfAVersionIsInRange0
testChecksIfAVersionIsInRangeWithFromWildcard0
testChecksIfAVersionIsInRangeWithToWildcard0
testSingleVersionRangeShouldContainItSelf0

VersionTest

testShouldSupportSingleDigitVersions0
testShouldSupportTwoDigitVersions0
testShouldSupportThreeDigitVersions0
testShouldSupportAlphanumericClassifiers0
testShouldSupportUnderscoresAndDashesInClassifiersToo0
testShouldRejectInvalidCharsInClassifiers0
testShouldSupportClassifierIndependentlyOfTheVersionNumberPrecision0
testShouldTrimInput0.001
testShouldRejectInvalidInput0
test3and300shouldBeEquivalent0
testClassifiersShouldBeIgnoredInEquivalenceComparison0
testStrictlyAfter0.001
testStrictlyAfterShouldIgnoreClassifiers0
testBeforeOrEqu0
testBeforeOrEquShouldIgnoreClassifiers0
testUndefinedDeveloperVersion0

ModuleInstanceProviderTest

testThrowsExceptionWhenModuleInstanceIsNotAvailable0.217
testProvidesTheSameInstanceAsReturnedFromModuleRegistry0.01

ModuleLifecycleContextImplTest

testCantRegisterAComponentIfNodeNameIsAlreadyForAnotherComponent0
testStartRegistersAllObserversWithAllModules0

ModuleManagementStateTest

testDescriptionForUpdatesOnly0.001
testDescriptionForInstallsOnly0
testDescriptionForInstallsAndUpdates0

ModuleManagerImplTest

testCheckModuleAndDeltasToStringForUpdate0
testCheckModuleAndDeltasToStringForInstall0.001
testUpdateAppliesSuppliedDeltasAndTasks0.025
testTaskExecutionExceptionInterruptsTasksAddsExplicitErrorMessage0.005
testFailedConditionsPreventsFurtherModulesToBeInstalledOrUpdated0.005
testPerformCantBeCalledTwiceByDifferentThreads0.803

ModuleRegistryImplTest

testCanGetModuleByClass0
testGetModuleByClassThrowExceptionIfMultipleModulesRegisteredWithSameClass0.001
testGetModuleByClassThrowExceptionIfNoModulesRegisteredWithGivenClass0
testCanGetModuleByNameIfMultipleModulesRegisteredWithSameClass0
testThrowsExceptionForUnregisteredModuleName0.001
testCanCheckIfAModuleExists0
testModuleDefinitionsAreListedInDependencyOrder0.001

ModuleManagerWebUITest

testModuleManagementExceptionsArePropagatedEvenThoughTheUpdateIsRunningInASeparateThread1.002
testListTasksTemplate0.043
testDoneTemplate0.021
testRestartNeededTemplate0.013

AbstractNodeOperationTest

testThatSubsequentCallsToTheThenMethodAdd0.002

ContentOpsTest

testCreateContent0
testCreatePage0.001
testCreateCollectionNode0
testCreateParagraph0
testSetBinaryNodeData0.001
testSetTemplate0

NodeBuilderTest

testContextNodeIsProperlyPropagated0.566
testErrorMessages0.575
testPropertyNotReplaceIfCurrentValueDoesNotMatchExpectations0.55

OpsTest

testAddPropertyFailsIfPropertyExists0.536
testSetPropertyFailsIfPropertyDoesNotExist0.542
testSetPropertyFailsIfPropertyDoesNotHaveExpectedValue0.548
testRemoveFailsOnUnexistingPropertyOrNode0.546
testRenamePropertyAndCheckValueForString0.545

ModuleConfigNodeBuilderTaskTest

testModuleConfigNodeIsCreatedIfNeeded0.54
testModuleNodeIsCreatedIfNeeded0.549
testUsesExistingModuleConfigNode0.55

ModuleNodeBuilderTaskTest

testModuleNodeIsCreatedIfNeeded0.545
testUsesExistingModuleNode0.541

NodeBuilderTaskTest

testUnknownRootThrowsException0.541
testSyntax0.549

ClassesTest

testDefaultClassFactoryWorksJustFine0.006
testCanSetupADifferentClassFactory0.004

ComponentConfigurationReaderTest

testCanReadPlatformComponentsFile0.005

ComponentProviderConfigurationBuilderTest

testNonScopedComponent0.042
testLazySingletonScopedComponent0.01
testEagerSingletonScopedComponent0.008
testProvider0.018
testSingletonScopedProvider0.008
testComponentFactory0.009
testSingletonScopedComponentFactory0.008
testConfigured0.01
testConfiguredSingleton0.009
testConfiguredEagerSingleton0.009
testObserved0.013

LegacyComponentsConfigurerTest

testLegacy0.009

DefaultClassFactoryTest

testCanInstantiateWithEmptyConstructor0
testCanInstantiateWithAppropriateConstructor0
testCanInstantiateWithAppropriateConstructorAndNullParamsWhenSignatureIsSpecified0.001
testCanInstantiateWithBestMatchingConstructorWhenTheSignatureIsMorePrecise0
testCanInstantiateWithSingleArgConstructorAndNullParamWhenSignatureIspecified0

DefaultComponentProviderTest

testReturnsGivenConcreteClassIfNoneConfigured0.002
testBlowsIfGivenInterfaceAndNoImplementationIsConfigured0.001
testReturnsConfiguredImplementation0
testGetSingletonReturnsSameInstance0.001
testNewInstanceReallyReturnsNewInstance0
testUsesComponentFactoryIfSuchFactoryIsConfigured0.001
testSingletonDefinedInRepositoryDefaultToConfigWorkspace0.004
testSingletonDefinedInRepositoryUsesGivenRepoName0.001
testProxiesReturnedByObserverComponentFactoryCanBeCastToTheirSubclass0.004

GuiceComponentProviderBuilderTest

testBuildWithComponentConfigurers0.004

GuiceComponentProviderTest

testConfigured0.008
testObserved0.009
testGetComponentProvider0.003
getComponentThrowsExeptionForUnconfiguredType0.003
testInstance0.003
testImplementation0.005
testConfiguredInSingletonScope0.007
testObservedInRequestScope0.008
testCreateChild0.013
canAccessProperties0.022

GuiceScopesTest

testContextProvidersWhenContextSet0.005
testContextProvidersWhenWebContextSet0.005
testServletProvidersWhenWebContextSet0.007
testServletProvidersFailWhenWebContextNotSet0.003
testRequestScope0.006
testRequestScopeFailsWhenNotInWebContext0.002
testSessionScope0.005
testSessionScopeFailsWhenNotInWebContext0.004

ObjectFactoryTest

testSettingSystemPropertyIntoDefaultComponentStillAllowsToSwapImplementationsLater0

ObjectManufacturerTest

testParameterFromGuice0.001
testCandidateTakesPrecedence0
testFailsWhenNoParameterCanBeResolved0.001
testParameterFromGuiceWithGreedyConstructor0.001
testCandidateTakesPrecedenceWithGreedyConstructor0.001
testIgnoresPrivateConstructor0.001
testFailesOnMultipleAnnotatedConstructors0
testFailWhenConstructorThrowsException0
testFfailsWhenNoPublicConstructorAvailable0
testCanGetProviderFromCandidate0.002
testCanGetProviderFromGuice0.001

ObservedComponentFactoryTest

testReturnsAProxyToGivenTypeIfConcreteClassEvenIfPathDoesNotExistYet0.003
testProxyIsSwappedOncePathGetsReloaded0.002

RegistryMapTest

testReturnsAddedValues0
testReturnsNullWhenValueMissing0
testThrowsExceptionWhenRequiredAndMissing0
testUsesKeyFromValueWhenAdding0

RepositoryMappingDefinitionReaderTest

testParse0.002

CoreModuleVersionHandlerTest

testPngSwfMimeTypesOnInstall2.897
testMP4MimeTypesOnInstall2.31
test446MimeTypesOnInstall2.08
test45DoesNotInstallWhenFromSmallerThan4460.557
testUpgradeFrom4460.751

RenameACLNodesTaskTest

testRenameACLNodesTask0.529

UpdateSecurityFilterClientCallbacksConfigurationTest

rearrangementOfBasicDefaultConfig0.665
rearrangementOfSTKsDefaultConfig0.546
simpleCustomCallbackMovedAndBackedUpWithWarning0.55
nonStandardCompositeConfigIsBackedUp0.552

HashUsersPasswordsTest

testEncryption0.834

ComponentsTestUtilTest

testConfiguredImplementation0
testSetSingletonInstance0.001
testInstanceFactory0

Content2NodeCollectionWrapperTest

testRemoveAll0
testRetainAll0

MockItemTest

testGetDepth0
testGetPath0

MockNodeTest

testGetPath0
testConstructionFromNamePropertiesAndChildren0
testAddNodeWithParamFakeJCRNode0
testAddNodeWithParamString0
testAddNodeWithParamStringString0
testGetNodeWithExistingPath0
testAddNodeWithRelPath0
testAddNodeThrowsPathNotFoundExWhenIntermediaryNodeIsNotExisting0
testGetNodeWithFalsePath0
testHasNode0
testHasNodes0
testGetNodesWithNamePattern0
testHasProperties0
testGetPropertyWithRelPath0
testGetPropertyWithRelPathBeeingAName0
testGetProperties0
testGetPropertiesWithNamePattern0
testGetPathReturnsSlashOnRoot0
testGetPathWorksWithoutRootSet0
testGetNameReturnsEmptyStringForRoot0
testSetPropertyWithStringAndBoolean0.001
testSetPropertyWithStringAndValue0
testChildNodesAndPropertiesGetProperSession0
testGetAncestor0
testGetAncestorWithNegativeDepth0
testGetAncestorWithToBigDepth0
testGetMixingNodeTypes0
testOrderBeforeWithBothNamesValid0
testOrderBeforeWithNullBeforeName0.001
testAccept0.003
setsIdentifierOnConstruction0.001
testSetReferenceProperty0
testConstructionFailsWhenNameContainsSlash0

MockObservationManagerTest

canAddRemoveAndSeeAddedListeners0.001
willRefuseToFilterOnUuid0
willRefuseToFilterLocalChanges0
canFilterOnNodeType0
canFilterOnPath0
setsUserDataInEvent0

MockPropertyTest

testAccept0
testIsMultiple0
testIsNode0
testGetSetValueWithBigDecimal0.001
testGetString0
testGetType0
testGetValue0

MockSessionTest

testGetNodeByIdentifier0
testGetItem0
testConstructionProperlyWiresWorkspaceToSession0
testConstructionProperlyWiresSessionToRoot0
testGetNodeFromStringe0
testGetPropertyFromString0
testNodeExistsFromString0
testGetItemOnNonAbsolutePathFails0
testGetItemOnNonExistingPathFails0.001

MockValueTest

testGetBoolean0
testGetType0
testConstructionWithProvidedType0
testGetBinary0
testGetBinaryWithWrongValueType0
testGetBooleanmWithWrongValueType0
testGetDate0
testGetDateWithWrongValueType0.001
testGetDecimal0
testGetDecimalWithWrongValueType0
testGetDouble0
testGetDoubleWithWrongValueType0
testGetLength0
testGetLongWithLong0
testGetLongWithWrongValueType0
testGetStream0.001
testGetStreamWithWrongValueType0
testGetStringWithString0
testGetStringWithNonString0

NodeTestUtilTest

testNodeFromStringAndStrings0
testNodeFromStringAndObjectArray0
testCreateValues0

SessionTestUtilTest

testCreateSessionFromString0
testCreateSessionWithStringVarargs0
testMockSessionSetsProperWorkspaceName0.001

MockAccessManagerTest

testThatWeHaveAllPermissions0

MockComponentProviderTest

testThrowsExceptionWhenCreatingAStringInstance0.001
testThrowsExceptionWhenEncounteringConstructorTakingStringArgument0

MockContentTest

testNameFilteringWorksForBothBinaryAndNonBinaryProperties0.002
testStringPropertiesCanBeRetrievedByStreamAndViceVersa0
testGetHandle0
testGetAncestor0.001
testOrderBefore0
testOrderBefore20.001
testOrderBeforeFirstNode0
testCanDeleteAProperty0.001
testGetHandleOnRoot0
testGetName0
testGetNameOnRoot0
testSetNodeDataReferencingOtherContent0

MockHierarchyManagerTest

testThatIsGrantedMethodDoesntProduceNullPointer0

MockNodeDataTest

testSetValueWithParamValue0
testCanGetHandle0
testCanDeleteSelf0

MockObjectTest

testRootNodeOfHierarchyManger0
testCreatingANode0
testCreatingASubNode0
testGetANodeAddedToASubNode0.001
testSetABooleanValueOnANodeData0
testSetAnObjectAndResolvePropertyType0
testDeletingReallyWorks0

MockUtilTest

testSyntax0.001
testReadingNodes0.001
testReadingBoolean0.001
testGettingByUUID0.001
testMetaData0.001
testNodesCanBeCreatedWithoutProperties0.001

NodeData2PropertyCollectionWrapperTest

testRemoveAll0
testRetainAll0

SelfTest

testJackrabbitUnregistersProperly0.13
testCommandIsSetCorrectlyFromPrototype0.004

Utf8ContentTest

testReadingUtf8AccentedChars0.557
testReadingUtf8Greek0.548
testReadingUtf8Russian0.531
testReadingUtf8SpecialChars0.548
testReadingUtf8JapaneseChars0.536
testCreateExportImportContentUtf8SpecialChars0.531
testSettingAnUtf8NodeData0.54
testSettingNewUtf8ContentNode0.546

BasePatternVoterTest

testInitWithoutPattern0

IfVoterTest

testReturnsValueOfElseIfConditionIsTrue0
testReturnsValueOfOtherwiseIfConditionIsFalse0
testReturns0IfConditionIsFalseAndOtherwiseIsntSet0

ResponseContentTypeVoterTest

testVotesTrueIfNoAllowedNorRejectedIsConfigured0
testVotesTrueIfContentTypeIsAllowed0.001
testVotesFalseIfContentTypeIsNotInAllowedList0
testVotesFalseIfContentTypeIsExplicitelyRejected0.001
testVotesTrueIfContentTypeIsNotRejected0
testVotesTrueIfContentTypeIsAllowedAndNotRejected0.001
testVotesFalseIfContentTypeIsNotExplicitelyAllowedAndExplicitelyRejected0
testVotesFalseIfContentTypeIsNotExplicitelyAllowedAndNotExplicitelyRejectedEither0.001
testVotesFalseIfResponseDoesNotHaveAContentTypeSetYet0
testVotesFalseIfResponseDoesNotHaveAContentTypeSetYetEvenIfNoRejectedAreConfigured0.001
testVotesFalseIfResponseDoesNotHaveAContentTypeSetYetEvenIfNoAllowedAreConfigured0
testIgnoresCharsetInContentType0.001
testIgnoresCharsetInContentType20

URIPatternVoterTest

testVotesTrueOnMatchingWildcardPattern0
testVotesFalseOnNonMatchingWildcardPattern0
testVotesFalseWhenNoPatternSet0

URIStartsWithVoterTest

testBasics0
testNotVoter0
testInverseVoter0

Failure Details

[Summary] [Package List] [Test Cases]


testUnknownRepositoryShouldAlsoYieldMeaningfulExceptionMessageForRepositoryProviders
skipped: skipped
info.magnolia.objectfactory.guice.GuiceComponentProviderLifecycleTest
skipped: skipped
testUnknownRepositoryShouldYieldMeaningfulExceptionMessage
skipped: skipped