Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 2.108
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.879
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 0.62
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.014
info.magnolia.rest.delivery.jcr 95 0 0 1 98.947% 9.129

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% 2.108

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

info.magnolia.rest.delivery.jcr.v2

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

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.011
NodesResultWriterTest 2 0 0 0 100% 0.595
OperatorTest 2 0 0 0 100% 0
NodeWriterTest 20 0 0 0 100% 4.015
FilteringConditionTest 37 0 0 0 100% 0.075
QueryBuilderTest 29 0 0 1 96.552% 4.124
NodeIteratorWriterTest 2 0 0 0 100% 0.309

Test Cases

[Summary] [Package List] [Test Cases]

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.01
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.337
listNodesAndSortByLastModifiedDate 0.256

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.009

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.349
readNode 0.257
queryNodes 0.27

NodeWriterTest

writingNodeWithoutFiltering 0.141
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.138
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.15
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.178
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.131
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.118
referencesAreExpandedUntilDepthIsReachedWhenReferenceRepeatIsEnabled 0.14
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.131
noInfiniteLoopWhenThereIsACycleInNodeReferences 0.134
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.183
writingNodeReturnsJsonIncludingMetaData 0.119
wontSupportRecursionReferenceResolver 0.124
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.122
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.122
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.193
resolveSingleReferencePropertyWithUuidResolverReturnString 0.134
isWritable 0.173
dateTimeShouldBeISO8601 0.155
nodeWriterIsThreadSafe 1.329
resultContainsMetaProperties 0.097

FilteringConditionTest

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

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.168
orderByOneProperty 0.161
orderByTwoProperties 0.171
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.168
listNodes 0.178
orderByOnePropertyWithDefaultDirection 0.137
filterWithParamWhoseNameContainsColon 0.143
filterWithEqualBoolean 0.141
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.147
searchForNodeByAbsolutePath 0.12
listNodesWithLooseMode 0.137
filterValueContainingSingleQuoteShouldBeEscaped 0.134
filterByMultiValueProperty 0.113
searchForQuotedTextToMakeSureItIsEscapedProperly 0.111
filterByIsoDateTime 0.145
filterPropertyContainingSingleQuoteShouldBeEscaped 0.13
doNotHideFolderNodeTypeInQuery 0.127
filterByPropertyHavingOrOperator 0.138
filterByMultipleNames 0.168
listNodesWithRootPath 0.194
searchForNode 0.154
filterByIsoLocalDate 0.164
orderByClauseContainingBracketThrowsException 0.165
orderByClauseContainsASingleQuoteThrowsException 0.143
filterPropertyContainingBracketThrowsException 0.168
listNodesWithStrictMode 0.131
filterWithEqualNumber 0.124
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.139

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 2.083

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.21
readNode 0.141
getChildren 0.138
queryNodes 0.13

NodeIteratorWriterTest

listNodes 0.139
listNodesAndSortByLastModifiedDate 0.17

DepthFilteringPredicateTest

evaluateTyped 0

NodeTypesPredicateTest

evaluateTyped 0.001
evaluateSupertypes 0

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.01
decoratedNodeIteratorWithNullChildNodeType 0.002
decoratedNodeFilterSystemPropertiesUnlessWhitelisted 0
decoratedNodeWithNullChildNodeType 0

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped