Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
116 0 0 1 99.138% 12.68

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.setup 1 0 0 0 100% 1.709
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.008
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 0.817
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 0.628
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.012
info.magnolia.rest.reference.link 3 0 0 0 100% 0.031
info.magnolia.rest.delivery.jcr 97 0 0 1 98.969% 9.475

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

info.magnolia.rest.setup

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

info.magnolia.rest.delivery.jcr.decorator

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

Class Tests Errors Failures Skipped Success Rate Time
JcrDeliveryEndpointTest 4 0 0 0 100% 0.628

info.magnolia.rest.delivery.jcr.filter

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

info.magnolia.rest.reference.link

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

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
OutputStreamWrapperTest 3 0 0 0 100% 0.01
NodesResultWriterTest 2 0 0 0 100% 0.568
OperatorTest 2 0 0 0 100% 0.001
NodeWriterTest 22 0 0 0 100% 4.666
FilteringConditionTest 37 0 0 0 100% 0.058
QueryBuilderTest 29 0 0 1 96.552% 3.868
NodeIteratorWriterTest 2 0 0 0 100% 0.304

Test Cases

[Summary] [Package List] [Test Cases]

RichTextLinkResolverTest

canResolveUUIDInRichTextContent 0.02
shouldReturnOriginalContentIfCannotResolve 0.004
canResolveDamUUIDInRichTextContent 0.004

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.008
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.335
listNodesAndSortByLastModifiedDate 0.23

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.006

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.303
readNode 0.245
queryNodes 0.267

NodeWriterTest

writingNodeWithoutFiltering 0.135
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.142
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.187
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.428
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.146
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.13
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.134
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnObject 0.129
referencesAreExpandedUntilDepthIsReachedWhenReferenceRepeatIsEnabled 0.207
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.268
noInfiniteLoopWhenThereIsACycleInNodeReferences 0.152
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.135
writingNodeReturnsJsonIncludingMetaData 0.126
wontSupportRecursionReferenceResolver 0.125
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.134
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.142
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.145
resolveSingleReferencePropertyWithUuidResolverReturnString 0.116
isWritable 0.115
dateTimeShouldBeISO8601 0.117
nodeWriterIsThreadSafe 1.344
resultContainsMetaProperties 0.107

FilteringConditionTest

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

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.163
orderByOneProperty 0.183
orderByTwoProperties 0.161
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.14
listNodes 0.174
orderByOnePropertyWithDefaultDirection 0.14
filterWithParamWhoseNameContainsColon 0.13
filterWithEqualBoolean 0.136
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.125
searchForNodeByAbsolutePath 0.123
listNodesWithLooseMode 0.164
filterValueContainingSingleQuoteShouldBeEscaped 0.118
filterByMultiValueProperty 0.113
searchForQuotedTextToMakeSureItIsEscapedProperly 0.115
filterByIsoDateTime 0.14
filterPropertyContainingSingleQuoteShouldBeEscaped 0.112
doNotHideFolderNodeTypeInQuery 0.11
filterByPropertyHavingOrOperator 0.129
filterByMultipleNames 0.14
listNodesWithRootPath 0.175
searchForNode 0.122
filterByIsoLocalDate 0.13
orderByClauseContainingBracketThrowsException 0.131
orderByClauseContainsASingleQuoteThrowsException 0.124
filterPropertyContainingBracketThrowsException 0.166
listNodesWithStrictMode 0.136
filterWithEqualNumber 0.14
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.126

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 1.663

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.184
readNode 0.183
getChildren 0.131
queryNodes 0.128

NodeIteratorWriterTest

listNodes 0.159
listNodesAndSortByLastModifiedDate 0.143

DepthFilteringPredicateTest

evaluateTyped 0

NodeTypesPredicateTest

evaluateTyped 0
evaluateSupertypes 0

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.008
decoratedNodeIteratorWithNullChildNodeType 0.002
decoratedNodeFilterSystemPropertiesUnlessWhitelisted 0
decoratedNodeWithNullChildNodeType 0

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped