Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
111 0 0 1 99.099% 11.804

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.774
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.009
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 0.849
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 0.579
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.015
info.magnolia.rest.delivery.jcr 95 0 0 1 98.947% 8.578

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

info.magnolia.rest.delivery.jcr.decorator

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

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

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

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
OutputStreamWrapperTest 3 0 0 0 100% 0.008
NodesResultWriterTest 2 0 0 0 100% 0.588
OperatorTest 2 0 0 0 100% 0
NodeWriterTest 20 0 0 0 100% 3.675
FilteringConditionTest 37 0 0 0 100% 0.07
QueryBuilderTest 29 0 0 1 96.552% 3.975
NodeIteratorWriterTest 2 0 0 0 100% 0.262

Test Cases

[Summary] [Package List] [Test Cases]

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.007
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0.001

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.357
listNodesAndSortByLastModifiedDate 0.229

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.009

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.311
readNode 0.261
queryNodes 0.273

NodeWriterTest

writingNodeWithoutFiltering 0.119
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.117
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.124
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.126
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.161
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.108
referencesAreExpandedUntilDepthIsReachedWhenReferenceRepeatIsEnabled 0.125
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.121
noInfiniteLoopWhenThereIsACycleInNodeReferences 0.111
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.121
writingNodeReturnsJsonIncludingMetaData 0.117
wontSupportRecursionReferenceResolver 0.12
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.143
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.186
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.109
resolveSingleReferencePropertyWithUuidResolverReturnString 0.116
isWritable 0.111
dateTimeShouldBeISO8601 0.106
nodeWriterIsThreadSafe 1.321
resultContainsMetaProperties 0.112

FilteringConditionTest

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

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.163
orderByOneProperty 0.191
orderByTwoProperties 0.154
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.16
listNodes 0.184
orderByOnePropertyWithDefaultDirection 0.148
filterWithParamWhoseNameContainsColon 0.145
filterWithEqualBoolean 0.171
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.135
searchForNodeByAbsolutePath 0.132
listNodesWithLooseMode 0.128
filterValueContainingSingleQuoteShouldBeEscaped 0.161
filterByMultiValueProperty 0.125
searchForQuotedTextToMakeSureItIsEscapedProperly 0.129
filterByIsoDateTime 0.127
filterPropertyContainingSingleQuoteShouldBeEscaped 0.153
doNotHideFolderNodeTypeInQuery 0.125
filterByPropertyHavingOrOperator 0.118
filterByMultipleNames 0.121
listNodesWithRootPath 0.154
searchForNode 0.157
filterByIsoLocalDate 0.13
orderByClauseContainingBracketThrowsException 0.132
orderByClauseContainsASingleQuoteThrowsException 0.118
filterPropertyContainingBracketThrowsException 0.123
listNodesWithStrictMode 0.149
filterWithEqualNumber 0.117
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.122

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 1.74

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.143
readNode 0.199
getChildren 0.118
queryNodes 0.119

NodeIteratorWriterTest

listNodes 0.133
listNodesAndSortByLastModifiedDate 0.129

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