Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
58 0 0 0 100% 8.641

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.periscope.operation.request 2 0 0 0 100% 0.444
info.magnolia.periscope.search.jcr 28 0 0 0 100% 6.303
info.magnolia.periscope.rank 4 0 0 0 100% 0.003
info.magnolia.periscope.search.rest 7 0 0 0 100% 0.98
info.magnolia.periscope.sniff 1 0 0 0 100% 0
info.magnolia.periscope.search 10 0 0 0 100% 0.549
info.magnolia.periscope 6 0 0 0 100% 0.362

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

info.magnolia.periscope.operation.request

Class Tests Errors Failures Skipped Success Rate Time
OperationRequestProcessorTest 2 0 0 0 100% 0.444

info.magnolia.periscope.search.jcr

Class Tests Errors Failures Skipped Success Rate Time
JcrSearchResultSupplierTest 28 0 0 0 100% 6.303

info.magnolia.periscope.rank

Class Tests Errors Failures Skipped Success Rate Time
AbstractResultRankerFactoryTest 4 0 0 0 100% 0.003

info.magnolia.periscope.search.rest

Class Tests Errors Failures Skipped Success Rate Time
RestSearchResultSupplierTest 7 0 0 0 100% 0.98

info.magnolia.periscope.sniff

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

info.magnolia.periscope.search

Class Tests Errors Failures Skipped Success Rate Time
SearchRunnerTest 4 0 0 0 100% 0.524
SearchResultSupplierDefinitionRegistryTest 6 0 0 0 100% 0.025

info.magnolia.periscope

Class Tests Errors Failures Skipped Success Rate Time
PeriscopeTest 6 0 0 0 100% 0.362

Test Cases

[Summary] [Package List] [Test Cases]

OperationRequestProcessorTest

shouldThrowOnUnregisteredOperationRequests 0.409
shouldFindOperationBasedOnRequest 0.003

AbstractResultRankerFactoryTest

createRankerForAdminWhenEnabled 0.002
createRankerForAdminWhenModuleConfigurationIsNotFound 0
createRankerForNonAdmin 0.001
createRankerWhenDisabled 0

QuerySnifferProcessorTest

executingDifferentOperationsDoesNotThrowException 0

SearchRunnerTest

cancelledShouldNotBeExecuted 0.001
nonJcrSuppliersShouldRunParallel 0.108
suppliersOnDifferentWorkspacesShouldRunParallel 0.107
suppliersOnSameWorkspaceShouldBeBlocked 0.308

RestSearchResultSupplierTest

incorrectJSONDoesNotConvertedIntoResults 0.672
restSearchResultSupplierCorrectlyReturnsTwoItems 0.006
emptyParametersDoesNotThrowNPE 0.003
verifyConstructTargetURLWithNoFilters 0.009
verifyConstructTargetURLWithFilters 0.009
optionalPropertiesAreFetchedWhenAvailable 0.004
weirdDateFormatDoesNotKillAllResults 0.003

PeriscopeTest

searchInAllSuppliers 0.257
searchRunsInUserContext 0.021
searchInUsersContextAndLanguage 0.017
constructAndFetchResultSuppliers 0.029
doNotConstructDisabledSuppliers 0.017
searchInSpecificSuppliers 0.021

JcrSearchResultSupplierTest

nodeNameSearch 1.059
propertyNameSearch 0.455
searchForNearestAncestorOfGivenNodeTypes 0.367
searchWithResultLimitsFromDefinitionAndSearchQuery 0.264
shouldRespectTitleProperty 0.249
shouldRespectResultsLimit 0.194
shouldUseIconPropertyForType 0.193
searchByEditor 0.163
shouldUseNodeNameIfNoTitleProperty 0.144
searchPathWithoutManager 0.214
fullTextSearchWithPartialMatches 0.147
slashSearch 0.139
searchTextWithoutManager 0.153
searchByTag 0.146
searchByDate 0.214
searchByTags 0.128
fullTextSearch 0.127
fullTextSearchIsTrueByDefault 0.123
pathSearch 0.151
optionalFieldsAreSuccessfullyFetched 0.186
doNotReturnDuplicatedResults 0.21
sanitizedSpecialChars2 0.115
flattenHtml 0.118
sanitizedSpecialChars 0.123
prefixedWithExtendsWhenExtendsChildNodeIsPresent 0.162
searchByEditors 0.322
searchByTitle 0.214
searchBasedOnRootPath 0.222

SearchResultSupplierDefinitionRegistryTest

newDefinitionProviderBuilderForWrongDefinition 0.014
getProvider 0.002
getNonExistingProvider 0.004
newDefinitionProviderBuilderForNewDefinition 0.001
getInvalidProvider 0
getAllDefinitions 0.002