magnolia-core Version: 4.5-beta7 Last Published: Feb 23, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
103900599.519%83.595

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.813
info.magnolia.utf88000100%4.31
info.magnolia.registry4000100%0.001
info.magnolia.importexport18000100%0.612
info.magnolia.objectfactory.configuration13000100%0.269
info.magnolia.logging3000100%0.003
info.magnolia.context10000100%1.111
info.magnolia.module34000100%1.045
info.magnolia.objectfactory30000100%0.048
info.magnolia.module.delta44000100%1.781
info.magnolia.freemarker53000100%0.266
info.magnolia.cms.security47000100%0.871
info.magnolia.freemarker.models3000100%0.003
info.magnolia.init24000100%0.021
info.magnolia.module.model.reader35000100%0.062
info.magnolia.cms.filters33000100%0.543
info.magnolia.module.model35000100%0.008
info.magnolia.module.files1000100%0.003
info.magnolia.content2bean16000100%0.166
info.magnolia.beanmerger7000100%0.344
info.magnolia.jcr.wrapper29000100%6.625
info.magnolia.voting.voters20000100%0.01
info.magnolia.cms.security.auth.callback6000100%0.006
info.magnolia.cms.core.version7000100%2.744
info.magnolia.test.mock36000100%0.023
info.magnolia.cms.util180000100%13.798
info.magnolia.link27000100%0.229
info.magnolia.cms.core.search2000100%1.337
info.magnolia.objectfactory.guice2100385.714%0.191
info.magnolia.cms.core57000100%24.774
info.magnolia.test5000100%0.129
info.magnolia.repository10010%0
info.magnolia.nodebuilder15000100%4.376
info.magnolia.module.ui4000100%1.066
info.magnolia.jcr.predicate2000100%0.001
info.magnolia.cms.beans.config1400192.857%0.271
info.magnolia.importexport.filters1000100%0.009
info.magnolia.init.properties2000100%0.001
info.magnolia.jcr.util70000100%0.045
info.magnolia.setup6000100%9.667
info.magnolia.repository.definition1000100%0.002
info.magnolia.test.mock.jcr82000100%0.024
info.magnolia.nodebuilder.task7000100%3.868
info.magnolia.jcr.nodebuilder10000100%0.013
info.magnolia.cms.i18n11000100%0.106

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.559
UpdateSecurityFilterClientCallbacksConfigurationTest4000100%2.254

info.magnolia.utf8

ClassTestsErrors FailuresSkippedSuccess RateTime
Utf8ContentTest8000100%4.31

info.magnolia.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
RegistryMapTest4000100%0.001

info.magnolia.importexport

ClassTestsErrors FailuresSkippedSuccess RateTime
BootstrapFilesComparatorTest3000100%0.001
BootstrapUtilTest4000100%0.002
DataTransporterRepositoryTest1000100%0.547
DataTransporterTest5000100%0.055
PropertiesImportExportTest5000100%0.007

info.magnolia.objectfactory.configuration

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

info.magnolia.logging

ClassTestsErrors FailuresSkippedSuccess RateTime
AuditLoggingManagerTest1000100%0.001
AuditLoggingUtilTest2000100%0.002

info.magnolia.context

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRepositoryStrategyTest1000100%0.557
DefaultRepositoryStrategyTest1000100%0.531
MgnlContextTest2000100%0.002
RequestAttributeStrategyTest3000100%0.005
WebContextImplTest1000100%0.014
WriterResponseWrapperTest2000100%0.002

info.magnolia.module

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractModuleVersionHandlerTest14000100%0.017
ModuleInstanceProviderTest2000100%0.18
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.001
ObjectManufacturerTest11000100%0.014
ObservedComponentFactoryTest2000100%0.006

info.magnolia.module.delta

ClassTestsErrors FailuresSkippedSuccess RateTime
AddFilterBypassTaskTest1000100%0.015
AddURIPermissionTaskTest3000100%0.026
BackupTaskTest1000100%0.008
BootstrapConditionallyTest2000100%0.005
FilterOrderingTaskTest4000100%0.01
IsAuthorInstanceDelegateTaskTest4000100%0.004
ModuleBootstrapTaskTest1000100%0.001
MoveAndRenamePropertyTaskTest6000100%0.02
OrderFilterBeforeTaskTest3000100%0.004
PartialBootstrapTaskTest1000100%0.001
PropertyValueDelegateTaskTest4000100%0.004
PropertyValuesTaskTest5000100%0.003
RegisterServletTaskTest2000100%1.111
RemoveDuplicatePermissionTaskTest2000100%0.007
RenameNodesTaskTest1000100%0.551
RenamePropertyAllModulesNodeTaskTest1000100%0.003
WebXmlConditionsUtilTest3000100%0.008

info.magnolia.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
FreemarkerHelperTest53000100%0.266

info.magnolia.cms.security

ClassTestsErrors FailuresSkippedSuccess RateTime
AccessManagerImplTest1000100%0.002
HierarchicalUserManagerTest3000100%0.003
MgnlGroupTest7000100%0.053
MgnlUserManagerTest5000100%0.014
MgnlUserTest6000100%0.041
PermissionUtilTest4000100%0.001
PrincipalUtilTest5000100%0.002
RescueSecuritySupportTest10000100%0.147
SecurityTest1000100%0.006
SecurityUtilTest5000100%0.602

info.magnolia.freemarker.models

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

info.magnolia.init

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractMagnoliaConfigurationPropertiesTest9000100%0.007
DefaultMagnoliaInitPathsTest8000100%0.007
DefaultMagnoliaPropertiesResolverTest7000100%0.007

info.magnolia.module.model.reader

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

info.magnolia.cms.filters

ClassTestsErrors FailuresSkippedSuccess RateTime
CompositeFilterTest1000100%0.018
ContentTypeFilterTest1000100%0.031
FilterTest3000100%0.137
InstallFilterTest3000100%0.05
InterceptFilterTest6000100%0.023
MultiChannelFilterTest3000100%0.008
MultipartRequestFilterTest2000100%0.088
MultipartRequestWrapperTest1000100%0.014
ServletDispatchingFilterTest12000100%0.164
UnicodeNormalizationRequestWrapperTest1000100%0.01

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.003

info.magnolia.content2bean

ClassTestsErrors FailuresSkippedSuccess RateTime
Content2BeanProxyTest1000100%0.011
Content2BeanTest15000100%0.155

info.magnolia.beanmerger

ClassTestsErrors FailuresSkippedSuccess RateTime
BeanMergerUtilTest1000100%0.264
ProxyBasedBeanMergerTest6000100%0.08

info.magnolia.jcr.wrapper

ClassTestsErrors FailuresSkippedSuccess RateTime
ChannelVisibilitySessionWrapperTest12000100%6.587
DelegateNodeWrapperTest3000100%0.001
DelegateSessionWrapperTest1000100%0.001
HTMLEscapingNodeWrapperTest5000100%0.009
I18nNodeWrapperTest2000100%0.019
InheritanceNodeWrapperTest6000100%0.008

info.magnolia.voting.voters

ClassTestsErrors FailuresSkippedSuccess RateTime
BasePatternVoterTest1000100%0
IfVoterTest3000100%0.001
ResponseContentTypeVoterTest13000100%0.008
URIStartsWithVoterTest3000100%0.001

info.magnolia.cms.security.auth.callback

ClassTestsErrors FailuresSkippedSuccess RateTime
RedirectClientCallbackTest6000100%0.006

info.magnolia.cms.core.version

ClassTestsErrors FailuresSkippedSuccess RateTime
BaseVersionManagerTest3000100%0.797
ContentVersionTest4000100%1.947

info.magnolia.test.mock

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

info.magnolia.cms.util

ClassTestsErrors FailuresSkippedSuccess RateTime
BooleanUtilTest3000100%0.002
ClasspathResourcesUtilTest2000100%0.001
ClassUtilTest1000100%0.001
ContentUtilRepoTest3000100%1.729
ContentUtilTest27000100%0.031
DateUtilTest1000100%0.008
DelayedExecutorTest3000100%0.684
ExceptionUtilTest19000100%0.006
ExtendingContentWrapperTest15000100%0.132
InheritanceContentWrapperTest8000100%0.008
LazyContentWrapperTest3000100%1.663
LazyNodeDataWrapperTest3000100%0.025
ModuleConfigurationObservingManagerTest1000100%6.028
NodeDataUtilTest10000100%0.004
NodePathComparatorTest1000100%0.001
NodeUuidComparatorTest1000100%0
ObservationUtilTest4000100%0.046
PathUtilTest9000100%0.003
RequestDispatchUtilTest4000100%0.003
RuleTest3000100%1.632
SearchReplaceTest4000100%0.012
ServletUtilsTest10000100%0.002
SiblingsHelperTest7000100%0.007
SimpleUrlPatternTest18000100%0.004
StringLengthComparatorTest1000100%0.001
SystemContentWrapperTest3000100%1.636
UnicodeNormalizerTest7000100%0.063
WebXmlUtilTest9000100%0.066

info.magnolia.link

ClassTestsErrors FailuresSkippedSuccess RateTime
LinkUtilTest19000100%0.163
UUIDLinkTest8000100%0.066

info.magnolia.cms.core.search

ClassTestsErrors FailuresSkippedSuccess RateTime
QueryTest2000100%1.337

info.magnolia.objectfactory.guice

ClassTestsErrors FailuresSkippedSuccess RateTime
GuiceComponentProviderLifecycleTest10010%0
GuiceComponentProviderTest1200283.333%0.128
GuiceScopesTest8000100%0.063

info.magnolia.cms.core

ClassTestsErrors FailuresSkippedSuccess RateTime
AggregationStateTest3000100%0.004
BinaryNodeDataTest3000100%0.062
DefaultContentTest23000100%17.586
MetaDataTest13000100%0.029
NodeTest12000100%7.092
PathTest3000100%0.001

info.magnolia.test

ClassTestsErrors FailuresSkippedSuccess RateTime
ComponentsTestUtilTest3000100%0.003
SelfTest2000100%0.126

info.magnolia.repository

ClassTestsErrors FailuresSkippedSuccess RateTime
WorkspaceMappingTest10010%0

info.magnolia.nodebuilder

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractNodeOperationTest1000100%0.002
ContentOpsTest6000100%0.003
NodeBuilderTest3000100%1.679
OpsTest5000100%2.692

info.magnolia.module.ui

ClassTestsErrors FailuresSkippedSuccess RateTime
ModuleManagerWebUITest4000100%1.066

info.magnolia.jcr.predicate

ClassTestsErrors FailuresSkippedSuccess RateTime
JCRPropertyHidingPredicateTest2000100%0.001

info.magnolia.cms.beans.config

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentRepositoryTest10010%0.002
RegexpVirtualURIMappingTest11000100%0.016
URI2RepositoryMappingTest2000100%0.253

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
NodeUtilTest28000100%0.03
PropertiesImportExportTest7000100%0.004
PropertyUtilTest24000100%0.005
SessionUtilTest6000100%0.001
VersionUtilTest1000100%0.001

info.magnolia.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
CoreModuleVersionHandlerTest5000100%8.825
HashUsersPasswordsTest1000100%0.842

info.magnolia.repository.definition

ClassTestsErrors FailuresSkippedSuccess RateTime
RepositoryMappingDefinitionReaderTest1000100%0.002

info.magnolia.test.mock.jcr

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

info.magnolia.nodebuilder.task

ClassTestsErrors FailuresSkippedSuccess RateTime
ModuleConfigNodeBuilderTaskTest3000100%1.646
ModuleNodeBuilderTaskTest2000100%1.099
NodeBuilderTaskTest2000100%1.123

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.057
MessagesManagerTest5000100%0.014

Test Cases

[Summary] [Package List] [Test Cases]

BeanMergerUtilTest

testBeanMergerUtilProperlyHandsOverProvidedObjects0.231

ProxyBasedBeanMergerTest

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

RegexpVirtualURIMappingTest

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

URI2RepositoryMappingTest

testGetUri0.222
testGetHandleStripsExtensionInclTheDot0.03

AggregationStateTest

testUriDecodingShouldStripCtxPath0.002
testUriDecodingShouldReturnPassedURIDoesntContainCtxPath0.001
testGetSelectors0.001

BinaryNodeDataTest

testThatAttributesAreSetOnTheWrappedNode0.056
testThatTheBinaryContentCanBeReadMultipleTimes0.005
testThatStreamIsSetOnTheWrappedNode0

DefaultContentTest

testAddMixin3.289
testReadingANodeData1.125
testThatReadingANonExistingNodeDataDoesNotFail0.733
testSettingAnExistingNodeData0.688
testSettingANonExistingNodeDataCreatesANewNodeData0.68
testCreatingAnEmptyNodeData0.647
testCreatingAnEmptyNodeDataSetsADefaultValueIfPossible0.632
testCreatingAndSettingANodeData0.632
testCreatingAndSettingABooleanNodeData0.628
testCreatingAnExistingNodeDataDoesNotFail0.61
testCreatingAndReadingABinaryNodeData0.612
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeData0.601
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeDataWhichIsUnmutable0.601
testIsNodeTypeForNodeChecksPrimaryType0.641
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.585
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType0.586
testNameFilteringWorksForBothBinaryAndNonBinaryProperties0.638
testStringPropertiesCanBeRetrievedByStreamAndViceVersa0.59
testModDate0.611
testDelete0.682
testEquals0.621
testEqualsWithNull0.575
testEqualsWithWrongType0.573

MetaDataTest

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

NodeTest

testAddMixin0.583
testReadingANodeData0.574
testSettingAnExistingNodeData0.575
testSettingANonExistingNodeDataCreatesANewNodeData0.576
testCreatingAndSettingANodeData0.827
testCreatingAnExistingNodeDataDoesNotFail0.587
testIsNodeTypeForNodeChecksPrimaryType0.548
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.553
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType0.558
testNameFilteringWorksForBothBinaryAndNonBinaryProperties0.59
testStringPropertiesCanBeRetrievedByStreamAndViceVersa0.558
testThatReadingANonExistingNodeDataFail0.56

PathTest

testIsAbsolute0
testIsCharValid0
testGetValidatedLabel0

QueryTest

testSimpleQuery0.726
testMaxResultSize0.61

BaseVersionManagerTest

testCreateAndRestoreVersion0.615
testCreateAndRestoreDeletedVersion0.082
testNumberOfCreatedVersions0.098

ContentVersionTest

testBasics0.133
testRetrievingBinariesFromContentVersion0.605
testRestoringBinariesFromContentVersion0.597
testRetrievingBinariesFromContentVersionsChildNode0.611

CompositeFilterTest

testInitializationAndDestruction0.017

ContentTypeFilterTest

testFilterWithEmptyDefaultExtension0.03

FilterTest

testInitialization0.03
testDecoratedFilter0.033
testBypassing0.073

InstallFilterTest

testExecutesCorrectCommandBasedOnURI0.022
testPassesNullAsCommandIfNoneSpecifiedWithTrailingSlash0.013
testPassesNullAsCommandIfNoneSpecified0.012

InterceptFilterTest

testPreviewIsSetInMgnlContextSession0.009
testPreviewIsRemovedFromMgnlContextSession0.002
testDeleteNodeAction0.001
testSortNodeDefaultAction0.003
testSortNodeBeforeAction0.003
testSortNodeAfterAction0.003

MultiChannelFilterTest

testALLGetsSetWhenThereIsNoResolver0.005
testChannelFromResolverGetsSet0.001
testChannelParameterValueGetsSet0.001

MultipartRequestFilterTest

testFilterCOS0.044
testFilterCommonsFileUpload0.043

MultipartRequestWrapperTest

testWillNotHideNewParametersAfterDoingForward0.013

ServletDispatchingFilterTest

testEscapeMetaCharacters0.011
testSupportsDefaultMapping0.015
testSupportsPathMapping0.021
testSupportsExtensionMapping0.011
testSupportsRegexMappings0.017
testShouldNotBypassWhenPathMappingMatches0.012
testShouldNotBypassWhenExactMappingMatches0.012
testShouldBypassWhenMappingDoesNotMatch0.012
testShouldBypassWhenMappingDoesNotMatchMAGNOLIA19840.012
testPathInfoShouldAdhereToServletSpec0.011
testPathInfoShouldStateWhateverIsAfterTheRegexMapping0.011
testWrapperRespectsForwards0.018

UnicodeNormalizationRequestWrapperTest

testWillNotBlockNewlyAddedParametersOnForward0.01

DefaultI18NContentSupportTest

testDetermineLocale0.011
testDetermineLocaleEndlessLoop0.013
testGetNodeDataEndlessLoop0.01

HierarchyBasedI18nContentSupportTest

testDetermineLocale0.036
testDetermineLocaleEndlessLoop0.011
testGetNodeDataEndlessLoop0.009

MessagesManagerTest

testGetsSimpleMessageFromDefaultBundle0.009
testGetsMessagesFromSpecifiedBundle0.001
testGetsMessagesFromSpecifiedBundleInPriorityEvenIfItExistsInDefaultBundle0
testFallsBackToDefaultLocaleIfCurrentLocaleDoesntSpecifyThisMessage0.001
testFallsBackToDefaultLocaleAlsoWithDefaultBundle0.001

AccessManagerImplTest

testGetPermissions0.002

RedirectClientCallbackTest

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

HierarchicalUserManagerTest

testParentPathIsRealmIfNameShorterThan3Chars0.001
testParentPathShouldReflectFirstLettersOfNameAndIncludeRealmName0
testParentPathShouldBeLowercased0.001

MgnlGroupTest

testGetRoles0.01
testGetRolesWithoutDuplicates0.007
testGetGroupsReturnsDirectGroups0.006
testGetGroupsReturnsDirectGroupsWithoutDuplicates0.006
testAddGroupToGroup0.009
testAddRoleToGroup0.008
testGetNotExistGroup0.006

MgnlUserManagerTest

testUsernameIsValidatedUponCreation0
testUsernameCantBeNull0
testUsernameCantBeEmpty0
testUsernameCantBeBlank0
testFindPrincipalNode0.012

MgnlUserTest

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

PermissionUtilTest

testConvertPermissions0
testFailsOnCustomPermissions0
testSuccessOnCustomPermissionAndNormalPermission0
testIsGrantedForEmptyPermissionString0

PrincipalUtilTest

testFindPrincipal0.001
testFindPrincipalInCollection0.001
testFindACLByName0
testRemovePrincipal0
testRemovePrincipalFromCollection0

RescueSecuritySupportTest

testUserManagerIsAnInstanceOfRescueUserManager0.018
testUserManagerRealmIsSystemRealm0.014
testUserManagerReturnsCorrectAnonymousUser0.014
testUserManagerReturnsEnabledRescueUser0.014
testUserManagerReturnsRescueUserWithEnglishAsDefaultLanguage0.014
testUserManagerReturnsCorrectSystemUser0.014
testUserManagerReturnsCorrectSystemUserByName0.014
testUserManagerReturnsAnonymousUserByAnyNameExcludedSystemUserName0.014
testUserManagerReturnsSystemUserWithCorrectRole0.017
testUserManagerReturnsSystemUserWithCorrectGroup0.013

SecurityTest

testMergePrincipals0.006

SecurityUtilTest

testCrypt0.447
testKeyStore0.069
testBCProvider0.085
testPasswordRemovingMethodFromCache0
testPasswordRemovingMethodFromURL0.001

BooleanUtilTest

testToBooleanKnowsItsBasicEnglishVocabulary0
testToBooleanHandlesNullsAndEmptyStringsGracefully0
testToBooleanUsesDefaultValueForUnknownValues0

ClasspathResourcesUtilTest

testSanitizeUrlToFile0
testOhWindoes0

ClassUtilTest

testIsSubClass0.001

ContentUtilRepoTest

testSessionBasedCopy0.588
testChangeNodeTypeReplaceFirstOccurrenceOnly0.554
testChangeNodeTypeReplaceAllOccurrences0.586

ContentUtilTest

testVisitShouldPassFilterAlong0.004
testDeleteAndRemoveParentsIfAnOtherChild0.001
testDeleteAndRemoveParentsIfNoOtherChild0.001
testDeleteAndRemoveParentsWithLevel0
testOrderAfter0.001
testOrderAfterLastNode0.001
testOrderAfterLastNodeVariation10.001
testOrderAfterFirstNodeOnlyThree0
testOrderAfterFirstNodeMoreThanThreeVariation10.001
testOrderAfterFirstNodeMoreThanThreeVariation20
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

DateUtilTest

testCustomFormatShouldUseGivenLocale0.008

DelayedExecutorTest

testDelayedExecution0.123
testMultipleDelayedExecution0.157
testExecutionAfterMaxDelay0.404

ExceptionUtilTest

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

ExtendingContentWrapperTest

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

InheritanceContentWrapperTest

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

LazyContentWrapperTest

testClosedSessionResistance0.552
testWrappingNDParent0.542
testWrappingReferencedContent0.568

LazyNodeDataWrapperTest

testDoesNotCallHierarchyManagerUntilNeeded0.002
testCallHierarchyManagerOnlyFirstTime0.016
testWorkOnDeadSession0.006

ModuleConfigurationObservingManagerTest

testObserving6.026

NodeDataUtilTest

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

NodePathComparatorTest

testBasic0.001

NodeUuidComparatorTest

testBasic0

ObservationUtilTest

testFailRegisterWhenSessionInvalid0.009
testRegisterWhenSessionValid0.012
testDontFailUnregisterWhenSessionInvalid0.016
testUnregisterWhenSessionValid0.009

PathUtilTest

testCreatePath0
testCreatePathDoesNotSupportNullArgument0
testAddLeadingSlash0
testAddLeadingSlashDoesNotSupportNullArgument0.001
testGetFolder0
testGetFileName0
testGetFileNameDoesNotSupportNullArgument0
testGetExtension0
testStripExtension0

RequestDispatchUtilTest

testDispatchWithNullURI0
testDispatchRedirectInternal0.001
testDispatchRedirectNonInternal0
testDispatchRedirectNonInternalFailure0.001

RuleTest

testRuleStringConstructor0.544
testIsAllowedNode0.544
testIsNotAllowedNode0.544

SearchReplaceTest

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

ServletUtilsTest

testServletInitParametersToMap0.001
testFilterInitParametersToMap0
testGetWrappedRequest0
testIsMultipart0
testIsForward0
testIsInclude0
testIsError0
testGetDispatcherType0.001
testGetOriginalRequestUri0
testGetOriginalRequestUrlIncludingQueryString0

SiblingsHelperTest

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

SimpleUrlPatternTest

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

StringLengthComparatorTest

testBasic0

SystemContentWrapperTest

testClosedSessionResistance0.543
testWrappingNDParent0.536
testWrappingReferencedContent0.556

UnicodeNormalizerTest

testAsciiStringsShouldPassThroughWithAutoDetect0.001
testNFCStringIsStillEqualsAfterNormalizeCallWithAutoDetect0.011
testNormalizingNFDStringMakesItEqualsToNFCStringWithAutoDetect0.001
testNormalizationAlsoWorksForStringsThatWereOriginallyNotUTF8WithAutoDetect0.001
testICUNormalizer0.048
testNonNormalizer0
testJava6ReflectionNormalizer0.001

WebXmlUtilTest

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

Content2BeanProxyTest

testContentToBeanWithClassDefined0.01

Content2BeanTest

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

AbstractRepositoryStrategyTest

testGetSession0.557

DefaultRepositoryStrategyTest

testGetUserCredentialsReturnsCredentialsFromContextUserIfSet0.529

MgnlContextTest

testCanDeclareCheckExceptionToBeThrownByDoInSystemContext0
testCanThrowRuntimeExceptionsWithoutSpecificThrowsClauseInDoInSystemContext0

RequestAttributeStrategyTest

testLocalAttributes0.001
testSessionAttributes0.003
testApplicationAttributes0.001

WebContextImplTest

testLoginLogout0.014

WriterResponseWrapperTest

testCantUseWriterAfterOutputStream0.001
testCantUseOutputStreamAfterWriter0

FreemarkerHelperTest

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

BinaryNodeDataModelTest

testCanBeUnwrappedByDeepUnWrap0.001

ContentModelTest

testCanBeUnwrappedByDeepUnWrap0

UserModelTest

testCanBeUnwrappedByDeepUnWrap0

BootstrapFilesComparatorTest

testXmlShouldBeBeforeProperties0.001
testZipAndGzShouldBeIgnoredInSortingXmlBeforeProperties0
testFilesAreOrderedByFileNameLength0

BootstrapUtilTest

testGetWorkspaceNameFromResource0
testGetPathnameFromResource0
testGetFullpathFromResource0
testGetFilenameFromResource0

DataTransporterRepositoryTest

testDoctypeImport0.547

DataTransporterTest

testParseAndFormat0.034
testRemoveNs0.002
testEncodePath0
testCreateExportPath0.001
testRevertExportPath0

MagnoliaV2FilterTest

testBogusMetaElement0.009

PropertiesImportExportTest

testConvertsToStringByDefault0.001
testConvertsToWrapperType0
testCanUseIntShortcutForConvertingIntegers0
testPropertiesExport0.004
testImportMetadata0.002

AbstractMagnoliaConfigurationPropertiesTest

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

DefaultMagnoliaInitPathsTest

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

DefaultMagnoliaPropertiesResolverTest

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

ModulePropertiesSourceTest

testPropertiesCanBeOverriddenUsingDependencyOrderingOfModules0.001
testDifferentPropertiesCanRegisteredByDifferentModulesEllipsisDuh0

AbstractNodeOperationTest

testThen0.002

NodeBuilderTest

testExecWithSeveralChildOps0.006
testRealisticUsageScenario0.001

OpsTest

testAddNodeWithString0
testAddNodeWithTwoStrings0.001
testAddProperty0
testAddPropertyFailsIfPropertyExists0.001
testSetProperty0
testSetPropertyFailsIfItsNotExistingAlready0
testRenameProperty0

JCRPropertyHidingPredicateTest

testEvaluate0
testReturnsFalseOnException0.001

ContentMapTest

testGetBasicProps0.001
testGetOtherProps0

MetaDataUtilTest

testGetMetaData0
testUpdateMetaData0.002

NodeUtilTest

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

PropertiesImportExportTest

testConvertsToWrapperType0.001
testCanUseIntShortcutForConvertingIntegers0
testCreateNodes0.001
testCreateNodesFailingBecauseOfEqualsSignWithoutADot0
testCreateNodesFailingBecauseOfMissingTrailingSlash0
testCreateNodesFailingBecauseOfDotAndMonkeyTail0
testCreateNodesFailingBecauseOfDotInPath0

PropertyUtilTest

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

SessionUtilTest

testHasSameUnderlyingSessionWithTwoWrappersOnSameSession0
testHasSameUnderlyingSessionWithOneWrapperOnDifferentSession0.001
testHasSameUnderlyingSessionWithTwoUnwrappedSessions0
testGetNode0
testGetNodeNoSessionPassed0
testGetNodeBadPath0

VersionUtilTest

testGetNodeTypeName0.001

ChannelVisibilitySessionWrapperTest

testGetProperty0.593
testGetNode0.546
testNodeExists0.553
testItemExists0.537
testPropertyExists0.539
testGetItem0.55
testCanRemoveVisibleItem0.544
testFailsToRemoveHiddenItem0.578
testMoveWorksOnVisibleNode0.55
testFailsToMoveHiddenNode0.53
testRootNodeHidesExcludedNode0.531
testNavigatingWithNodeParentStillHidesExcludedNode0.534

DelegateNodeWrapperTest

testDeepUnwrap0.001
test4LevelDeepUnwrap0
test4LevelDeepUnwrapAtLastLevel0

DelegateSessionWrapperTest

testUnwrap0.001

HTMLEscapingNodeWrapperTest

testPropertyIsWrappedAndEncoded0.007
testLineBreakEncoding0
testPropertyIteratorReturnsWrappedProperty0.001
testPropertyReturnedFromPropertyIsWrapped0
testNodeReturnedFromPropertyIsWrapped0

I18nNodeWrapperTest

testGetPropertyReturnsLocalizedValue0.011
testWrapNode0.007

InheritanceNodeWrapperTest

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

LinkUtilTest

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

UUIDLinkTest

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

AuditLoggingManagerTest

testNoErrorIsThrownInCaseOfMissingLogConfiguration0

AuditLoggingUtilTest

testLogsLoginSuccesses0.001
testLogsLoginFailures0.001

AbstractModuleVersionHandlerTest

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

AddFilterBypassTaskTest

testFilterBypassAddedProperly0.015

AddURIPermissionTaskTest

testGetPostPermissionAddedToRoleProperly0.009
testGetPermissionAddedToRoleProperly0.008
testDenyPermissionAddedToRoleProperly0.007

BackupTaskTest

testNodeExistsWithFullPathAtBackupPathAfterBackingUp0.007

BootstrapConditionallyTest

testExecutesDelegateTaskIfNodeExists0.003
testBootstrapsIfNodeDoesNotExist0.001

FilterOrderingTaskTest

testFailWhenFilterDoesntExist0.008
testOrderFilterAfter0
testOrderFilterAfterLast0.001
testDoesNothingIfRequiredFilterMissing0.001

IsAuthorInstanceDelegateTaskTest

testExecutesAuthorDelegateTaskWhenIsAuthor0.002
testExecutesPublicDelegateTaskWhenIsPublic0.001
testExecutesAuthorDelegateTaskWhenAdminPropertyDoesNotExist0
testExecutesAuthorDelegateTaskWhenAdminPropertyHasAMeaninglessValue0

ModuleBootstrapTaskTest

testShouldOnlyBootstrapFilesFromThisModule0.001

MoveAndRenamePropertyTaskTest

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

OrderFilterBeforeTaskTest

testFailWhenFilterDoesntExist0.002
testOrderFilterBefore0.001
testDoesNothingWhenRequiredFilterMissing0.001

PartialBootstrapTaskTest

testGetOutputResourceName0

PropertyValueDelegateTaskTest

testExecutesDelegateTaskIfPropertyExistsWithExpectedValue0.001
testExecutesOtherDelegateTaskIfPropertyExistsWithOtherValue0.001
testExecutesOtherDelegateTaskIfPropertyMustNotExistAndDoesNot0.001
testThrowsExceptionIfPropertyMustExistAndDoesNot0

PropertyValuesTaskTest

testExistingPropertyIsReplaced0
testNonExistingPropertyIsNotReplacedButLogged0.001
testPropertywithUnexpectedValueIsNotReplacedButLogged0
testNonExistingPropertyAndExpectedAsSuchIsCreated0.001
testUnexpectedlyExistingPropertyIsNotReplacedAndLogged0

RegisterServletTaskTest

testRegisterServletTaskWithEmptyMappings0.554
testRegisterServletTaskWithMappings0.557

RemoveDuplicatePermissionTaskTest

testRemoveDuplicatePermission0.004
testRemoveDuplicatePermission20.003

RenameNodesTaskTest

testRenameACLNodesTask0.549

RenamePropertyAllModulesNodeTaskTest

testRenameWorksIfOldPropertyIsPresentAndNewNot0.002

WebXmlConditionsUtilTest

testDoesNotWarnIfErrorDispatcherIsUsed0.004
testBlocksIfRequestDispatcherIsMissing0.002
testBlocksIfIncludeDispatcherIsMissing0.002

MD5CheckingFileExtractorOperationTest

testAbsentFilesAreRecreated0.003

BetwixtModuleDefinitionReaderTest

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

DependencyCheckerImplTest

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

DependencyLevelComparatorTest

testCalcDependencyLevelWithNonOptionalDependencies0
testCalcDependencyLevelIgnoresUnregisteredOptionalDependencies0
testCalcDependencyLevelDoesNotIgnoreRegisteredOptionalDependencies0
testCanHandleOnlyOptionalAndMissingDependencies0
testCalcDependencyLevelWithNoDependencies0

VersionComparatorTest

testBasic0
testClassifiersAreIgnored0

VersionRangeTest

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

VersionTest

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

ModuleInstanceProviderTest

testThrowsExceptionWhenModuleInstanceIsNotAvailable0.17
testProvidesTheSameInstanceAsReturnedFromModuleRegistry0.01

ModuleLifecycleContextImplTest

testCantRegisterAComponentIfNodeNameIsAlreadyForAnotherComponent0
testStartRegistersAllObserversWithAllModules0

ModuleManagementStateTest

testDescriptionForUpdatesOnly0.001
testDescriptionForInstallsOnly0
testDescriptionForInstallsAndUpdates0

ModuleManagerImplTest

testCheckModuleAndDeltasToStringForUpdate0
testCheckModuleAndDeltasToStringForInstall0
testUpdateAppliesSuppliedDeltasAndTasks0.024
testTaskExecutionExceptionInterruptsTasksAddsExplicitErrorMessage0.006
testFailedConditionsPreventsFurtherModulesToBeInstalledOrUpdated0.005
testPerformCantBeCalledTwiceByDifferentThreads0.803

ModuleRegistryImplTest

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

ModuleManagerWebUITest

testModuleManagementExceptionsArePropagatedEvenThoughTheUpdateIsRunningInASeparateThread1.003
testListTasksTemplate0.031
testDoneTemplate0.019
testRestartNeededTemplate0.013

AbstractNodeOperationTest

testThatSubsequentCallsToTheThenMethodAdd0.001

ContentOpsTest

testCreateContent0
testCreatePage0.001
testCreateCollectionNode0
testCreateParagraph0
testSetBinaryNodeData0.001
testSetTemplate0

NodeBuilderTest

testContextNodeIsProperlyPropagated0.569
testErrorMessages0.562
testPropertyNotReplaceIfCurrentValueDoesNotMatchExpectations0.548

OpsTest

testAddPropertyFailsIfPropertyExists0.539
testSetPropertyFailsIfPropertyDoesNotExist0.539
testSetPropertyFailsIfPropertyDoesNotHaveExpectedValue0.54
testRemoveFailsOnUnexistingPropertyOrNode0.539
testRenamePropertyAndCheckValueForString0.533

ModuleConfigNodeBuilderTaskTest

testModuleConfigNodeIsCreatedIfNeeded0.542
testModuleNodeIsCreatedIfNeeded0.544
testUsesExistingModuleConfigNode0.559

ModuleNodeBuilderTaskTest

testModuleNodeIsCreatedIfNeeded0.554
testUsesExistingModuleNode0.544

NodeBuilderTaskTest

testUnknownRootThrowsException0.559
testSyntax0.562

ClassesTest

testDefaultClassFactoryWorksJustFine0.006
testCanSetupADifferentClassFactory0.005

ComponentConfigurationReaderTest

testCanReadPlatformComponentsFile0.005

ComponentProviderConfigurationBuilderTest

testNonScopedComponent0.083
testLazySingletonScopedComponent0.016
testEagerSingletonScopedComponent0.014
testProvider0.018
testSingletonScopedProvider0.014
testComponentFactory0.026
testSingletonScopedComponentFactory0.013
testConfigured0.016
testConfiguredSingleton0.02
testConfiguredEagerSingleton0.014
testObserved0.018

LegacyComponentsConfigurerTest

testLegacy0.01

DefaultClassFactoryTest

testCanInstantiateWithEmptyConstructor0.001
testCanInstantiateWithAppropriateConstructor0
testCanInstantiateWithAppropriateConstructorAndNullParamsWhenSignatureIsSpecified0
testCanInstantiateWithBestMatchingConstructorWhenTheSignatureIsMorePrecise0.001
testCanInstantiateWithSingleArgConstructorAndNullParamWhenSignatureIspecified0

DefaultComponentProviderTest

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

GuiceComponentProviderTest

testConfigured0.013
testObserved0.012
testGetComponentProvider0.006
getComponentThrowsExeptionForUnconfiguredType0.006
testInstance0.007
testImplementation0.008
testConfiguredInSingletonScope0.011
testObservedInRequestScope0.011
testCreateChild0.02
testLifecycle0.021
skipped
destroyOfChildMustNotDestroyInParent0.021
skipped
canAccessProperties0.031

GuiceScopesTest

testContextProvidersWhenContextSet0.009
testContextProvidersWhenWebContextSet0.008
testServletProvidersWhenWebContextSet0.008
testServletProvidersFailWhenWebContextNotSet0.007
testRequestScope0.009
testRequestScopeFailsWhenNotInWebContext0.006
testSessionScope0.008
testSessionScopeFailsWhenNotInWebContext0.006

ObjectFactoryTest

testSettingSystemPropertyIntoDefaultComponentStillAllowsToSwapImplementationsLater0

ObjectManufacturerTest

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

ObservedComponentFactoryTest

testReturnsAProxyToGivenTypeIfConcreteClassEvenIfPathDoesNotExistYet0.002
testProxyIsSwappedOncePathGetsReloaded0.003

RegistryMapTest

testReturnsAddedValues0
testReturnsNullWhenValueMissing0.001
testThrowsExceptionWhenRequiredAndMissing0
testUsesKeyFromValueWhenAdding0

RepositoryMappingDefinitionReaderTest

testParse0.002

CoreModuleVersionHandlerTest

testPngSwfMimeTypesOnInstall3.209
testMP4MimeTypesOnInstall2.343
test446MimeTypesOnInstall2.043
test45DoesNotInstallWhenFromSmallerThan4460.553
testUpgradeFrom4460.676

RenameACLNodesTaskTest

testRenameACLNodesTask0.558

UpdateSecurityFilterClientCallbacksConfigurationTest

rearrangementOfBasicDefaultConfig0.616
rearrangementOfSTKsDefaultConfig0.563
simpleCustomCallbackMovedAndBackedUpWithWarning0.542
nonStandardCompositeConfigIsBackedUp0.53

HashUsersPasswordsTest

testEncryption0.841

ComponentsTestUtilTest

testConfiguredImplementation0
testSetSingletonInstance0.001
testInstanceFactory0

Content2NodeCollectionWrapperTest

testRemoveAll0
testRetainAll0

MockItemTest

testGetDepth0
testGetPath0

MockNodeTest

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

MockObservationManagerTest

canAddRemoveAndSeeAddedListeners0
willRefuseToFilterOnUuid0
willRefuseToFilterLocalChanges0
canFilterOnNodeType0
canFilterOnPath0
setsUserDataInEvent0

MockPropertyTest

testAccept0
testIsMultiple0
testIsNode0
testGetSetValueWithBigDecimal0
testGetString0
testGetType0
testGetValue0

MockSessionTest

testGetNodeByIdentifier0
testGetItem0
testConstructionProperlyWiresWorkspaceToSession0
testConstructionProperlyWiresSessionToRoot0
testGetNodeFromStringe0
testGetPropertyFromString0
testNodeExistsFromString0
testGetItemOnNonAbsolutePathFails0
testGetItemOnNonExistingPathFails0

MockValueTest

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

NodeTestUtilTest

testNodeFromStringAndStrings0
testNodeFromStringAndObjectArray0
testCreateValues0

SessionTestUtilTest

testCreateSessionFromString0
testCreateSessionWithStringVarargs0
testMockSessionSetsProperWorkspaceName0

MockAccessManagerTest

testThatWeHaveAllPermissions0

MockComponentProviderTest

testThrowsExceptionWhenCreatingAStringInstance0
testThrowsExceptionWhenEncounteringConstructorTakingStringArgument0

MockContentTest

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

MockHierarchyManagerTest

testThatIsGrantedMethodDoesntProduceNullPointer0

MockNodeDataTest

testSetValueWithParamValue0.001
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.123
testCommandIsSetCorrectlyFromPrototype0.003

Utf8ContentTest

testReadingUtf8AccentedChars0.547
testReadingUtf8Greek0.541
testReadingUtf8Russian0.539
testReadingUtf8SpecialChars0.541
testReadingUtf8JapaneseChars0.534
testCreateExportImportContentUtf8SpecialChars0.533
testSettingAnUtf8NodeData0.53
testSettingNewUtf8ContentNode0.543

BasePatternVoterTest

testInitWithoutPattern0

IfVoterTest

testReturnsValueOfElseIfConditionIsTrue0.001
testReturnsValueOfOtherwiseIfConditionIsFalse0
testReturns0IfConditionIsFalseAndOtherwiseIsntSet0

ResponseContentTypeVoterTest

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

URIStartsWithVoterTest

testBasics0
testNotVoter0
testInverseVoter0

Failure Details

[Summary] [Package List] [Test Cases]


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