Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
113 0 0 1 99.115% 14.044

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.014
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.899
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 0.611
info.magnolia.rest.delivery.jcr.filter 7 0 0 0 100% 0.022
info.magnolia.rest.delivery.jcr 97 0 0 1 98.969% 10.488

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

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

info.magnolia.rest.delivery.jcr.v2

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

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
FilteringContentDecoratorBuilderTest 4 0 0 0 100% 0.022

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
OutputStreamWrapperTest 3 0 0 0 100% 0.01
NodesResultWriterTest 2 0 0 0 100% 0.578
OperatorTest 2 0 0 0 100% 0.001
NodeWriterTest 22 0 0 0 100% 4.734
FilteringConditionTest 37 0 0 0 100% 0.07
QueryBuilderTest 29 0 0 1 96.552% 4.793
NodeIteratorWriterTest 2 0 0 0 100% 0.302

Test Cases

[Summary] [Package List] [Test Cases]

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.009
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.365
listNodesAndSortByLastModifiedDate 0.212

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.01

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.34
readNode 0.289
queryNodes 0.269

NodeWriterTest

writingNodeWithoutFiltering 0.131
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.144
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.138
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.143
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.193
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.173
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.163
resolveOrphanedMultipleValuesReferencePropertyWithUuidResolverReturnObject 0.142
referencesAreExpandedUntilDepthIsReachedWhenReferenceRepeatIsEnabled 0.147
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.16
noInfiniteLoopWhenThereIsACycleInNodeReferences 0.163
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.173
writingNodeReturnsJsonIncludingMetaData 0.172
wontSupportRecursionReferenceResolver 0.172
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.169
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.176
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.26
resolveSingleReferencePropertyWithUuidResolverReturnString 0.149
isWritable 0.131
dateTimeShouldBeISO8601 0.135
nodeWriterIsThreadSafe 1.369
resultContainsMetaProperties 0.13

FilteringConditionTest

mixingRangeOfDatesAndDateThrowsException 0.043
rangeIsNotSupportedForSomeOperators 0.012
withStringValue 0.001
invalidRangeThrowsException 0
beforeADate 0.001
withBooleanValue 0
noEarlierThanADate 0
notInARangeOfDateTimes 0.001
paramNameAndOperatorAndMultipleValues 0.001
notInARangeOfNumbers 0
treatEscapedMultiValuesWithQuotesAsString 0.001
withSingleSimpleDateValue 0
noLaterThanADate 0
inARangeOfDates 0.001
nullOperatorIsSupported 0
differentFromADate 0.001
notNullOperatorIsSupported 0
withDateTimeValue 0.001
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.001
withMultipleNumberValues 0
treatEscapedValueWithQuotesAsString 0
inARangeOfDateTimes 0.001
afterADate 0
inMultipleRangesOfDateTimes 0
notInARangeOfDates 0
inMultipleRangesOfNumbers 0
withNameParam 0.001

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 0.187
orderByOneProperty 0.176
orderByTwoProperties 0.197
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.16
listNodes 0.166
orderByOnePropertyWithDefaultDirection 0.171
filterWithParamWhoseNameContainsColon 0.14
filterWithEqualBoolean 0.16
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.178
searchForNodeByAbsolutePath 0.225
listNodesWithLooseMode 0.151
filterValueContainingSingleQuoteShouldBeEscaped 0.157
filterByMultiValueProperty 0.167
searchForQuotedTextToMakeSureItIsEscapedProperly 0.173
filterByIsoDateTime 0.155
filterPropertyContainingSingleQuoteShouldBeEscaped 0.186
doNotHideFolderNodeTypeInQuery 0.275
filterByPropertyHavingOrOperator 0.164
filterByMultipleNames 0.181
listNodesWithRootPath 0.166
searchForNode 0.182
filterByIsoLocalDate 0.165
orderByClauseContainingBracketThrowsException 0.127
orderByClauseContainsASingleQuoteThrowsException 0.126
filterPropertyContainingBracketThrowsException 0.147
listNodesWithStrictMode 0.171
filterWithEqualNumber 0.198
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.14

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 1.967

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.143
readNode 0.154
getChildren 0.178
queryNodes 0.136

NodeIteratorWriterTest

listNodes 0.153
listNodesAndSortByLastModifiedDate 0.144

DepthFilteringPredicateTest

evaluateTyped 0

NodeTypesPredicateTest

evaluateTyped 0
evaluateSupertypes 0

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.019
decoratedNodeIteratorWithNullChildNodeType 0.002
decoratedNodeFilterSystemPropertiesUnlessWhitelisted 0
decoratedNodeWithNullChildNodeType 0.001

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped