Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
108 0 0 1 99.074% 13.015

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.814
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.011
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 0.9
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 0.711
info.magnolia.rest.delivery.jcr.filter 6 0 0 0 100% 0.022
info.magnolia.rest.delivery.jcr 93 0 0 1 98.925% 9.557

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

info.magnolia.rest.delivery.jcr.decorator

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

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

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.002
FilteringContentDecoratorBuilderTest 3 0 0 0 100% 0.02

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.629
OperatorTest 2 0 0 0 100% 0
NodeWriterTest 18 0 0 0 100% 3.983
FilteringConditionTest 37 0 0 0 100% 0.069
QueryBuilderTest 29 0 0 1 96.552% 4.591
NodeIteratorWriterTest 2 0 0 0 100% 0.276

Test Cases

[Summary] [Package List] [Test Cases]

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.009
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.384
listNodesAndSortByLastModifiedDate 0.245

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.011

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.34
readNode 0.266
queryNodes 0.294

NodeWriterTest

writingNodeWithoutFiltering 0.168
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.127
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.122
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.13
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.167
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.118
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.157
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.156
writingNodeReturnsJsonIncludingMetaData 0.218
wontSupportRecursionReferenceResolver 0.154
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.152
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.16
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.224
resolveSingleReferencePropertyWithUuidResolverReturnString 0.148
isWritable 0.149
dateTimeShouldBeISO8601 0.13
nodeWriterIsThreadSafe 1.373
resultContainsMetaProperties 0.13

FilteringConditionTest

mixingRangeOfDatesAndDateThrowsException 0.04
rangeIsNotSupportedForSomeOperators 0.013
withStringValue 0.002
invalidRangeThrowsException 0
beforeADate 0.001
withBooleanValue 0.001
noEarlierThanADate 0
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.001
withPathParam 0
stringContainsSingleQuoteOrQuotesIsNotEscaped 0
withFloatingPointNumberValue 0
anyStringAsValueOfNullOperatorIsTreatedAsFalse 0
withNumberValue 0
valueStringIsEmpty 0
inARangeOfNumbers 0.001
withNameParamAndValueIsNotActuallyANumber 0
propertyStringIsEmpty 0
inMultipleRangesOfDates 0.002
paramNameContainsOperator 0
withMultipleNumberValues 0
treatEscapedValueWithQuotesAsString 0
inARangeOfDateTimes 0.001
afterADate 0
inMultipleRangesOfDateTimes 0.001
notInARangeOfDates 0
inMultipleRangesOfNumbers 0
withNameParam 0.001

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.176
orderByOneProperty 0.191
orderByTwoProperties 0.182
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.199
listNodes 0.198
orderByOnePropertyWithDefaultDirection 0.164
filterWithParamWhoseNameContainsColon 0.159
filterWithEqualBoolean 0.176
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.139
searchForNodeByAbsolutePath 0.141
listNodesWithLooseMode 0.173
filterValueContainingSingleQuoteShouldBeEscaped 0.168
filterByMultiValueProperty 0.162
searchForQuotedTextToMakeSureItIsEscapedProperly 0.168
filterByIsoDateTime 0.216
filterPropertyContainingSingleQuoteShouldBeEscaped 0.154
doNotHideFolderNodeTypeInQuery 0.175
filterByPropertyHavingOrOperator 0.159
filterByMultipleNames 0.173
listNodesWithRootPath 0.188
searchForNode 0.171
filterByIsoLocalDate 0.132
orderByClauseContainingBracketThrowsException 0.142
orderByClauseContainsASingleQuoteThrowsException 0.141
filterPropertyContainingBracketThrowsException 0.146
listNodesWithStrictMode 0.162
filterWithEqualNumber 0.117
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.119

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 1.814

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.161
readNode 0.221
getChildren 0.156
queryNodes 0.173

NodeIteratorWriterTest

listNodes 0.144
listNodesAndSortByLastModifiedDate 0.132

DepthFilteringPredicateTest

evaluateTyped 0

NodeTypesPredicateTest

evaluateTyped 0.002
evaluateSupertypes 0

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.017
decoratedNodeIteratorWithNullChildNodeType 0.003
decoratedNodeWithNullChildNodeType 0

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped