Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
121 0 0 1 99.174% 14.911

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.521
info.magnolia.rest.setup 1 0 0 0 100% 1.581
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.012
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 0.828
info.magnolia.rest.delivery.jcr.v2 6 0 0 0 100% 1.051
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.019
info.magnolia.rest.reference.link 3 0 0 0 100% 0.039
info.magnolia.rest.delivery.jcr 98 0 0 1 98.98% 10.86

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

info.magnolia.rest.setup

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

info.magnolia.rest.delivery.jcr.decorator

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

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

info.magnolia.rest.delivery.jcr.filter

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

info.magnolia.rest.reference.link

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

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
OutputStreamWrapperTest 3 0 0 0 100% 0.012
NodesResultWriterTest 2 0 0 0 100% 0.597
OperatorTest 2 0 0 0 100% 0.001
NodeWriterTest 22 0 0 0 100% 4.322
FilteringConditionTest 37 0 0 0 100% 0.076
QueryBuilderTest 30 0 0 1 96.667% 5.569
NodeIteratorWriterTest 2 0 0 0 100% 0.283

Test Cases

[Summary] [Package List] [Test Cases]

RichTextLinkResolverTest

canResolveUUIDInRichTextContent 0.029
shouldReturnOriginalContentIfCannotResolve 0.004
canResolveDamUUIDInRichTextContent 0.004

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.012
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.358
listNodesAndSortByLastModifiedDate 0.237

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.012

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0.001

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.301
readNode 0.263
queryNodes 0.263

NodeWriterTest

writingNodeWithoutFiltering 0.147
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.175
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.137
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.157
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.137
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.13
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.144
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnObject 0.137
referencesAreExpandedUntilDepthIsReachedWhenReferenceRepeatIsEnabled 0.168
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.13
noInfiniteLoopWhenThereIsACycleInNodeReferences 0.136
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.133
writingNodeReturnsJsonIncludingMetaData 0.133
wontSupportRecursionReferenceResolver 0.133
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.15
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.125
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.128
resolveSingleReferencePropertyWithUuidResolverReturnString 0.121
isWritable 0.132
dateTimeShouldBeISO8601 0.163
nodeWriterIsThreadSafe 1.382
resultContainsMetaProperties 0.12

AssetWriterTest

writeCommonAssetProperties 0.443
dontFailOnMissingMetadata 0.057

FilteringConditionTest

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

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.192
orderByOneProperty 0.186
orderByContainsLowerFunctionForMultipleProperties 0.199
orderByTwoProperties 0.16
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.208
listNodes 0.252
orderByOnePropertyWithDefaultDirection 0.267
filterWithParamWhoseNameContainsColon 0.191
filterWithEqualBoolean 0.279
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.498
searchForNodeByAbsolutePath 0.23
listNodesWithLooseMode 0.23
filterValueContainingSingleQuoteShouldBeEscaped 0.2
filterByMultiValueProperty 0.173
searchForQuotedTextToMakeSureItIsEscapedProperly 0.165
filterByIsoDateTime 0.173
filterPropertyContainingSingleQuoteShouldBeEscaped 0.208
doNotHideFolderNodeTypeInQuery 0.142
filterByPropertyHavingOrOperator 0.136
filterByMultipleNames 0.132
listNodesWithRootPath 0.134
searchForNode 0.165
filterByIsoLocalDate 0.137
orderByClauseContainingBracketThrowsException 0.132
orderByClauseContainsASingleQuoteThrowsException 0.134
filterPropertyContainingBracketThrowsException 0.14
listNodesWithStrictMode 0.205
filterWithEqualNumber 0.168
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.126

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 1.577

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.152
readNode 0.183
getChildren 0.129
queryNodes 0.133
readNodeWithVersion 0.262
readNodeWithVersionOnDeliveryEndpoint 0.191

NodeIteratorWriterTest

listNodes 0.142
listNodesAndSortByLastModifiedDate 0.14

DepthFilteringPredicateTest

evaluateTyped 0.001

NodeTypesPredicateTest

evaluateTyped 0.002
evaluateSupertypes 0.001

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.012
decoratedNodeIteratorWithNullChildNodeType 0.002
decoratedNodeFilterSystemPropertiesUnlessWhitelisted 0.001
decoratedNodeWithNullChildNodeType 0

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped