Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
120 0 0 1 99.167% 21.298

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.rest.reference.dam 2 0 0 0 100% 0.683
info.magnolia.rest.setup 1 0 0 0 100% 2.597
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.036
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 1.664
info.magnolia.rest.delivery.jcr.v2 6 0 0 0 100% 1.187
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.047
info.magnolia.rest.reference.link 3 0 0 0 100% 0.121
info.magnolia.rest.delivery.jcr 97 0 0 1 98.969% 14.963

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

info.magnolia.rest.reference.dam

Class Tests Errors Failures Skipped Success Rate Time
AssetWriterTest 2 0 0 0 100% 0.683

info.magnolia.rest.setup

Class Tests Errors Failures Skipped Success Rate Time
RestContentDeliveryModuleVersionHandlerTest 1 0 0 0 100% 2.597

info.magnolia.rest.delivery.jcr.decorator

Class Tests Errors Failures Skipped Success Rate Time
AdditionNodeWrapperTest 1 0 0 0 100% 0.036

info.magnolia.rest.delivery.jcr.v1

Class Tests Errors Failures Skipped Success Rate Time
JcrDeliveryEndpointTest 3 0 0 0 100% 1.664

info.magnolia.rest.delivery.jcr.v2

Class Tests Errors Failures Skipped Success Rate Time
JcrDeliveryEndpointTest 6 0 0 0 100% 1.187

info.magnolia.rest.delivery.jcr.filter

Class Tests Errors Failures Skipped Success Rate Time
DepthFilteringPredicateTest 1 0 0 0 100% 0.004
NodeTypesPredicateTest 2 0 0 0 100% 0.003
FilteringContentDecoratorBuilderTest 4 0 0 0 100% 0.04

info.magnolia.rest.reference.link

Class Tests Errors Failures Skipped Success Rate Time
RichTextLinkResolverTest 3 0 0 0 100% 0.121

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
OutputStreamWrapperTest 3 0 0 0 100% 0.032
NodesResultWriterTest 2 0 0 0 100% 1.224
OperatorTest 2 0 0 0 100% 0.003
NodeWriterTest 22 0 0 0 100% 5.259
FilteringConditionTest 37 0 0 0 100% 0.123
QueryBuilderTest 29 0 0 1 96.552% 7.692
NodeIteratorWriterTest 2 0 0 0 100% 0.63

Test Cases

[Summary] [Package List] [Test Cases]

RichTextLinkResolverTest

canResolveUUIDInRichTextContent 0.09
shouldReturnOriginalContentIfCannotResolve 0.016
canResolveDamUUIDInRichTextContent 0.015

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.031
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.001
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.839
listNodesAndSortByLastModifiedDate 0.385

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.036

OperatorTest

convertAStringToAnOperator 0.001
convertingAnInvalidStringToOperatorThrowsException 0.001

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.666
readNode 0.491
queryNodes 0.505

NodeWriterTest

writingNodeWithoutFiltering 0.192
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.198
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.144
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.141
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.156
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.152
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.184
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnObject 0.143
referencesAreExpandedUntilDepthIsReachedWhenReferenceRepeatIsEnabled 0.147
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.141
noInfiniteLoopWhenThereIsACycleInNodeReferences 0.14
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.295
writingNodeReturnsJsonIncludingMetaData 0.315
wontSupportRecursionReferenceResolver 0.193
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.195
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.165
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.171
resolveSingleReferencePropertyWithUuidResolverReturnString 0.18
isWritable 0.203
dateTimeShouldBeISO8601 0.164
nodeWriterIsThreadSafe 1.37
resultContainsMetaProperties 0.262

AssetWriterTest

writeCommonAssetProperties 0.586
dontFailOnMissingMetadata 0.079

FilteringConditionTest

mixingRangeOfDatesAndDateThrowsException 0.073
rangeIsNotSupportedForSomeOperators 0.021
withStringValue 0.001
invalidRangeThrowsException 0.001
beforeADate 0.004
withBooleanValue 0
noEarlierThanADate 0.001
notInARangeOfDateTimes 0.001
paramNameAndOperatorAndMultipleValues 0.001
notInARangeOfNumbers 0
treatEscapedMultiValuesWithQuotesAsString 0.001
withSingleSimpleDateValue 0.001
noLaterThanADate 0.001
inARangeOfDates 0.001
nullOperatorIsSupported 0.001
differentFromADate 0.001
notNullOperatorIsSupported 0.001
withDateTimeValue 0
withPathParam 0.001
stringContainsSingleQuoteOrQuotesIsNotEscaped 0
withFloatingPointNumberValue 0
anyStringAsValueOfNullOperatorIsTreatedAsFalse 0.001
withNumberValue 0
valueStringIsEmpty 0.001
inARangeOfNumbers 0
withNameParamAndValueIsNotActuallyANumber 0
propertyStringIsEmpty 0.001
inMultipleRangesOfDates 0.001
paramNameContainsOperator 0.001
withMultipleNumberValues 0
treatEscapedValueWithQuotesAsString 0.001
inARangeOfDateTimes 0
afterADate 0.001
inMultipleRangesOfDateTimes 0.001
notInARangeOfDates 0.001
inMultipleRangesOfNumbers 0
withNameParam 0

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.354
orderByOneProperty 0.309
orderByTwoProperties 0.341
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.395
listNodes 0.443
orderByOnePropertyWithDefaultDirection 0.249
filterWithParamWhoseNameContainsColon 0.248
filterWithEqualBoolean 0.216
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.164
searchForNodeByAbsolutePath 0.19
listNodesWithLooseMode 0.197
filterValueContainingSingleQuoteShouldBeEscaped 0.175
filterByMultiValueProperty 0.244
searchForQuotedTextToMakeSureItIsEscapedProperly 0.317
filterByIsoDateTime 0.232
filterPropertyContainingSingleQuoteShouldBeEscaped 0.291
doNotHideFolderNodeTypeInQuery 0.346
filterByPropertyHavingOrOperator 0.34
filterByMultipleNames 0.238
listNodesWithRootPath 0.249
searchForNode 0.227
filterByIsoLocalDate 0.261
orderByClauseContainingBracketThrowsException 0.229
orderByClauseContainsASingleQuoteThrowsException 0.228
filterPropertyContainingBracketThrowsException 0.229
listNodesWithStrictMode 0.251
filterWithEqualNumber 0.396
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.32

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 2.59

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.213
readNode 0.179
getChildren 0.148
queryNodes 0.153
readNodeWithVersion 0.276
readNodeWithVersionOnDeliveryEndpoint 0.217

NodeIteratorWriterTest

listNodes 0.418
listNodesAndSortByLastModifiedDate 0.212

DepthFilteringPredicateTest

evaluateTyped 0.004

NodeTypesPredicateTest

evaluateTyped 0.003
evaluateSupertypes 0

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.036
decoratedNodeIteratorWithNullChildNodeType 0.003
decoratedNodeFilterSystemPropertiesUnlessWhitelisted 0.001
decoratedNodeWithNullChildNodeType 0

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped