magnolia-core Version: 4.5.12-SNAPSHOT Last Published: Oct 1, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
130600399.77%183.9

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%3.211
info.magnolia.importexport19000100%1.662
info.magnolia.utf88000100%4.957
info.magnolia.objectfactory.configuration14000100%0.219
info.magnolia.module35000100%1.167
info.magnolia.module.model.reader35000100%0.095
info.magnolia.module.model35000100%0.006
info.magnolia.jcr.decoration12000100%0.006
info.magnolia.module.files1000100%0.006
info.magnolia.content2bean2000195%0.248
info.magnolia.objectfactory.guice.lifecycle10000100%0.354
info.magnolia.beanmerger7000100%0.022
info.magnolia.cms.core.version13000100%3.807
info.magnolia.voting.voters25000100%0.002
info.magnolia.test.mock36000100%0.022
info.magnolia.cms.util204000100%31.529
info.magnolia.cms.core87000100%24.619
info.magnolia.objectfactory.guice19000100%0.292
info.magnolia.test5000100%0.15
info.magnolia.module.ui4000100%1.284
info.magnolia.repository10010%0
info.magnolia.init.properties2000100%0
info.magnolia.repository.definition1000100%0
info.magnolia.test.mock.jcr88000100%0.02
info.magnolia.nodebuilder.task7000100%4.435
info.magnolia.cms.i18n12000100%0.092
info.magnolia.registry4000100%0
info.magnolia.context12000100%2.374
info.magnolia.jcr.inheritance4000100%0.004
info.magnolia.objectfactory31000100%0.057
info.magnolia.module.delta70000100%24.484
info.magnolia.freemarker54000100%0.176
info.magnolia.cms.security77000100%28.527
info.magnolia.freemarker.models3000100%0.002
info.magnolia.init27000100%0.097
info.magnolia.audit31000100%19.958
info.magnolia.cms.filters37000100%1.132
info.magnolia.util2000100%0.001
info.magnolia.jcr.wrapper57000100%9.055
info.magnolia.cms.security.operations3000100%0.003
info.magnolia.cms.security.auth.callback6000100%0.007
info.magnolia.link29000100%0.311
info.magnolia.cms.core.search2000100%1.388
info.magnolia.nodebuilder15000100%5.264
info.magnolia.jcr.predicate6000100%0.003
info.magnolia.cms.beans.config1800194.444%0.039
info.magnolia.importexport.filters1000100%0.01
info.magnolia.jcr.util96000100%2.45
info.magnolia.setup6000100%10.343
info.magnolia.jcr.nodebuilder10000100%0.01

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.601
UpdateSecurityFilterClientCallbacksConfigurationTest4000100%2.61

info.magnolia.importexport

ClassTestsErrors FailuresSkippedSuccess RateTime
BootstrapFilesComparatorTest3000100%0.001
BootstrapUtilTest4000100%0.001
PropertiesImportExportTest5000100%0.007
DataTransporterTest5000100%0.046
DataTransporterRepositoryTest2000100%1.607

info.magnolia.utf8

ClassTestsErrors FailuresSkippedSuccess RateTime
Utf8ContentTest8000100%4.957

info.magnolia.objectfactory.configuration

ClassTestsErrors FailuresSkippedSuccess RateTime
ComponentProviderConfigurationBuilderTest11000100%0.199
ComponentConfigurationReaderTest1000100%0.003
LegacyComponentsConfigurerTest2000100%0.017

info.magnolia.module

ClassTestsErrors FailuresSkippedSuccess RateTime
ModuleLifecycleContextImplTest2000100%0.002
ModuleManagerImplTest6000100%0.884
AbstractModuleVersionHandlerTest15000100%0.021
ModuleRegistryImplTest7000100%0.005
ModuleManagementStateTest3000100%0.001
ModuleInstanceProviderTest2000100%0.254

info.magnolia.module.model.reader

ClassTestsErrors FailuresSkippedSuccess RateTime
BetwixtModuleDefinitionReaderTest12000100%0.09
DependencyCheckerImplTest18000100%0.003
DependencyLevelComparatorTest5000100%0.002

info.magnolia.module.model

ClassTestsErrors FailuresSkippedSuccess RateTime
VersionComparatorTest2000100%0.002
VersionRangeTest17000100%0.002
VersionTest16000100%0.002

info.magnolia.jcr.decoration

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentDecoratorNodeWrapperTest6000100%0.001
NodePredicateContentDecoratorTest1000100%0.003
ContentDecoratorWorkspaceWrapperTest1000100%0
ContentDecoratorUtilTest4000100%0.002

info.magnolia.module.files

ClassTestsErrors FailuresSkippedSuccess RateTime
MD5CheckingFileExtractorOperationTest1000100%0.006

info.magnolia.content2bean

ClassTestsErrors FailuresSkippedSuccess RateTime
Content2BeanTest1900194.737%0.237
Content2BeanProxyTest1000100%0.011

info.magnolia.objectfactory.guice.lifecycle

ClassTestsErrors FailuresSkippedSuccess RateTime
GuiceComponentProviderLifecycleTest10000100%0.354

info.magnolia.beanmerger

ClassTestsErrors FailuresSkippedSuccess RateTime
ProxyBasedBeanMergerTest6000100%0.021
BeanMergerUtilTest1000100%0.001

info.magnolia.cms.core.version

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlVersioningNodeWrapperTest1000100%0
BaseVersionManagerTest6000100%1.258
ContentVersionTest4000100%2.499
VersionedNodeTest2000100%0.05

info.magnolia.voting.voters

ClassTestsErrors FailuresSkippedSuccess RateTime
IfVoterTest3000100%0.001
DomainNameRegexVoterTest2000100%0
URIPatternVoterTest3000100%0
ResponseContentTypeVoterTest13000100%0.001
URIStartsWithVoterTest3000100%0
BasePatternVoterTest1000100%0

info.magnolia.test.mock

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

info.magnolia.cms.util

ClassTestsErrors FailuresSkippedSuccess RateTime
ClasspathResourcesUtilTest3000100%0.001
DateUtilTest1000100%0.011
SiblingsHelperTest7000100%0.012
BooleanUtilTest3000100%0.001
WebXmlUtilTest9000100%0.026
ExtendingContentWrapperRepositoryTest2000100%1.357
SystemContentWrapperTest3000100%1.98
PathUtilTest9000100%0.001
ClassUtilTest1000100%0
NodeDataUtilTest10000100%0.003
RequestDispatchUtilTest4000100%0.013
LazyNodeDataWrapperTest3000100%0.088
UnicodeNormalizerTest6000100%0.019
ExtendingContentWrapperTest15000100%0.259
ExceptionUtilTest19000100%0.005
WorkspaceXmlUtilTest2000100%0.007
RuleTest3000100%2.153
TextFileUtilTest4000100%0.002
NodeUuidComparatorTest1000100%0
SimpleUrlPatternTest18000100%0.001
QueryUtilTest15000100%11.72
DelayedExecutorTest3000100%3.385
ServletUtilTest10000100%0.001
StringLengthComparatorTest1000100%0
LazyContentWrapperTest3000100%1.842
ObservationUtilTest4000100%0.057
SearchReplaceTest4000100%0.015
ContentUtilTest27000100%0.033
ContentUtilRepoTest4000100%2.477
InheritanceContentWrapperTest8000100%0.009
NodePathComparatorTest1000100%0.001
ModuleConfigurationObservingManagerTest1000100%6.05

info.magnolia.cms.core

ClassTestsErrors FailuresSkippedSuccess RateTime
NodeTypeBasedACLPermissionsTest9000100%0.181
AggregationStateTest3000100%0.001
BinaryNodeDataTest3000100%0.004
NodeTest14000100%8.569
DefaultContentTest25000100%15.539
RootOnlyPermissionTest3000100%0.038
DefaultACLPermissionsTest6000100%0.093
PathTest5000100%0.001
MetaDataTest13000100%0.004
MagnoliaAccessProviderTest6000100%0.189

info.magnolia.objectfactory.guice

ClassTestsErrors FailuresSkippedSuccess RateTime
GuiceScopesTest8000100%0.088
GuiceComponentProviderTest10000100%0.196
GuiceComponentProviderBuilderTest1000100%0.008

info.magnolia.test

ClassTestsErrors FailuresSkippedSuccess RateTime
ComponentsTestUtilTest3000100%0.003
SelfTest2000100%0.147

info.magnolia.module.ui

ClassTestsErrors FailuresSkippedSuccess RateTime
ModuleManagerWebUITest4000100%1.284

info.magnolia.repository

ClassTestsErrors FailuresSkippedSuccess RateTime
WorkspaceMappingTest10010%0

info.magnolia.init.properties

ClassTestsErrors FailuresSkippedSuccess RateTime
ModulePropertiesSourceTest2000100%0

info.magnolia.repository.definition

ClassTestsErrors FailuresSkippedSuccess RateTime
RepositoryMappingDefinitionReaderTest1000100%0

info.magnolia.test.mock.jcr

ClassTestsErrors FailuresSkippedSuccess RateTime
MockNodeTest36000100%0.009
MockValueTest22000100%0.004
NodeTestUtilTest3000100%0.001
SessionTestUtilTest3000100%0.001
MockSessionTest9000100%0.001
MockItemTest2000100%0
MockPropertyTest7000100%0.003
MockObservationManagerTest6000100%0.001

info.magnolia.nodebuilder.task

ClassTestsErrors FailuresSkippedSuccess RateTime
ModuleConfigNodeBuilderTaskTest3000100%1.827
ModuleNodeBuilderTaskTest2000100%1.333
NodeBuilderTaskTest2000100%1.275

info.magnolia.cms.i18n

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18NContentSupportTest1000100%0.001
DefaultI18NContentSupportTest3000100%0.037
MessagesManagerTest5000100%0.014
HierarchyBasedI18nContentSupportTest3000100%0.04

info.magnolia.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
RegistryMapTest4000100%0

info.magnolia.context

ClassTestsErrors FailuresSkippedSuccess RateTime
RequestAttributeStrategyTest3000100%0.004
SimpleContextTest1000100%0.581
MgnlContextTest2000100%0.002
WriterResponseWrapperTest2000100%0.001
DefaultRepositoryStrategyTest2000100%1.201
AbstractRepositoryStrategyTest1000100%0.575
WebContextImplTest1000100%0.01

info.magnolia.jcr.inheritance

ClassTestsErrors FailuresSkippedSuccess RateTime
InheritanceContentDecoratorTest4000100%0.004

info.magnolia.objectfactory

ClassTestsErrors FailuresSkippedSuccess RateTime
ClassesTest2000100%0.014
ComponentsTest1000100%0.001
DefaultComponentProviderTest9000100%0.019
ObjectFactoryTest1000100%0
DefaultClassFactoryTest5000100%0.002
ObjectManufacturerTest11000100%0.014
ObservedComponentFactoryTest2000100%0.007

info.magnolia.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
FreemarkerHelperTest54000100%0.176

info.magnolia.cms.security

ClassTestsErrors FailuresSkippedSuccess RateTime
AccessManagerImplTest2000100%0.061
PermissionUtilTest4000100%0.001
ContentSecurityFilterTest2000100%0.255
MgnlUserManagerRepositoryTest7000100%11.616
SecurityTest1000100%0.007
DelegatingUserManagerTest1000100%0.001
MgnlUserManagerTest11000100%1.062
SecurityUtilTest8000100%5.846
MgnlGroupTest8000100%0.067
SecurityUtilKeyStoreTest2000100%0.154
URISecurityFilterTest2000100%0.015
ACLImplTest2000100%0
PrincipalUtilTest5000100%0.001
RescueSecuritySupportTest10000100%6.25
MgnlUserTest7000100%0.057
HierarchicalUserManagerTest5000100%3.134

info.magnolia.freemarker.models

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

info.magnolia.init

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultMagnoliaInitPathsTest8000100%0.011
AbstractMagnoliaConfigurationPropertiesTest9000100%0.007
DefaultMagnoliaPropertiesResolverTest9000100%0.011
MagnoliaServletContextListenerTest1000100%0.068

info.magnolia.audit

ClassTestsErrors FailuresSkippedSuccess RateTime
AuditLoggingManagerTest1000100%0
MgnlAuditLoggingContentDecoratorTest28000100%19.957
AuditLoggingUtilTest2000100%0.001

info.magnolia.cms.filters

ClassTestsErrors FailuresSkippedSuccess RateTime
FilterTest3000100%0.12
MultipartRequestWrapperTest1000100%0.011
MultipartRequestFilterTest2000100%0.085
InstallFilterTest3000100%0.034
UnicodeNormalizationRequestWrapperTest1000100%0.011
RangeSupportFilterTest2000100%0.043
ServletDispatchingFilterTest12000100%0.152
MultipartRequestFilterTempFileDeletionTest2000100%0.038
CompositeFilterTest1000100%0.011
MultiChannelFilterTest3000100%0.009
ContentTypeFilterTest1000100%0.594
InterceptFilterTest6000100%0.024

info.magnolia.util

ClassTestsErrors FailuresSkippedSuccess RateTime
EscapeUtilTest2000100%0.001

info.magnolia.cms.security.operations

ClassTestsErrors FailuresSkippedSuccess RateTime
OperationPermissionTest3000100%0.003

info.magnolia.cms.security.auth.callback

ClassTestsErrors FailuresSkippedSuccess RateTime
RedirectClientCallbackTest6000100%0.007

info.magnolia.link

ClassTestsErrors FailuresSkippedSuccess RateTime
EditorLinkTransformerTest1000100%0.001
UUIDLinkTest9000100%0.093
LinkUtilTest19000100%0.217

info.magnolia.cms.core.search

ClassTestsErrors FailuresSkippedSuccess RateTime
QueryTest2000100%1.388

info.magnolia.nodebuilder

ClassTestsErrors FailuresSkippedSuccess RateTime
OpsTest5000100%3.414
ContentOpsTest6000100%0.003
AbstractNodeOperationTest1000100%0
NodeBuilderTest3000100%1.847

info.magnolia.jcr.predicate

ClassTestsErrors FailuresSkippedSuccess RateTime
NodeTypePredicateTest2000100%0.001
JCRPropertyHidingPredicateTest2000100%0.001
JCRMgnlPropertyHidingPredicateTest2000100%0.001

info.magnolia.cms.beans.config

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentRepositoryTest10010%0.001
RegexpVirtualURIMappingTest11000100%0.006
URI2RepositoryManagerTest2000100%0.002
URI2RepositoryMappingTest4000100%0.03

info.magnolia.importexport.filters

ClassTestsErrors FailuresSkippedSuccess RateTime
MagnoliaV2FilterTest1000100%0.01

info.magnolia.jcr.util

ClassTestsErrors FailuresSkippedSuccess RateTime
ContentMapTest4000100%0.008
PropertyUtilTest27000100%0.004
VersionUtilTest1000100%0
MetaDataUtilTest2000100%0.001
SessionUtilTest11000100%0.006
PropertiesImportExportTest8000100%0.003
NodeUtilRepositoryTest4000100%2.415
NodeUtilTest39000100%0.013

info.magnolia.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
HashUsersPasswordsTest1000100%1.014
CoreModuleVersionHandlerTest5000100%9.329

info.magnolia.jcr.nodebuilder

ClassTestsErrors FailuresSkippedSuccess RateTime
OpsTest7000100%0.006
NodeBuilderTest2000100%0.003
AbstractNodeOperationTest1000100%0.001

Test Cases

[Summary] [Package List] [Test Cases]

RenamePropertyAllModulesNodeTaskTest

testRenameWorksIfOldPropertyIsPresentAndNewNot0.578

TextFileConditionsUtilTest

testAddFalseConditionIfExpressionIsNotContained0.005
testAddFalseConditionIfExpressionIsContained0.001

RegisterServletTaskTest

testRegisterServletTaskWithMappings4.946
testRegisterServletTaskWithEmptyMappings1.758

PartialBootstrapTaskTest

testGetOutputResourceName0

ChangeTemplateTaskTest

testSetTemplateForFirstTime0.006
testChangeTemplate0.001

WebXmlConditionsUtilTest

testBlocksIfRequestDispatcherIsMissing0.083
testBlocksIfIncludeDispatcherIsMissing0.005
testDoesNotWarnIfErrorDispatcherIsUsed0.004

PropertyValueDelegateTaskTest

testThrowsExceptionIfPropertyMustExistAndDoesNot0.012
testExecutesOtherDelegateTaskIfPropertyMustNotExistAndDoesNot0.001
testExecutesDelegateTaskIfPropertyExistsWithExpectedValue0.001
testExecutesOtherDelegateTaskIfPropertyExistsWithOtherValue0.002

RemoveDuplicatePermissionTaskTest

testRemoveDuplicatePermission20.017
testRemoveDuplicatePermission0.006

AddPermissionTaskTest

testRoot0.041
testWithoutSlash0.032
testWithSlash0.031

BackupTaskTest

testNodeExistsWithFullPathAtBackupPathAfterBackingUp0.029

ExecuteCommandTaskTest

testCommandIsExecutedAndFailed0.029
testShowWarningIfCommandNotFound0.002
testCommandIsExecuted0.003

IsAuthorInstanceDelegateTaskTest

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

AddFilterBypassTaskTest

testFilterBypassAddedProperly0.034

MoveAndRenamePropertyTaskTest

testNewDefaultIsUsedIfPropertyDidNotExistAndNodeDataReturnsEmptyValue0.026
testPropertyWithOldDefaultValueGetsNewDefaultValue0.001
testPropertyReplacedByOldValueIfNewAlreadyExists0.002
testValueIsCopiedNoMatterWhatIfOldDefaultNotPassed0.001
testPropertyWithDifferentValueIsMovedButNotChanged0.001
testNewDefaultIsUsedIfPropertyDidNotExist0.001

OrderFilterBeforeTaskTest

testFailWhenFilterDoesntExist0.002
testOrderFilterBefore0.001
testDoesNothingWhenRequiredFilterMissing0.002

WorkspaceXmlConditionsUtilTest

testParamAnalyzerIsNotAround0.007
testTextFilterClassesAreNotSet0.005
testAccessControlProviderIsSet0.004

PropertyValuesTaskTest

testNonExistingPropertyIsNotReplacedButLogged1.382
testNonExistingPropertyAndExpectedAsSuchIsCreated0.748
testPropertywithUnexpectedValueIsNotReplacedButLogged0.924
testExistingPropertyWithPartOfStringIsReplaced1.387
testNonExistingPropertyWhenExpectOneOfValuesIsNotReplacedButLogged1.405
testPropertyWithUnexpectedValueWhenExpectOneOfValuesIsNotReplacedButLogged0.689
testNonExistingPropertyIsNotReplacedButLogged20.958
testExistingPropertyIsReplaced0.675
testPropertyOfDifferentType0.798
testPropertyThatNotContainPartOfStringIsNotReplacedButLogged1.099
testExistingPropertyWithOneOfExpectedValuesIsReplaced0.647
testUnexpectedlyExistingPropertyIsNotReplacedAndLogged0.981

FindAndChangeTemplateIdTaskTest

testFindAndChangeTemplateId0.908

RenamePropertiesTaskTest

testExistingPropertyIsRenamed0.722
testNonExistingPathIgnored0.756

BootstrapConditionallyTest

testExecutesDelegateTaskIfNodeExists0.002
testBootstrapsIfNodeDoesNotExist0.002

FilterOrderingTaskTest

testOrderFilterAfter0.002
testFailWhenFilterDoesntExist0.001
testOrderFilterAfterLast0.001
testDoesNothingIfRequiredFilterMissing0.001

RenameNodesTaskTest

testRenameACLNodesTask0.645

ModuleBootstrapTaskTest

testShouldOnlyBootstrapFilesFromThisModule0.001

AddURIPermissionTaskTest

testGetPostPermissionAddedToRoleProperly0.021
testGetPermissionAddedToRoleProperly0.021
testDenyPermissionAddedToRoleProperly0.02

RegisterNodeTypeTaskTest

testRegisterNewNodeType0.7
testWillNotFailWhenRegisteringAlreadyRegisteredNode0.643
testReregisterNodeType0.658

VersionComparatorTest

testBasic0
testClassifiersAreIgnored0

BetwixtModuleDefinitionReaderTest

testDependenciesVersionAreProperlyRead0
testClassIsResolvedToClassNameAsAString0.006
testSelf0.001
testReadCompleteDescriptorAndCheckAllPropertiesDamnYouBetwixt0.016
testVersionHandlerIsResolvedToAClass0.006
testModuleVersionIsProperlyRead0.009
testDependenciesCanBeSpecifiedWithoutVersion0.009
testInvalidXmlIsCheckedAgainstDTD0.009
testDisplayNameShouldBeWrittenWithCapitalN0.008
testReadModuleDescriptorWithComponents0.011
testGivenDtdIsIgnoredAndCheckedAgainstOurs0.005
testDisplayNameCanBeWrittenWithDashEventhoughThisIsDeprecated0.01

DependencyCheckerImplTest

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

DependencyLevelComparatorTest

testCalcDependencyLevelWithNoDependencies0
testCanHandleOnlyOptionalAndMissingDependencies0
testCalcDependencyLevelWithNonOptionalDependencies0
testCalcDependencyLevelIgnoresUnregisteredOptionalDependencies0
testCalcDependencyLevelDoesNotIgnoreRegisteredOptionalDependencies0

VersionRangeTest

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

VersionTest

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

ModuleLifecycleContextImplTest

testCantRegisterAComponentIfNodeNameIsAlreadyForAnotherComponent0
testStartRegistersAllObserversWithAllModules0

ModuleManagerImplTest

testUpdateAppliesSuppliedDeltasAndTasks0.059
testFailedConditionsPreventsFurtherModulesToBeInstalledOrUpdated0.009
testPerformCantBeCalledTwiceByDifferentThreads0.806
testTaskExecutionExceptionInterruptsTasksAddsExplicitErrorMessage0.009
testCheckModuleAndDeltasToStringForUpdate0.001
testCheckModuleAndDeltasToStringForInstall0

AbstractModuleVersionHandlerTest

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

ModuleRegistryImplTest

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

MD5CheckingFileExtractorOperationTest

testAbsentFilesAreRecreated0.006

ModuleManagementStateTest

testDescriptionForInstallsOnly0
testDescriptionForUpdatesOnly0
testDescriptionForInstallsAndUpdates0

ModuleInstanceProviderTest

testThrowsExceptionWhenModuleInstanceIsNotAvailable0.233
testProvidesTheSameInstanceAsReturnedFromModuleRegistry0.021

ModuleManagerWebUITest

testDoneTemplate0.227
testListTasksTemplate0.031
testModuleManagementExceptionsArePropagatedEvenThoughTheUpdateIsRunningInASeparateThread1.003
testRestartNeededTemplate0.023

ClasspathResourcesUtilTest

testSanitizeToFileUnsupportedProtocol0
testOhWindoes0
testSanitizeUrlToFile0.001

DateUtilTest

testCustomFormatShouldUseGivenLocale0.011

SiblingsHelperTest

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

BooleanUtilTest

testToBooleanKnowsItsBasicEnglishVocabulary0
testToBooleanUsesDefaultValueForUnknownValues0.001
testToBooleanHandlesNullsAndEmptyStringsGracefully0

WebXmlUtilTest

testCanDetectServletRegistration0.008
testCanDetectFilterRegistration0.003
testFilterDispatcherErrorIsNotMandatory0.002
testFilterDispatcherChecksShouldNotFailWithCorrectConfiguration0.003
testFilterDispatcherChecksShouldFailIfIncludeIsMissing0.002
testFilterDispatcherChecksShouldFailIfRequestIsMissing0.002
testFilterDispatcherChecksShouldFailIfDispatcherNotSet0.002
testFilterDispatcherOrderIsIrrelevant0.003
testFilterDispatcherChecksShouldNotFailIfFilterNotRegistered0.001

ExtendingContentWrapperRepositoryTest

testIsExistsMethodWhenNodeDoesNotExistAndAbsolutePath0.717
testIsExistsMethodWhenAbsolutPathAndNodeExists0.64

SystemContentWrapperTest

testWrappingReferencedContent0.651
testWrappingNDParent0.681
testClosedSessionResistance0.648

PathUtilTest

testStripExtension0
testAddLeadingSlash0
testGetExtension0
testCreatePath0
testGetFileName0
testGetFileNameDoesNotSupportNullArgument0
testGetFolder0.001
testAddLeadingSlashDoesNotSupportNullArgument0
testCreatePathDoesNotSupportNullArgument0

ClassUtilTest

testIsSubClass0

NodeDataUtilTest

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

RequestDispatchUtilTest

testDispatchRedirectNonInternal0.013
testDispatchRedirectInternal0
testDispatchWithNullURI0
testDispatchRedirectNonInternalFailure0

LazyNodeDataWrapperTest

testWorkOnDeadSession0.079
testDoesNotCallHierarchyManagerUntilNeeded0.003
testCallHierarchyManagerOnlyFirstTime0.006

UnicodeNormalizerTest

testNormalizationAlsoWorksForStringsThatWereOriginallyNotUTF8WithAutoDetect0.015
testNFCStringIsStillEqualsAfterNormalizeCallWithAutoDetect0
testNormalizingNFDStringMakesItEqualsToNFCStringWithAutoDetect0.001
testJava6Normalizer0.001
testAsciiStringsShouldPassThroughWithAutoDetect0.001
testNonNormalizer0.001

ExtendingContentWrapperTest

testThatSubNodesAreMerged0.019
testThatOrderIsKeptWhileMergingSubNodes0.018
testExtendsNodeDatasIsHidden0.017
testDeepMerge0.018
testThatSubNodesCanBeOverwritten0.017
testExtendsNonAbsolutelyAndNodeIsNotExisting0.018
testThatNodeDatasAreMerged0.018
testComplextMultipleInheritanceWithOverride0.017
testThatNodeDatasCanBeOverriden0.017
testComplextMultipleInheritance10.018
testComplextMultipleInheritance20.021
testBasicMultipleInheritance0.016
testExtendsAbsolutelyAndNodeIsNotExisting0.015
testExtendsWithEmptyValue0.015
testGetHandle0.015

ExceptionUtilTest

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

WorkspaceXmlUtilTest

testWorkspaceNamesWithNullExpectation0.003
testWorkspaceNamesWithNonNullExpectation0.004

RuleTest

testIsNotAllowedNode0.686
testRuleStringConstructor0.623
testIsAllowedNode0.844

TextFileUtilTest

testGetLines0
testGetTrimmedLinesMatchingWhenExpressionIsNotContained0.001
testGetTrimmedLinesMatching0
testGetLinesWhenFileIsNotExisiting0.001

NodeUuidComparatorTest

testBasic0

SimpleUrlPatternTest

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

QueryUtilTest

testQueryWhenSearchingJustForComponents1.009
testSimpleQuery0.814
testSearchForUUID0.83
testJQOM0.779
testSearchForAreasContainingImage0.765
testQueryBuild0.774
testQueryWhenSearchingJustForPages0.756
testSearchOfNonDefaultNodeType0.77
testSearchForUUIDInChildNode0.753
testEmptyResult0.741
testResultContainsOnlyPages0.793
testSearchForPagesWhoseComponentIsContainingSpecificText0.775
testSearchForInheritedUUID0.735
testConfirmThatFilteredResultIsReallyTheWantedOne0.726
testSearchForSpecificTemplate0.7

DelayedExecutorTest

testDelayedExecution0.602
testMultipleDelayedExecution0.757
testExecutionAfterMaxDelay2.026

ServletUtilTest

testFilterInitParametersToMap0
testIsMultipart0
testIsForward0
testServletInitParametersToMap0
testGetDispatcherType0
testGetWrappedRequest0
testGetOriginalRequestUri0
testGetOriginalRequestUrlIncludingQueryString0
testIsError0
testIsInclude0

StringLengthComparatorTest

testBasic0

LazyContentWrapperTest

testWrappingReferencedContent0.632
testWrappingNDParent0.611
testClosedSessionResistance0.599

ObservationUtilTest

testRegisterWhenSessionValid0.019
testFailRegisterWhenSessionInvalid0.012
testUnregisterWhenSessionValid0.013
testDontFailUnregisterWhenSessionInvalid0.013

SearchReplaceTest

testDefaultsToLiteralMatching0.006
testCanUseJokerInNamePatterns0.003
testCaseInsensitive0.003
testCanUseNamePatterns0.003

ContentUtilTest

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

ContentUtilRepoTest

testChangeNodeTypeReplaceFirstOccurrenceOnly0.651
testSessionBasedCopy0.596
testMoveInSession0.628
testChangeNodeTypeReplaceAllOccurrences0.602

InheritanceContentWrapperTest

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

NodePathComparatorTest

testBasic0

ModuleConfigurationObservingManagerTest

testObserving6.05

NodeTypeBasedACLPermissionsTest

testCanReadRoot0.025
testCanReadOnPageNode0.019
testGrantsOnContentNode0.019
testCanReadOnContentNode0.02
testCanReadInvalidNodeTypeSpecified0.02
testCanReadAnyNodeTypesSpecified0.02
testGrantsOnPageNode0.019
testGrantsMultipleNodeTypesSpecified0.02
testGrantsHigherPermissionThenAssigned0.019

AggregationStateTest

testUriDecodingShouldStripCtxPath0
testGetSelectors0.001
testUriDecodingShouldReturnPassedURIDoesntContainCtxPath0

BinaryNodeDataTest

testThatStreamIsSetOnTheWrappedNode0.004
testThatAttributesAreSetOnTheWrappedNode0
testThatTheBinaryContentCanBeReadMultipleTimes0

MgnlVersioningNodeWrapperTest

testMultipleWrappingIsPossible0

BaseVersionManagerTest

testCreateAndRestoreVersionAndCheckOrder0.768
testUseSystemSessionToRetrieveVersions0.039
testCreateAndRestoreDeletedVersion0.079
testCreateAndRestoreVersionAndCheckOrderBetweenTwoVersions0.152
testNumberOfCreatedVersions0.139
testCreateAndRestoreVersion0.081

ContentVersionTest

testRestoringBinariesFromContentVersion0.35
testRetrievingBinariesFromContentVersionsChildNode0.695
testBasics0.759
testRetrievingBinariesFromContentVersion0.695

VersionedNodeTest

testMultipleWrappingIsPossible0
testWrapProperty0.05

NodeTest

testNameFilteringWorksForBothBinaryAndNonBinaryProperties0.636
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.61
testCreatingAnExistingNodeDataDoesNotFail0.623
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType0.6
testReadingANodeData0.635
testCreatingAndSettingANodeData0.595
testIsNodeTypeForNodeChecksPrimaryType0.594
testAddMixin0.627
testIsNodeTypeForNodeCheckFrozenTypeForSupertypesIfWereNotLookingForFrozenNodes0.608
testSettingANonExistingNodeDataCreatesANewNodeData0.59
testSettingAnExistingNodeData0.615
testStringPropertiesCanBeRetrievedByStreamAndViceVersa0.595
testThatReadingANonExistingNodeDataFail0.618
testIsNotNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.623

DefaultContentTest

testNameFilteringWorksForBothBinaryAndNonBinaryProperties0.644
testThatReadingANonExistingNodeDataDoesNotFail0.652
testIsNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.634
testCreatingAnEmptyNodeDataSetsADefaultValueIfPossible0.612
testCreatingAnExistingNodeDataDoesNotFail0.586
testIsNodeTypeForNodeDoesNotCheckFrozenTypeIfTheRequestedTypeIsFrozenType0.587
testReadingANodeData0.608
testCreatingAndSettingANodeData0.584
testIsNodeTypeForNodeChecksPrimaryType0.601
testAddMixin0.586
testIsNodeTypeForNodeCheckFrozenTypeForSupertypesIfWereNotLookingForFrozenNodes0.628
testSettingANonExistingNodeDataCreatesANewNodeData0.588
testCreatingAnEmptyNodeData0.584
testModDate0.62
testCreatingAndSettingABooleanNodeData0.585
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeData0.646
testDelete0.614
testEquals0.583
testSettingAnExistingNodeData0.609
testCreatingAndReadingABinaryNodeData0.596
testStringPropertiesCanBeRetrievedByStreamAndViceVersa0.614
testThatReadingANonExistingNodeDataReturnsAnEmptyNodeDataWhichIsUnmutable0.586
testEqualsWithWrongType0.577
testEqualsWithNull1.019
testIsNotNodeTypeForNodeCheckFrozenTypeIfWereNotLookingForFrozenNodes0.596

RootOnlyPermissionTest

testCanRead0.014
testNoRootNode0.012
testGrants0.012

DefaultACLPermissionsTest

testCanReadRoot0.018
testCanReadOnPageNode0.015
testGrantsOnContentNode0.015
testCanReadOnContentNode0.016
testGrantsOnPageNode0.015
testGrantsHigherPermissionThenAssigned0.014

PathTest

testGetAbsoluteFileSystemPathPrependsApplicationRootDirIfPathIsRelative0
testIsAbsolute0
testGetAbsoluteFileSystemPathReturnsArgumentIfPathIsAbsolute0
testGetValidatedLabel0.001
testIsCharValid0

MetaDataTest

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

QueryTest

testSimpleQuery0.746
testMaxResultSize0.642

MagnoliaAccessProviderTest

testPermissionClassNotDefined0.051
testReadOnlyPermissionsToJcrSystemAreSetForUser0.029
testPermissionWrongClassDefined0.027
testPermissionNonexistingClassDefined0.028
testPermissionClassDefined0.027
testPermissionWrongClassConstructor0.027

FilterTest

testBypassing0.075
testDecoratedFilter0.03
testInitialization0.015

MultipartRequestWrapperTest

testWillNotHideNewParametersAfterDoingForward0.011

MultipartRequestFilterTest

testFilterCommonsFileUpload0.063
testFilterCOS0.022

InstallFilterTest

testPassesNullAsCommandIfNoneSpecifiedWithTrailingSlash0.013
testExecutesCorrectCommandBasedOnURI0.011
testPassesNullAsCommandIfNoneSpecified0.01

UnicodeNormalizationRequestWrapperTest

testWillNotBlockNewlyAddedParametersOnForward0.011

RangeSupportFilterTest

testContentIsServedFromOutputStreamInNewRequestAfterHeadRequestWasExecuted0.036
testContentLengthIsNotSet0.007

ServletDispatchingFilterTest

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

MultipartRequestFilterTempFileDeletionTest

testMultipartFilterFileDeletion0.029
testCOSMultipartFilterFileDeletion0.009

CompositeFilterTest

testInitializationAndDestruction0.011

MultiChannelFilterTest

testChannelFromResolverGetsSet0.006
testALLGetsSetWhenThereIsNoResolver0.001
testChannelParameterValueGetsSet0.002

ContentTypeFilterTest

testFilterWithEmptyDefaultExtension0.594

InterceptFilterTest

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

AbstractI18NContentSupportTest

testGetLocaleWorksWhenNotInWebContext0.001

DefaultI18NContentSupportTest

testDetermineLocaleEndlessLoop0.014
testGetNodeDataEndlessLoop0.011
testDetermineLocale0.012

MessagesManagerTest

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

HierarchyBasedI18nContentSupportTest

testDetermineLocaleEndlessLoop0.015
testGetNodeDataEndlessLoop0.011
testDetermineLocale0.014

RegexpVirtualURIMappingTest

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

URI2RepositoryManagerTest

testGetURIWhenLinkIsEditorBinaryLinkAndPrefixHandleIsSet0.002
testGetURIWhenLinkIsNotEditorBinaryLinkAndPrefixHandleIsSet0

URI2RepositoryMappingTest

testGetHandleWhenLinkWithPrefixHandleDoesNotExistInRepo0.015
testGetUri0.011
testGetHandleWhenLinkWithPrefixHandleExistInRepo0.001
testGetHandleStripsExtensionInclTheDot0.003

AccessManagerImplTest

testMultiThreadAccess0.06
testGetPermissions0.001

PermissionUtilTest

testFailsOnCustomPermissions0
testSuccessOnCustomPermissionAndNormalPermission0
testConvertPermissions0
testIsGrantedForEmptyPermissionString0.001

ContentSecurityFilterTest

testIsAllowedForOther0.251
testIsAllowedForAnonymous0.004

MgnlUserManagerRepositoryTest

testUserPasswordAfterChangingByJCRPropertyValueType2.327
testNewlyCreatedUserNodeHasMixinLockable1.647
testDoNotCreateUserWhenExistInAnotherRealm1.129
testCreateUserWhenExistInAnotherRealmAndCrossRealmDuplicateNamesAreAllowed1.656
testUserPasswordAfterChangingByJCRProperty2.136
testUserPasswordAfterCodeCreation1.62
testDoNotCreateUserWhenExistInAnotherRealmAndCrossRealmDuplicateNamesAreNotAllowed1.101

SecurityTest

testMergePrincipals0.007

DelegatingUserManagerTest

testGetUserWillNotThrowErrorIfUserManagerDoesNotSupportGetUserMethod0.001

MgnlUserManagerTest

testUsernameCantBeBlank0
testUsernameCantBeEmpty0.001
testSetStringProperty0.019
testUserHasAccessToHisOwnProperties0.507
testFindPrincipalNode0.02
testSetPropertyToNull0.002
testUserWasCreatedUnderCertainPath0.506
testSetProperty0.002
testUsernameCantBeNull0
testFindPrincipalNodeWithOtherRealm0.004
testUsernameIsValidatedUponCreation0.001

SecurityUtilTest

testPasswordRemovingMethodFromCache0.607
testRemoveAllPasswordPamametersFromCacheLog0.579
testCrypt1.486
testUpdateKeysKeyLocationIsSet0.635
testBCProvider0.713
testKeyStore0.669
testUpdateKeysKeyLocationIsNotSet0.578
testPasswordRemovingMethodFromURL0.579

RedirectClientCallbackTest

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

OperationPermissionTest

testCanExecuteOtherRolesAssigned0.001
testCanExecuteAnyRoleAssigned0.001
testCanMoveThisUserRoleAssigned0.001

MgnlGroupTest

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

SecurityUtilKeyStoreTest

testKeyStoreInCurrentFolder0.101
testKeyStoreInSomeOtherFolder0.053

URISecurityFilterTest

testIsAllowedForOther0.01
testIsAllowedForAnonymous0.005

ACLImplTest

testToStringOnlyOnePermission0
testToStringMultiplePermissions0

PrincipalUtilTest

testFindPrincipalInCollection0
testRemovePrincipalFromCollection0.001
testRemovePrincipal0
testFindACLByName0
testFindPrincipal0

RescueSecuritySupportTest

testUserManagerIsAnInstanceOfRescueUserManager0.019
testUserManagerReturnsCorrectAnonymousUser1.027
testUserManagerRealmIsSystemRealm0.018
testUserManagerReturnsAnonymousUserByAnyNameExcludedSystemUserName1.026
testUserManagerReturnsSystemUserWithCorrectRole0.524
testUserManagerReturnsRescueUserWithEnglishAsDefaultLanguage0.523
testUserManagerReturnsCorrectSystemUserByName1.031
testUserManagerReturnsEnabledRescueUser0.524
testUserManagerReturnsCorrectSystemUser1.035
testUserManagerReturnsSystemUserWithCorrectGroup0.523

MgnlUserTest

testGetAllGroupsReturnsDirectAndInheritedGroups0.009
testGetGroupsReturnsDirectGroupsWithoutDuplicates0.007
testGetAllRolesReturnsDirectAndInheritedRoles0.008
testGetRolesReturnsDirectRolesWithoutDuplicates0.007
testInGroup0.01
testGetRolesReturnsDirectRoles0.008
testGetGroupsReturnsOnlyDirectGroups0.008

HierarchicalUserManagerTest

testParentPathShouldReflectFirstLettersOfNameAndIncludeRealmName0.636
testGroupAddingAndRemoving0.637
testRoleAddingAndRemoving0.656
testParentPathIsRealmIfNameShorterThan3Chars0.604
testParentPathShouldBeLowercased0.601

NodeTypePredicateTest

testEvaluateSupertypes0
testEvaluate0.001

JCRPropertyHidingPredicateTest

testReturnsFalseOnException0.001
testEvaluate0

JCRMgnlPropertyHidingPredicateTest

testReturnsFalseOnException0
testEvaluate0

JCRMgnlPropertiesFilteringNodeWrapperTest

testMultipleWrappingIsNotPossible0.001

PropertyFilteringNodeWrapperTest

testMultipleWrappingIsPossible0
testPropertiesAreFilteredOut0

JCRPropertiesFilteringNodeWrapperTest

testMultipleWrappingIsNotPossible0

HTMLEscapingNodeWrapperTest

testNodeReturnedFromPropertyIsWrapped0.01
testNodeNameIsWrappedAndEncoded0
testPropertyIsWrappedAndEncoded0.001
testMultipleWrappingIsNotSupported0
testPropertyReturnedFromPropertyIsWrapped0
testNodeReturnedFromAncestorIsWrapped0
testNameHaveToBeEscapedBecauseOfXss0
testPropertyFromNodeReturnedFromPropertyIsWrapped0
testNodeReturnedFromParentIsWrapped0
testPropertyIteratorReturnsWrappedProperty0.001
testLineBreakEncoding0
testPropertyNameIsWrappedAndEncoded0

I18nContentDecoratorTest

testMultipleWrappingIsNotPossible0.598

ChannelVisibilityContentDecoratorTest

testMultipleWrappingIsPossible0.572

I18nNodeWrapperTest

testHasPropertyReturnsTrueWhenOnlyLocaleVariantIsAvailable0.011
testMultipleWrappingIsNotSupported0.009
testWrapNode0.009
testGetRootParentThrowsItemNotFoundException0.01
testGetParentReturnsWrappedNode0.01
testGetPropertyReturnsLocalizedValue0.013
testHasPropertyReturnsFalseWhenNoSuchPropertyExists0.01
testHasPropertyReturnsTrueWhenOnlyDefaultIsAvailable0.011
testGetPropertyDoesntReturnResourceNode0.01
testGetAncestorReturnsWrappedNode0.009

LazyNodeWrapperTest

testMultipleWrappingIsPossible0.604

DelegateSessionWrapperTest

testUnwrap0

ChannelVisibilitySessionWrapperTest

testGetItem0.608
testGetNode0.6
testNodeExists0.655
testCanRemoveVisibleItem0.603
testGetProperty0.582
testPropertyExists0.602
testNavigatingWithNodeParentStillHidesExcludedNode0.575
testItemExists0.598
testMoveWorksOnVisibleNode0.58
testFailsToRemoveHiddenItem0.582
testFailsToMoveHiddenNode0.597
testRootNodeHidesExcludedNode0.572

DelegateNodeWrapperTest

test4LevelDeepUnwrapAtLastLevel0.001
testWrapAlreadyWrappedWithThisClass0
testIsSame0
test4LevelDeepUnwrap0
testDeepUnwrap0

ChildFilteringNodeWrapperTest

testNodesAreFilteredOut0.001
testMultipleWrappingIsPossible0

HTMLEscapingContentDecoratorTest

testMultipleWrappingIsNotPossible0

InheritanceNodeWrapperTest

testSingleComponentInheritance0.003
testRoot0.001
testNestedPropertyInheritance0.001
testCollectionInheritance0.003
testMultipleInheritanceHaveToWork0
testPropertyInheritance0.001
testNestedComponentInheritance0.001

ContentMapTest

test0.005
testGetBasicProps0.001
testGetBinaryProps0.002
testGetOtherProps0

PropertyUtilTest

testGetDateThreeArgs0
testSetPropertyToString0.001
testGetDateTwoArgs0
testSetPropertyToLong0
testSetPropertyToNode0
testGetStringThreeArgsBadNodeName0
testGetStringThreeArgsBadNodeType0
testGetDateThreeArgsBadNodeType0
testSetPropertyToNul0
testGetPropertyOrNullPathNotFoundException0.001
testSetPropertyToBoolean0
testGetPropertyOrNull0
testGetStringThreeArgs0
testGetStringWhenNodeIsNull0
testGetDetThreeArgsBadNodeName0
testGetBooleanBadNodeName0
testGetBooleanBadNodeType0
testOrderLast0
testGetBoolean0.001
testSetPropertyToBigDecimal0
testGetStringTwoArgs0
testSetPropertyToValue0
testSetPropertyThrowsExceptionOnNullName0
testSetPropertyThrowsExceptionOnNullNode0
testSetPropertyToCalendar0
testGetStringReturnDefaultValueWhenNodeIsNull0
testSetPropertyToDouble0.001

VersionUtilTest

testGetNodeTypeName0

MetaDataUtilTest

testUpdateMetaData0.001
testGetMetaData0

SessionUtilTest

testGetNodeByIdentifierNoSessionPassed0.001
testHasSameUnderlyingSessionWithTwoWrappersOnSameSession0
testGetNodeBadPath0.001
testGetNode0
testGetNodeNoSessionPassed0.001
testGetNodeByIdentifier0
testGetNodeByRelativePathWhenNodeDoesNotExist0.001
testGetNodeByRelativePath0
testHasSameUnderlyingSessionWithTwoUnwrappedSessions0.001
testHasSameUnderlyingSessionWithOneWrapperOnDifferentSession0
testGetNodeByIdentifierBadId0.001

PropertiesImportExportTest

testCreateNodesFailingBecauseOfDotInPath0
testCreateNodes0
testCreateNodesFailingBecauseOfMissingTrailingSlash0
testConvertPropertyStringToBinaryObject0.001
testCreateNodesFailingBecauseOfEqualsSignWithoutADot0
testCreateNodesFailingBecauseOfDotAndMonkeyTail0
testConvertsToWrapperType0.001
testCanUseIntShortcutForConvertingIntegers0.001

NodeUtilRepositoryTest

testRenameNode0.631
testMoveNodeAfter0.586
testMoveNode0.591
testMoveNodeBefore0.607

NodeUtilTest

testGetNameFromNodeThrowsRuntimeRepositoryException0.001
testCollectAllChildren_DefaultPredicate_Simple0
testCollectAllChildren_SpecificPredicate_FilterType_ThreeLevel0.001
testPostVisit0.001
testGetNodes0
testGetSiblingsBeforeWithType0.001
testHasMixinFailsWithEmptyMixin0
testVisit0.001
testCollectionFromNodeIteratorKeepSameOrderOfEntries0
testOrderAfterWithNullSibling0
testGetNodeByIdentifierMissingParam0
testCollectAllChildren_DefaultPredicate_FilterType_ThreeLevel0.001
testGetNodeByIdentifier0
testNodeHasMixinLockable0
testOrderFirst0
testGetSiblingsWithPredicate0
testGetNodesWithNodeFilter0
testOrderLast0
testGetNodeWithContentType0.001
testCreatePathDoesntCreateNewWhenExisting0
testCreatePath0.001
testOrderBeforeWithNullSibling0
testOrderBeforeWithExistingNodeAndSibling0
testHasMixin0
testOrderAfterWithExistingNodeAndSibling0
testGetNodeByIdentifierNoNodeFound0.001
testGetSiblingsAfterWithType0
testGetNameFromNode0
testCollectAllChildren_DefaultPredicate_FilterType0
testGetSiblingsWithType0.001
testGetSiblingsAfter0
testAreSiblingsTrue0
testGetSiblings0
testGetSiblingsBefore0
testAreSiblingsFalse0
testUnwrap0.001
testGetAncestors_Level00.001
testGetAncestors_Level30
testGetPathIfPossible0.001

OpsTest

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

NodeBuilderTest

testExecWithSeveralChildOps0.001
testRealisticUsageScenario0.002

AbstractNodeOperationTest

testThen0.001

ContentDecoratorNodeWrapperTest

returnsWrappedPropertyGetPropertyFromProperty0
multipleInheritanceDisabledTest0
returnsWrappedPropertyOnSetProperty0.001
testEqualsWithDifferentNodes0
testEquals0
testEqualsWithDifferentDecorators0

NodePredicateContentDecoratorTest

multipleInheritanceShouldBeEnabledTest0.003

ContentDecoratorWorkspaceWrapperTest

returnsWrappedSessionFromWorkspace0

ContentDecoratorUtilTest

returnsFalseWhenNotDecorated0
returnsTrueWhenQueriedForSubClass0
returnsTrueWhenQueriedForExactClass0
returnsFalseWhenDecoratedByOtherDecorator0

InheritanceContentDecoratorTest

multipleInheritanceForSubclassDestinationNodeInheritanceNodeWrapperHaveToBeEnabledTest0.002
testDeepUnwrapFromDestinationNodeInheritanceNodeWrapper0
multipleInheritanceHaveToBeEnabledTest0.001
testDeepUnwrap0.001

MockNodeTest

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

MockValueTest

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

NodeTestUtilTest

testCreateValues0
testNodeFromStringAndObjectArray0
testNodeFromStringAndStrings0.001

SessionTestUtilTest

testCreateSessionWithStringVarargs0
testMockSessionSetsProperWorkspaceName0
testCreateSessionFromString0

MockSessionTest

testConstructionProperlyWiresSessionToRoot0
testGetItem0
testGetNodeByIdentifier0
testGetItemOnNonAbsolutePathFails0
testNodeExistsFromString0
testGetItemOnNonExistingPathFails0.001
testGetNodeFromStringe0
testConstructionProperlyWiresWorkspaceToSession0
testGetPropertyFromString0

MockItemTest

testGetDepth0
testGetPath0

MockPropertyTest

testGetSetValueWithBigDecimal0
testGetValue0.001
testIsMultiple0
testGetType0
testAccept0.001
testIsNode0.001
testGetString0

MockObservationManagerTest

willRefuseToFilterLocalChanges0
willRefuseToFilterOnUuid0
setsUserDataInEvent0
canFilterOnNodeType0
canFilterOnPath0
canAddRemoveAndSeeAddedListeners0.001

Content2NodeCollectionWrapperTest

testRetainAll0
testRemoveAll0

MockObjectTest

testSetABooleanValueOnANodeData0
testCreatingANode0
testDeletingReallyWorks0.001
testRootNodeOfHierarchyManger0
testCreatingASubNode0
testGetANodeAddedToASubNode0.001
testSetAnObjectAndResolvePropertyType0.001

MockComponentProviderTest

testThrowsExceptionWhenCreatingAStringInstance0
testThrowsExceptionWhenEncounteringConstructorTakingStringArgument0.001

MockUtilTest

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

MockAccessManagerTest

testThatWeHaveAllPermissions0

NodeData2PropertyCollectionWrapperTest

testRetainAll0
testRemoveAll0

MockContentTest

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

MockNodeDataTest

testSetValueWithParamValue0
testCanGetHandle0
testCanDeleteSelf0.001

MockHierarchyManagerTest

testThatIsGrantedMethodDoesntProduceNullPointer0

ComponentsTestUtilTest

testSetSingletonInstance0
testConfiguredImplementation0.001
testInstanceFactory0.002

SelfTest

testCommandIsSetCorrectlyFromPrototype0.001
testJackrabbitUnregistersProperly0.146

ContentModelTest

testCanBeUnwrappedByDeepUnWrap0

UserModelTest

testCanBeUnwrappedByDeepUnWrap0

BinaryNodeDataModelTest

testCanBeUnwrappedByDeepUnWrap0.001

FreemarkerHelperTest

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

BootstrapFilesComparatorTest

testXmlShouldBeBeforeProperties0
testZipAndGzShouldBeIgnoredInSortingXmlBeforeProperties0
testFilesAreOrderedByFileNameLength0

BootstrapUtilTest

testGetFilenameFromResource0
testGetWorkspaceNameFromResource0
testGetFullpathFromResource0
testGetPathnameFromResource0

PropertiesImportExportTest

testImportMetadata0.002
testPropertiesExport0.004
testConvertsToStringByDefault0
testConvertsToWrapperType0
testCanUseIntShortcutForConvertingIntegers0.001

DataTransporterTest

testEncodePath0
testParseAndFormat0.043
testRemoveNs0.002
testCreateExportPath0.001
testRevertExportPath0

MagnoliaV2FilterTest

testBogusMetaElement0.01

DataTransporterRepositoryTest

testIfExportContainsJcrAccessControlNode0.811
testDoctypeImport0.796

Content2BeanTest

testFromStringConversion0.013
testWillNotAddIncorrectTypesToMap0.017
testCanSpecifySpecificMapImplementation0.006
testClassNamesAreTrimmed0.014
testClassPropertiesAreConvertedProperly0.012
testContentToBeanWithArraysUsingAdder0.014
testFlatteningSubNodesToSimpleList0.014
testContentToBeanWithSubMap0.013
testJCRPropertiesTypes0.011
testWillFailToUseACustomMapWhichIsNotConcrete0.014
testContentToBeanWithSubBeanAndAutoTypeResolving0.013
testContentToBeanWithClassDefined0.011
testWillNodAddIncorrectTypesToCollection0.013
testCanConvertStringsToTheAppropriateEnumEquivalent0.012
testContentToBeanWithSubBean0.014
testContentToBeanWithSubMapUsingMapping0.013
testContentToBeanWithSubMapUsingAdder0.013
testContentToBeanWithDefaultClass0.01
testCanSpecifySpecificCollectionImplementation0.01
TODO - MAGNOLIA-3160

Content2BeanProxyTest

testContentToBeanWithClassDefined0.011

RequestAttributeStrategyTest

testSessionAttributes0.003
testLocalAttributes0.001
testApplicationAttributes0

SimpleContextTest

testSimpleContextDelegateGetJCRSessionMethod0.581

MgnlContextTest

testCanDeclareCheckExceptionToBeThrownByDoInSystemContext0.001
testCanThrowRuntimeExceptionsWithoutSpecificThrowsClauseInDoInSystemContext0.001

WriterResponseWrapperTest

testCantUseOutputStreamAfterWriter0
testCantUseWriterAfterOutputStream0

DefaultRepositoryStrategyTest

testPasswordIsNull0.622
testGetUserCredentialsReturnsCredentialsFromContextUserIfSet0.579

AbstractRepositoryStrategyTest

testGetSession0.575

WebContextImplTest

testLoginLogout0.01

ClassesTest

testCanSetupADifferentClassFactory0.007
testDefaultClassFactoryWorksJustFine0.007

GuiceComponentProviderLifecycleTest

testExtends0.203
testSameNamePrivateMethods0.017
testPrivateMethods0.015
testOverridesRemovesAnnotations0.014
testLifeCycleOnPackageProtectedMethods0.022
testOverrides0.017
testLifeCycleOnClassThatExtendsClassWithPackageProtectedMethods0.017
testMultipleAnnotatedMethods0.017
testLifeCycleOnClassThatOverridesPackageProtectedMethods0.015
testSimpleLifeCycle0.017

GuiceScopesTest

testRequestScope0.014
testContextProvidersWhenWebContextSet0.014
testServletProvidersWhenWebContextSet0.01
testContextProvidersWhenContextSet0.01
testSessionScopeFailsWhenNotInWebContext0.012
testServletProvidersFailWhenWebContextNotSet0.01
testRequestScopeFailsWhenNotInWebContext0.009
testSessionScope0.009

GuiceComponentProviderTest

testConfiguredInSingletonScope0.038
testCreateChild0.032
canAccessProperties0.044
testConfigured0.016
testImplementation0.009
testObserved0.018
testInstance0.008
getComponentThrowsExeptionForUnconfiguredType0.008
testObservedInRequestScope0.015
testGetComponentProvider0.008

GuiceComponentProviderBuilderTest

testBuildWithComponentConfigurers0.008

ComponentProviderConfigurationBuilderTest

testNonScopedComponent0.021
testSingletonScopedComponentFactory0.019
testEagerSingletonScopedComponent0.016
testProvider0.02
testLazySingletonScopedComponent0.016
testConfiguredEagerSingleton0.018
testConfigured0.017
testComponentFactory0.016
testObserved0.022
testConfiguredSingleton0.018
testSingletonScopedProvider0.016

ComponentConfigurationReaderTest

testCanReadPlatformComponentsFile0.003

LegacyComponentsConfigurerTest

testExcludedKeys0.007
testLegacy0.01

ComponentsTest

testPushingAndPoppingComponentProvider0.001

DefaultComponentProviderTest

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

ObjectFactoryTest

testSettingSystemPropertyIntoDefaultComponentStillAllowsToSwapImplementationsLater0

DefaultClassFactoryTest

testCanInstantiateWithAppropriateConstructor0
testCanInstantiateWithSingleArgConstructorAndNullParamWhenSignatureIspecified0
testCanInstantiateWithAppropriateConstructorAndNullParamsWhenSignatureIsSpecified0
testCanInstantiateWithEmptyConstructor0
testCanInstantiateWithBestMatchingConstructorWhenTheSignatureIsMorePrecise0

ObjectManufacturerTest

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

ObservedComponentFactoryTest

testProxyIsSwappedOncePathGetsReloaded0.006
testReturnsAProxyToGivenTypeIfConcreteClassEvenIfPathDoesNotExistYet0.001

EditorLinkTransformerTest

testEditorLinkTransformation0.001

UUIDLinkTest

testUUIDToBinaryEncoded0.012
testUUIDToBinary0.01
testParseLink0.01
testParseFromBrowserLink0.01
testUUIDToAbsoluteLinksAfterRenaming0.01
testParseFromUUIDPattern0.009
testLinkWithAnchor0.011
testLinkWithParameters0.011
testUUIDToBinaryAfterRenaming0.01

LinkUtilTest

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

EscapeUtilTest

testEscapeUnescapeArray0
testEscapeUnescape0.001

DefaultMagnoliaInitPathsTest

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

ModulePropertiesSourceTest

testPropertiesCanBeOverriddenUsingDependencyOrderingOfModules0
testDifferentPropertiesCanRegisteredByDifferentModulesEllipsisDuh0

AbstractMagnoliaConfigurationPropertiesTest

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

DefaultMagnoliaPropertiesResolverTest

testSystemPropertiesCanBeUsed0.004
testDefaultLocations0.001
testFileResolutionCtxAttributes0.001
testFileResolutionWithRootContextPath0
unexistingContextParamsAttributesAndPropertiesAreNotSubstituted0
testLocationsAreTrimmed0
testSourcesOnlyIncludeExistingLocations0.003
testEnvironmentPropertiesCanBeUsed0.001
testFileResolutionWithContextPath0.001

MagnoliaServletContextListenerTest

testNullSeverNameIsSetToDeault0.068

AuditLoggingManagerTest

testNoErrorIsThrownInCaseOfMissingLogConfiguration0

MgnlAuditLoggingContentDecoratorTest

testIsContentWrappedByMgnlAuditLogContentDecorator0.726
testSequenceActionMoveCreate0.709
testSequenceActionMoveDelete0.734
testSequenceCreateModifyDelete0.665
testSequenceActionCreateCreate1.092
testSequenceActionMoveModify0.67
testSequenceActionCreateSessionDelete0.641
testSequenceActionModifyMoveDelete0.732
testLogSessionDelete0.69
testSequenceCreateModify0.689
testSequenceActionCreateNodeDelete0.641
testSequenceActionModifySessionDelete0.72
testSequenceActionSessionDeleteCreate0.695
testLogModifyNode0.641
testLogModifyProperty0.665
testLogCreateNode0.634
testLogNodeDeleteCreateDelete0.701
testLogDeleteNode0.678
testLogMoveNode0.663
testLogCreateNodeWithSpecificNodeType0.633
testSequenceActionNodeDeleteCreate0.71
testSequenceActionModifyCreate1.132
testNodeSave0.758
testSequenceActionModifyMove0.671
testSequenceActionModifyNodeDelete0.671
testSequenceCreateMove0.649
testSequenceActionModifyModify0.64
testSequenceActionMoveModifyDelete0.707

AuditLoggingUtilTest

testLogsLoginSuccesses0
testLogsLoginFailures0

Utf8ContentTest

testReadingUtf8Greek0.611
testReadingUtf8JapaneseChars0.638
testReadingUtf8AccentedChars0.604
testCreateExportImportContentUtf8SpecialChars0.612
testReadingUtf8SpecialChars0.65
testSettingNewUtf8ContentNode0.619
testSettingAnUtf8NodeData0.6
testReadingUtf8Russian0.623

ProxyBasedBeanMergerTest

testMergeUsesSubClassIfAssignable0.007
testMergeOfInterfaces0.003
testMergeMap0.006
testMergedProperties0.004
testMergeMergedClass0.001
testIsSimpleType0

BeanMergerUtilTest

testBeanMergerUtilProperlyHandsOverProvidedObjects0

HashUsersPasswordsTest

testEncryption1.014

RenameACLNodesTaskTest

testRenameACLNodesTask0.601

UpdateSecurityFilterClientCallbacksConfigurationTest

simpleCustomCallbackMovedAndBackedUpWithWarning0.672
rearrangementOfBasicDefaultConfig0.631
rearrangementOfSTKsDefaultConfig0.614
nonStandardCompositeConfigIsBackedUp0.693

CoreModuleVersionHandlerTest

testPngSwfMimeTypesOnInstall2.717
test45DoesNotInstallWhenFromSmallerThan4460.645
testMP4MimeTypesOnInstall2.409
test446MimeTypesOnInstall2.364
testUpgradeFrom4461.194

OpsTest

testRemoveFailsOnUnexistingPropertyOrNode0.788
testSetPropertyFailsIfPropertyDoesNotExist0.797
testSetPropertyFailsIfPropertyDoesNotHaveExpectedValue0.612
testAddPropertyFailsIfPropertyExists0.632
testRenamePropertyAndCheckValueForString0.585

ModuleConfigNodeBuilderTaskTest

testModuleConfigNodeIsCreatedIfNeeded0.595
testModuleNodeIsCreatedIfNeeded0.639
testUsesExistingModuleConfigNode0.593

ModuleNodeBuilderTaskTest

testUsesExistingModuleNode0.704
testModuleNodeIsCreatedIfNeeded0.629

NodeBuilderTaskTest

testUnknownRootThrowsException0.648
testSyntax0.627

ContentOpsTest

testSetTemplate0.001
testCreateParagraph0
testCreatePage0.001
testCreateContent0
testSetBinaryNodeData0.001
testCreateCollectionNode0

AbstractNodeOperationTest

testThatSubsequentCallsToTheThenMethodAdd0

NodeBuilderTest

testContextNodeIsProperlyPropagated0.595
testPropertyNotReplaceIfCurrentValueDoesNotMatchExpectations0.608
testErrorMessages0.644

IfVoterTest

testReturns0IfConditionIsFalseAndOtherwiseIsntSet0.001
testReturnsValueOfElseIfConditionIsTrue0
testReturnsValueOfOtherwiseIfConditionIsFalse0

DomainNameRegexVoterTest

testMatchingDomain0
testNonMatchingDomain0

URIPatternVoterTest

testVotesFalseWhenNoPatternSet0
testVotesTrueOnMatchingWildcardPattern0
testVotesFalseOnNonMatchingWildcardPattern0

ResponseContentTypeVoterTest

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

URIStartsWithVoterTest

testNotVoter0
testInverseVoter0
testBasics0

BasePatternVoterTest

testInitWithoutPattern0

RepositoryMappingDefinitionReaderTest

testParse0

RegistryMapTest

testReturnsNullWhenValueMissing0
testReturnsAddedValues0
testUsesKeyFromValueWhenAdding0
testThrowsExceptionWhenRequiredAndMissing0

Failure Details

[Summary] [Package List] [Test Cases]


testUnknownRepositoryShouldAlsoYieldMeaningfulExceptionMessageForRepositoryProviders
skipped: skipped
testCanSpecifySpecificCollectionImplementation
skipped: TODO - MAGNOLIA-3160
testUnknownRepositoryShouldYieldMeaningfulExceptionMessage
skipped: skipped