Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
108 0 0 1 99.074% 30.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.877
info.magnolia.rest.delivery.jcr.decorator 1 0 0 0 100% 0.029
info.magnolia.rest.delivery.jcr.v1 3 0 0 0 100% 1.432
info.magnolia.rest.delivery.jcr.v2 4 0 0 0 100% 1.306
info.magnolia.rest.delivery.jcr.filter 6 0 0 0 100% 0.117
info.magnolia.rest.delivery.jcr 93 0 0 1 98.925% 26.259

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

info.magnolia.rest.delivery.jcr.decorator

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.v2

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

info.magnolia.rest.delivery.jcr.filter

Class Tests Errors Failures Skipped Success Rate Time
FilteringContentDecoratorBuilderTest 3 0 0 0 100% 0.099
DepthFilteringPredicateTest 1 0 0 0 100% 0.015
NodeTypesPredicateTest 2 0 0 0 100% 0.003

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
QueryBuilderTest 29 0 0 1 96.552% 16.465
OperatorTest 2 0 0 0 100% 0.002
FilteringConditionTest 37 0 0 0 100% 0.081
NodeWriterTest 18 0 0 0 100% 8.241
OutputStreamWrapperTest 3 0 0 0 100% 0.038
NodesResultWriterTest 2 0 0 0 100% 0.704
NodeIteratorWriterTest 2 0 0 0 100% 0.728

Test Cases

[Summary] [Package List] [Test Cases]

QueryBuilderTest

orderByTwoPropertiesWithDefaultDirections 3.737
orderByOneProperty 1.149
orderByTwoProperties 0.964
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.803
listNodes 0.653
orderByOnePropertyWithDefaultDirection 0.551
filterWithParamWhoseNameContainsColon 0.608
filterWithEqualBoolean 0.524
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.547
searchForNodeByAbsolutePath 0.474
listNodesWithLooseMode 0.468
filterValueContainingSingleQuoteShouldBeEscaped 0.461
filterByMultiValueProperty 0.342
searchForQuotedTextToMakeSureItIsEscapedProperly 0.409
filterByIsoDateTime 0.463
filterPropertyContainingSingleQuoteShouldBeEscaped 0.357
doNotHideFolderNodeTypeInQuery 0.305
filterByPropertyHavingOrOperator 0.407
filterByMultipleNames 0.35
listNodesWithRootPath 0.327
searchForNode 0.344
filterByIsoLocalDate 0.339
orderByClauseContainingBracketThrowsException 0.279
orderByClauseContainsASingleQuoteThrowsException 0.313
filterPropertyContainingBracketThrowsException 0.312
listNodesWithStrictMode 0.344
filterWithEqualNumber 0.289
searchForAPageContainingUnicode 0
skipped
filterWithEqualString 0.346

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.09
decoratedNodeIteratorWithNullChildNodeType 0.009
decoratedNodeWithNullChildNodeType 0

OperatorTest

convertAStringToAnOperator 0
convertingAnInvalidStringToOperatorThrowsException 0.002

FilteringConditionTest

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

AdditionNodeWrapperTest

nodeOrderShouldBeMaintained 0.029

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.567
readNode 0.389
queryNodes 0.476

NodeWriterTest

writingNodeWithoutFiltering 0.613
resolveSingleReferencePropertyWithUuidResolverReturnNode 0.363
resolveMultipleValuesReferencePropertyWithUuidResolverReturnStrings 0.313
resolveMultipleValuesReferencePropertyWithUuidResolverReturnObjects 0.331
resolveMultipleValuesReferencePropertyWithUuidResolverReturnNodes 0.568
resolveSingleReferencePropertyWithUuidResolverReturnProperty 0.47
resolveMultipleValuesReferencePropertyWithUuidResolverReturnProperties 0.411
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.563
writingNodeReturnsJsonIncludingMetaData 0.331
wontSupportRecursionReferenceResolver 0.386
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.322
resolveSingleReferencePropertyWithUuidResolverReturnObject 0.445
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.307
resolveSingleReferencePropertyWithUuidResolverReturnString 0.264
isWritable 0.302
dateTimeShouldBeISO8601 0.369
nodeWriterIsThreadSafe 1.529
resultContainsMetaProperties 0.354

JcrDeliveryEndpointTest

readingNodeWithoutBypassingAclsThrowsException 0.399
readNode 0.294
getChildren 0.301
queryNodes 0.312

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.035
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.002
isWrapped 0.001

DepthFilteringPredicateTest

evaluateTyped 0.015

NodeTypesPredicateTest

evaluateTyped 0.003
evaluateSupertypes 0

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.323
listNodesAndSortByLastModifiedDate 0.381

NodeIteratorWriterTest

listNodes 0.402
listNodesAndSortByLastModifiedDate 0.326

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 0.877

Failure Details

[Summary] [Package List] [Test Cases]


searchForAPageContainingUnicode
skipped: skipped