Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.005
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.008
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 0.964
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 0.548
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.015
info.magnolia.rest.delivery.jcr 95 0 0 1 98.947% 9.078

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

info.magnolia.rest.delivery.jcr.decorator

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

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

info.magnolia.rest.delivery.jcr.filter

Class Tests Errors Failures Skipped Success Rate Time
DepthFilteringPredicateTest 1 0 0 0 100% 0.001
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.586
OperatorTest 2 0 0 0 100% 0
NodeWriterTest 20 0 0 0 100% 3.924
FilteringConditionTest 37 0 0 0 100% 0.073
QueryBuilderTest 29 0 0 1 96.552% 4.196
NodeIteratorWriterTest 2 0 0 0 100% 0.29

Test Cases

[Summary] [Package List] [Test Cases]

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.009
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.364
listNodesAndSortByLastModifiedDate 0.222

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.008

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.347
readNode 0.284
queryNodes 0.33

NodeWriterTest

writingNodeWithoutFiltering 0.129
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.13
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.133
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.166
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.166
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.122
referencesAreExpandedUntilDepthIsReachedWhenReferenceRepeatIsEnabled 0.132
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.124
noInfiniteLoopWhenThereIsACycleInNodeReferences 0.122
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.124
writingNodeReturnsJsonIncludingMetaData 0.14
wontSupportRecursionReferenceResolver 0.19
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.121
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.118
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.12
resolveSingleReferencePropertyWithUuidResolverReturnString 0.114
isWritable 0.165
dateTimeShouldBeISO8601 0.115
nodeWriterIsThreadSafe 1.35
resultContainsMetaProperties 0.142

FilteringConditionTest

mixingRangeOfDatesAndDateThrowsException 0.043
rangeIsNotSupportedForSomeOperators 0.012
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.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.001
propertyStringIsEmpty 0
inMultipleRangesOfDates 0.001
paramNameContainsOperator 0
withMultipleNumberValues 0
treatEscapedValueWithQuotesAsString 0.001
inARangeOfDateTimes 0
afterADate 0
inMultipleRangesOfDateTimes 0
notInARangeOfDates 0.001
inMultipleRangesOfNumbers 0
withNameParam 0

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.178
orderByOneProperty 0.218
orderByTwoProperties 0.17
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.163
listNodes 0.188
orderByOnePropertyWithDefaultDirection 0.142
filterWithParamWhoseNameContainsColon 0.148
filterWithEqualBoolean 0.182
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.137
searchForNodeByAbsolutePath 0.141
listNodesWithLooseMode 0.149
filterValueContainingSingleQuoteShouldBeEscaped 0.137
filterByMultiValueProperty 0.134
searchForQuotedTextToMakeSureItIsEscapedProperly 0.127
filterByIsoDateTime 0.161
filterPropertyContainingSingleQuoteShouldBeEscaped 0.161
doNotHideFolderNodeTypeInQuery 0.131
filterByPropertyHavingOrOperator 0.126
filterByMultipleNames 0.125
listNodesWithRootPath 0.169
searchForNode 0.127
filterByIsoLocalDate 0.144
orderByClauseContainingBracketThrowsException 0.122
orderByClauseContainsASingleQuoteThrowsException 0.122
filterPropertyContainingBracketThrowsException 0.17
listNodesWithStrictMode 0.173
filterWithEqualNumber 0.126
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.124

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 1.962

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.174
readNode 0.122
getChildren 0.124
queryNodes 0.128

NodeIteratorWriterTest

listNodes 0.147
listNodesAndSortByLastModifiedDate 0.143

DepthFilteringPredicateTest

evaluateTyped 0

NodeTypesPredicateTest

evaluateTyped 0
evaluateSupertypes 0.001

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.01
decoratedNodeIteratorWithNullChildNodeType 0.003
decoratedNodeFilterSystemPropertiesUnlessWhitelisted 0
decoratedNodeWithNullChildNodeType 0

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped