Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
84 0 0 0 100% 16.996

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.682
info.magnolia.rest.delivery.jcr.v1 26 0 0 0 100% 4.996
info.magnolia.rest.delivery.jcr.filter 3 0 0 0 100% 0.305
info.magnolia.rest.delivery.jcr 54 0 0 0 100% 11.013

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

info.magnolia.rest.delivery.jcr.v1

Class Tests Errors Failures Skipped Success Rate Time
JcrDeliveryEndpointTest 26 0 0 0 100% 4.996

info.magnolia.rest.delivery.jcr.filter

Class Tests Errors Failures Skipped Success Rate Time
DepthFilteringPredicateTest 1 0 0 0 100% 0.292
NodeTypesPredicateTest 2 0 0 0 100% 0.013

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
FilteringConditionTest 12 0 0 0 100% 0.042
NodeIteratorWriterTest 2 0 0 0 100% 2.621
NodesResultWriterTest 2 0 0 0 100% 0.764
NodeWriterTest 7 0 0 0 100% 1.93
OutputStreamWrapperTest 3 0 0 0 100% 0.016
QueryBuilderTest 28 0 0 0 100% 5.64

Test Cases

[Summary] [Package List] [Test Cases]

DepthFilteringPredicateTest

evaluateTyped 0.292

NodeTypesPredicateTest

evaluateTyped 0.013
evaluateSupertypes 0

FilteringConditionTest

withStringValue 0.014
withBooleanValue 0.001
paramNameAndOperatorAndMultipleValues 0.001
withDateTimeValue 0
withPathParam 0
withDateValue 0.024
withFloatingPointNumberValue 0
withNumberValue 0.001
withNameParamAndValueIsNotActuallyANumber 0
paramNameContainsOperator 0.001
withMultipleNumberValues 0
withNameParam 0

NodeIteratorWriterTest

listNodes 2.159
listNodesAndSortByLastModifiedDate 0.462

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.418
listNodesAndSortByLastModifiedDate 0.346

NodeWriterTest

writingNodeWithoutFiltering 0.369
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.293
writingNodeReturnsJsonIncludingMetaData 0.285
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.254
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.26
isWritable 0.269
resultContainsMetaProperties 0.2

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.015
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.001
isWrapped 0

QueryBuilderTest

orderByOneProperty 0.198
orderByTwoProperties 0.19
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.208
listingNodesShouldNotReturnFolders 0.193
listNodes 0.201
filterWithParamWhoseNameContainsColon 0.228
filterWithEqualBoolean 0.264
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.193
searchForNodeByAbsolutePath 0.196
filterValueContainingSingleQuoteShouldBeEscaped 0.157
listNodesWithOffsetAndLimit 0.235
filterByMultiValueProperty 0.169
orderByClauseContainsSingleQuoteThrowsException 0.181
searchForQuotedTextToMakeSureItIsEscapedProperly 0.217
filterByIsoDateTime 0.18
searchingForSomethingReturnsNothing 0.228
searchForNodeByName 0.225
filterPropertyContainingSingleQuoteShouldBeEscaped 0.175
filterByPropertyHavingOrOperator 0.152
listNodesWithRootPath 0.213
listNodesWithOffset 0.177
filterByIsoLocalDate 0.212
orderByClauseContainingBracketThrowsException 0.255
filterPropertyContainingBracketThrowsException 0.187
listNodesWithLimit 0.184
filterWithEqualNumber 0.194
searchForAPageContainingUnicode 0.229
filterWithEqualString 0.199

JcrDeliveryEndpointTest

filterNodesByTitle 0.237
queryNodesWithNonExistingNodeTypes 0.259
readNodeWithDepth0 0.297
readNodeWithDepth1 0.17
readNodeWithDepth2 0.178
queryNodesFromWebsiteWorkspace 0.165
queryNodesWithConfiguredNodeTypes 0.156
readNodeWithDefaultParameters 0.185
processedNodeExcludingSpecialPropertiesDoesNotHaveSpecialProperties 0.19
queryNodesFromWebsiteWorkspaceCannotBypassingAclsWithAnonymous 0.297
queryNodesFromUnregisteredWorkspace 0.194
readNodeWithDefaultParametersBypassingAclsWithAnonymous 0.144
readNodeWithDefaultParametersCannotBypassingAclsWithAnonymous 0.15
nodeIsFilteredByNodeType 0.149
queryNodesFromEmptyWorkspace 0.164
readNodesFromUnregisteredWorkspace 0.16
queryNodesWithoutSameTypeParent 0.164
readNodeWithConfiguredRootPath 0.195
queryNodesWithoutConfiguredNodeTypes 0.217
queryNodesWithFullTextSearch 0.217
readNodeWithConfiguredChildNodeTypes 0.254
queryNodesWithOrderByName 0.164
queryNodesWithConfiguredNodeTypesAndChildNodeTypes 0.151
queryNodesFromWebsiteWorkspaceBypassingAclsWithAnonymous 0.174
processedNodeIncludingSpecialPropertiesHasSpecialProperties 0.19
endpointServesSameWorkspaceFromDifferentParams 0.175

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 0.682