Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
86 0 0 0 100% 24.867

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.719
info.magnolia.rest.delivery.jcr.v1 26 0 0 0 100% 7.094
info.magnolia.rest.delivery.jcr.filter 4 0 0 0 100% 0.571
info.magnolia.rest.delivery.jcr 55 0 0 0 100% 16.483

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

info.magnolia.rest.delivery.jcr.v1

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

info.magnolia.rest.delivery.jcr.filter

Class Tests Errors Failures Skipped Success Rate Time
DepthFilteringPredicateTest 1 0 0 0 100% 0.378
FilteringContentDecoratorBuilderTest 1 0 0 0 100% 0.179
NodeTypesPredicateTest 2 0 0 0 100% 0.014

info.magnolia.rest.delivery.jcr

Class Tests Errors Failures Skipped Success Rate Time
FilteringConditionTest 12 0 0 0 100% 0.051
NodeIteratorWriterTest 2 0 0 0 100% 3.362
NodesResultWriterTest 2 0 0 0 100% 0.945
NodeWriterTest 8 0 0 0 100% 4.348
OutputStreamWrapperTest 3 0 0 0 100% 0.021
QueryBuilderTest 28 0 0 0 100% 7.756

Test Cases

[Summary] [Package List] [Test Cases]

DepthFilteringPredicateTest

evaluateTyped 0.378

FilteringContentDecoratorBuilderTest

decoratedNodeFilterUuidIfIgnoreMetadata 0.179

NodeTypesPredicateTest

evaluateTyped 0.014
evaluateSupertypes 0

FilteringConditionTest

withStringValue 0.026
withBooleanValue 0
paramNameAndOperatorAndMultipleValues 0.003
withDateTimeValue 0
withPathParam 0
withDateValue 0.02
withFloatingPointNumberValue 0.001
withNumberValue 0
withNameParamAndValueIsNotActuallyANumber 0
paramNameContainsOperator 0
withMultipleNumberValues 0
withNameParam 0.001

NodeIteratorWriterTest

listNodes 2.732
listNodesAndSortByLastModifiedDate 0.63

NodesResultWriterTest

listNodesWithAdditionalMetaData 0.502
listNodesAndSortByLastModifiedDate 0.443

NodeWriterTest

writingNodeWithoutFiltering 0.484
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore_ChangeInsertionOrder 0.431
writingNodeReturnsJsonIncludingMetaData 0.36
propertyHavingTheSameNameWithSubNodeShouldBePrefixedWithUnderscore 0.336
writingNodeHavingMultiplePropertiesReturnExpectedJson 0.488
isWritable 0.382
nodeWriterIsThreadSafe 1.511
resultContainsMetaProperties 0.356

OutputStreamWrapperTest

writingBytesWithOffsetAndLenOfOutputStreamWrapperDelegatesToWrappedOutputStream 0.02
writingByteOfOutputStreamWrapperDelegatesToWrappedOutputStream 0
isWrapped 0.001

QueryBuilderTest

orderByOneProperty 0.263
orderByTwoProperties 0.253
fullTextExpressionContainingSingleQuoteShouldBeEscaped 0.277
listingNodesShouldNotReturnFolders 0.428
listNodes 0.292
filterWithParamWhoseNameContainsColon 0.283
filterWithEqualBoolean 0.27
fullTextExpressionContainingJcrIllegalCharsShouldBeEscapedForLikeOperator 0.259
searchForNodeByAbsolutePath 0.296
filterValueContainingSingleQuoteShouldBeEscaped 0.246
listNodesWithOffsetAndLimit 0.218
filterByMultiValueProperty 0.257
orderByClauseContainsSingleQuoteThrowsException 0.306
searchForQuotedTextToMakeSureItIsEscapedProperly 0.319
filterByIsoDateTime 0.237
searchingForSomethingReturnsNothing 0.249
searchForNodeByName 0.246
filterPropertyContainingSingleQuoteShouldBeEscaped 0.242
filterByPropertyHavingOrOperator 0.273
listNodesWithRootPath 0.295
listNodesWithOffset 0.236
filterByIsoLocalDate 0.246
orderByClauseContainingBracketThrowsException 0.246
filterPropertyContainingBracketThrowsException 0.212
listNodesWithLimit 0.307
filterWithEqualNumber 0.411
searchForAPageContainingUnicode 0.33
filterWithEqualString 0.259

JcrDeliveryEndpointTest

filterNodesByTitle 0.277
queryNodesWithNonExistingNodeTypes 0.242
readNodeWithDepth0 0.245
readNodeWithDepth1 0.247
readNodeWithDepth2 0.286
queryNodesFromWebsiteWorkspace 0.263
queryNodesWithConfiguredNodeTypes 0.208
readNodeWithDefaultParameters 0.331
processedNodeExcludingSpecialPropertiesDoesNotHaveSpecialProperties 0.235
queryNodesFromWebsiteWorkspaceCannotBypassingAclsWithAnonymous 0.249
queryNodesFromUnregisteredWorkspace 0.295
readNodeWithDefaultParametersBypassingAclsWithAnonymous 0.262
readNodeWithDefaultParametersCannotBypassingAclsWithAnonymous 0.332
nodeIsFilteredByNodeType 0.369
queryNodesFromEmptyWorkspace 0.322
readNodesFromUnregisteredWorkspace 0.214
queryNodesWithoutSameTypeParent 0.212
readNodeWithConfiguredRootPath 0.221
queryNodesWithoutConfiguredNodeTypes 0.34
queryNodesWithFullTextSearch 0.284
readNodeWithConfiguredChildNodeTypes 0.263
queryNodesWithOrderByName 0.258
queryNodesWithConfiguredNodeTypesAndChildNodeTypes 0.314
queryNodesFromWebsiteWorkspaceBypassingAclsWithAnonymous 0.266
processedNodeIncludingSpecialPropertiesHasSpecialProperties 0.276
endpointServesSameWorkspaceFromDifferentParams 0.283

RestContentDeliveryModuleVersionHandlerTest

basicInstallRestEditorRoleGrantedPermission 0.719