Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
101 0 0 0 100% 13.02

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% 0.564
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 0.436
info.magnolia.rest.delivery.jcr.v2 3 0 0 0 100% 0.427
info.magnolia.rest.delivery.jcr.filter 6 0 0 0 100% 0.391
info.magnolia.rest.delivery.jcr 88 0 0 0 100% 11.202

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

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

info.magnolia.rest.delivery.jcr.filter

Class Tests Errors Failures Skipped Success Rate Time
DepthFilteringPredicateTest 1 0 0 0 100% 0.26
FilteringContentDecoratorBuilderTest 3 0 0 0 100% 0.122
NodeTypesPredicateTest 2 0 0 0 100% 0.009

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
FilteringConditionTest 34 0 0 0 100% 0.113
NodeIteratorWriterTest 2 0 0 0 100% 2.02
NodesResultWriterTest 2 0 0 0 100% 0.639
NodeWriterTest 18 0 0 0 100% 4.492
OperatorTest 2 0 0 0 100% 0
OutputStreamWrapperTest 3 0 0 0 100% 0.011
QueryBuilderTest 27 0 0 0 100% 3.927

Test Cases

[Summary] [Package List] [Test Cases]

DepthFilteringPredicateTest

evaluateTyped 0.26

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.118
decoratedNodeIteratorWithNullChildNodeType 0.004
decoratedNodeWithNullChildNodeType 0

NodeTypesPredicateTest

evaluateTyped 0.009
evaluateSupertypes 0

FilteringConditionTest

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

NodeIteratorWriterTest

listNodes 1.684
listNodesAndSortByLastModifiedDate 0.336

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.383
listNodesAndSortByLastModifiedDate 0.256

NodeWriterTest

writingNodeWithoutFiltering 0.282
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.239
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.218
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.206
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.203
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.161
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.164
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.184
writingNodeReturnsJsonIncludingMetaData 0.151
wontSupportRecursionReferenceResolver 0.154
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.221
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.204
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.134
resolveSingleReferencePropertyWithUuidResolverReturnString 0.135
isWritable 0.143
dateTimeShouldBeISO8601 0.165
nodeWriterIsThreadSafe 1.394
resultContainsMetaProperties 0.134

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.011
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.142
foldersShouldNotIncludedInQuery 0.141
orderByOneProperty 0.17
orderByTwoProperties 0.218
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.124
listNodes 0.123
orderByOnePropertyWithDefaultDirection 0.131
filterWithParamWhoseNameContainsColon 0.127
filterWithEqualBoolean 0.13
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.156
searchForNodeByAbsolutePath 0.164
filterValueContainingSingleQuoteShouldBeEscaped 0.13
filterByMultiValueProperty 0.128
searchForQuotedTextToMakeSureItIsEscapedProperly 0.128
filterByIsoDateTime 0.129
filterPropertyContainingSingleQuoteShouldBeEscaped 0.15
filterByPropertyHavingOrOperator 0.196
filterByMultipleNames 0.206
listNodesWithRootPath 0.125
searchForNode 0.124
filterByIsoLocalDate 0.133
orderByClauseContainingBracketThrowsException 0.129
orderByClauseContainsASingleQuoteThrowsException 0.125
filterPropertyContainingBracketThrowsException 0.135
filterWithEqualNumber 0.136
searchForAPageContainingUnicode 0.202
filterWithEqualString 0.125

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.163
readNode 0.133
queryNodes 0.14

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.149
readNode 0.145
queryNodes 0.133

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 0.564