Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
109 0 0 1 99.083% 11.553

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.583
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.01
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 0.797
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 0.46
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.014
info.magnolia.rest.delivery.jcr 93 0 0 1 98.925% 8.689

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

info.magnolia.rest.delivery.jcr.decorator

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

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

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.001
FilteringContentDecoratorBuilderTest 4 0 0 0 100% 0.013

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
OutputStreamWrapperTest 3 0 0 0 100% 0.009
NodesResultWriterTest 2 0 0 0 100% 0.616
OperatorTest 2 0 0 0 100% 0
NodeWriterTest 18 0 0 0 100% 3.68
FilteringConditionTest 37 0 0 0 100% 0.072
QueryBuilderTest 29 0 0 1 96.552% 3.933
NodeIteratorWriterTest 2 0 0 0 100% 0.379

Test Cases

[Summary] [Package List] [Test Cases]

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.009
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.393
listNodesAndSortByLastModifiedDate 0.22

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.01

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.312
readNode 0.223
queryNodes 0.259

NodeWriterTest

writingNodeWithoutFiltering 0.14
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.177
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.119
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.116
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.117
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.125
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.132
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.145
writingNodeReturnsJsonIncludingMetaData 0.215
wontSupportRecursionReferenceResolver 0.117
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.126
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.111
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.125
resolveSingleReferencePropertyWithUuidResolverReturnString 0.122
isWritable 0.112
dateTimeShouldBeISO8601 0.135
nodeWriterIsThreadSafe 1.423
resultContainsMetaProperties 0.121

FilteringConditionTest

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

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.192
orderByOneProperty 0.174
orderByTwoProperties 0.169
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.188
listNodes 0.163
orderByOnePropertyWithDefaultDirection 0.154
filterWithParamWhoseNameContainsColon 0.172
filterWithEqualBoolean 0.133
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.132
searchForNodeByAbsolutePath 0.164
listNodesWithLooseMode 0.125
filterValueContainingSingleQuoteShouldBeEscaped 0.12
filterByMultiValueProperty 0.114
searchForQuotedTextToMakeSureItIsEscapedProperly 0.165
filterByIsoDateTime 0.117
filterPropertyContainingSingleQuoteShouldBeEscaped 0.114
doNotHideFolderNodeTypeInQuery 0.112
filterByPropertyHavingOrOperator 0.141
filterByMultipleNames 0.163
listNodesWithRootPath 0.11
searchForNode 0.112
filterByIsoLocalDate 0.108
orderByClauseContainingBracketThrowsException 0.125
orderByClauseContainsASingleQuoteThrowsException 0.152
filterPropertyContainingBracketThrowsException 0.122
listNodesWithStrictMode 0.13
filterWithEqualNumber 0.131
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.129

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 1.557

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.116
readNode 0.112
getChildren 0.114
queryNodes 0.118

NodeIteratorWriterTest

listNodes 0.243
listNodesAndSortByLastModifiedDate 0.136

DepthFilteringPredicateTest

evaluateTyped 0

NodeTypesPredicateTest

evaluateTyped 0.001
evaluateSupertypes 0

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.011
decoratedNodeIteratorWithNullChildNodeType 0.002
decoratedNodeFilterSystemPropertiesUnlessWhitelisted 0
decoratedNodeWithNullChildNodeType 0

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped