Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
496 0 0 0 100% 27.69

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
com.icfolson.aem.library.core.services.impl 2 0 0 0 100% 0.413
com.icfolson.aem.library.core.link.builders.impl 53 0 0 0 100% 1.105
com.icfolson.aem.library.core.node.impl 160 0 0 0 100% 1.642
com.icfolson.aem.library.core.link.impl 1 0 0 0 100% 0
com.icfolson.aem.library.core.servlets.replication 6 0 0 0 100% 0.567
com.icfolson.aem.library.core.servlets.optionsprovider 5 0 0 0 100% 0.435
com.icfolson.aem.library.core.page.predicates 3 0 0 0 100% 0.41
com.icfolson.aem.library.core.servlets 17 0 0 0 100% 2.783
com.icfolson.aem.library.core.servlets.datasource 4 0 0 0 100% 1.149
com.icfolson.aem.library.core.node 1 0 0 0 100% 0.646
com.icfolson.aem.library.core.replication 9 0 0 0 100% 1.248
com.icfolson.aem.library.core.page.impl 97 0 0 0 100% 1.143
com.icfolson.aem.library.core.utils 25 0 0 0 100% 0.78
com.icfolson.aem.library.core.listeners 1 0 0 0 100% 0.691
com.icfolson.aem.library.core.request.impl 17 0 0 0 100% 0.534
com.icfolson.aem.library.core.link.enums 6 0 0 0 100% 0.003
com.icfolson.aem.library.core.node.predicates 13 0 0 0 100% 1.566
com.icfolson.aem.library.core.adapter 8 0 0 0 100% 3.359
com.icfolson.aem.library.models.impl 39 0 0 0 100% 9.059
com.icfolson.aem.library.core.services.cache 10 0 0 0 100% 0.149
com.icfolson.aem.library.core.services 19 0 0 0 100% 0.008

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

com.icfolson.aem.library.core.services.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultSelectiveReplicationServiceSpec 2 0 0 0 100% 0.413

com.icfolson.aem.library.core.link.builders.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultLinkBuilderSpec 53 0 0 0 100% 1.105

com.icfolson.aem.library.core.node.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultBasicNodeSpec 88 0 0 0 100% 0.788
DefaultComponentNodeSpec 72 0 0 0 100% 0.854

com.icfolson.aem.library.core.link.impl

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

com.icfolson.aem.library.core.servlets.replication

Class Tests Errors Failures Skipped Success Rate Time
SelectiveReplicationServletSpec 6 0 0 0 100% 0.567

com.icfolson.aem.library.core.servlets.optionsprovider

Class Tests Errors Failures Skipped Success Rate Time
OptionSpec 2 0 0 0 100% 0.004
OptionsProviderServletSpec 3 0 0 0 100% 0.431

com.icfolson.aem.library.core.page.predicates

Class Tests Errors Failures Skipped Success Rate Time
TemplatePredicateSpec 3 0 0 0 100% 0.41

com.icfolson.aem.library.core.servlets

Class Tests Errors Failures Skipped Success Rate Time
AbstractComponentServletSpec 1 0 0 0 100% 0.434
AbstractJsonResponseServletSpec 3 0 0 0 100% 0.766
AbstractValidatorServletSpec 2 0 0 0 100% 0.488
ImageServletSpec 11 0 0 0 100% 1.095

com.icfolson.aem.library.core.servlets.datasource

Class Tests Errors Failures Skipped Success Rate Time
OptionsDataSourceServletSpec 2 0 0 0 100% 0.558
TagDataSourceServletSpec 2 0 0 0 100% 0.591

com.icfolson.aem.library.core.node

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

com.icfolson.aem.library.core.replication

Class Tests Errors Failures Skipped Success Rate Time
AbstractReplicationListenerSpec 5 0 0 0 100% 0.575
PageReplicationListenerSpec 4 0 0 0 100% 0.673

com.icfolson.aem.library.core.page.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultPageDecoratorSpec 88 0 0 0 100% 0.675
DefaultPageManagerDecoratorSpec 9 0 0 0 100% 0.468

com.icfolson.aem.library.core.utils

Class Tests Errors Failures Skipped Success Rate Time
PathUtilsSpec 25 0 0 0 100% 0.78

com.icfolson.aem.library.core.listeners

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

com.icfolson.aem.library.core.request.impl

Class Tests Errors Failures Skipped Success Rate Time
DefaultComponentServletRequestSpec 17 0 0 0 100% 0.534

com.icfolson.aem.library.core.link.enums

Class Tests Errors Failures Skipped Success Rate Time
LinkTargetSpec 6 0 0 0 100% 0.003

com.icfolson.aem.library.core.node.predicates

Class Tests Errors Failures Skipped Success Rate Time
ComponentNodePropertyExistsPredicateSpec 4 0 0 0 100% 0.718
ComponentNodeResourceTypePredicateSpec 4 0 0 0 100% 0.387
PropertyNamePredicateSpec 3 0 0 0 100% 0.009
ResourceTypePredicateSpec 2 0 0 0 100% 0.452

com.icfolson.aem.library.core.adapter

Class Tests Errors Failures Skipped Success Rate Time
AemLibraryAdapterFactorySpec 8 0 0 0 100% 3.359

com.icfolson.aem.library.models.impl

Class Tests Errors Failures Skipped Success Rate Time
AdaptableInjectorSpec 2 0 0 0 100% 2.87
AemLibraryModelComponentSpec 1 0 0 0 100% 0.893
ComponentInjectorSpec 10 0 0 0 100% 0.661
EnumInjectorSpec 2 0 0 0 100% 0.62
InheritInjectorSpec 4 0 0 0 100% 0.731
InjectorIntegrationSpec 1 0 0 0 100% 0.465
LinkInjectorSpec 4 0 0 0 100% 0.622
ModelListInjectorSpec 1 0 0 0 100% 0.646
ReferenceInjectorSpec 11 0 0 0 100% 0.553
TagInjectorSpec 2 0 0 0 100% 0.434
ValueMapFromRequestInjectorSpec 1 0 0 0 100% 0.564

com.icfolson.aem.library.core.services.cache

Class Tests Errors Failures Skipped Success Rate Time
CacheServiceSpec 10 0 0 0 100% 0.149

com.icfolson.aem.library.core.services

Class Tests Errors Failures Skipped Success Rate Time
OsgiConfigurationSpec 19 0 0 0 100% 0.008

Test Cases

[Summary] [Package List] [Test Cases]

AemLibraryAdapterFactorySpec

get resource adapter for node decorators returns non-null[0] 0.066
get resource adapter for node decorators returns non-null[1] 0.001
resource adapt to page 0.071
resource adapt to page returns null for non-page node 0.002
get resource adapter for invalid type returns null 0.001
get resource resolver adapter for valid type returns non-null 0.01
get resource resolver adapter for invalid type returns null 0.001
get invalid adapter returns null 0.001

DefaultLinkBuilderSpec

build link for existing link 0.165
build link for page 0.015
build link for page with no jcr:content node 0.007
build link for page with redirect 0.001
build link for page with navigation title 0.003
build link for page without navigation title 0.001
build link for mapped page[0] 0.056
build link for mapped page[1] 0.002
build link for mapped page[2] 0.001
build link for mapped page[3] 0
build link for resource 0.002
build link for mapped resource 0.003
build link for path[0] 0.002
build link for path[1] 0.002
build link for path[2] 0.002
build link for path[3] 0
build link for path[4] 0
build link for path[5] 0
build link for path[6] 0
build link for path[7] 0.001
build link for path[8] 0.001
build link for path[9] 0.001
build link for path[10] 0.001
build link and set external[0] 0.001
build link and set external[1] 0
build link for path with selectors[0] 0.004
build link for path with selectors[1] 0.002
build link for path with selectors[2] 0
build link for path with selectors[3] 0.001
build link for path with scheme[0] 0.002
build link for path with scheme[1] 0.002
build link for path with scheme[2] 0
build link for path with scheme[3] 0
build link for path with scheme[4] 0
build link for path with scheme[5] 0.001
build link for path with scheme[6] 0.001
build link for link and set protocol[0] 0.001
build link for link and set protocol[1] 0.001
build link for link and set protocol[2] 0.001
build link for link and set protocol[3] 0.001
build link for link and set protocol[4] 0.001
build link for link and set protocol[5] 0.001
build link for link and set protocol[6] 0.001
build link for path with parameters[0] 0.034
build link for path with parameters[1] 0.041
build link for path with parameters[2] 0
build link for path with same-name parameters 0.003
build image link[0] 0.007
build image link[1] 0
build navigation link without children 0.008
build navigation link without children with active state[0] 0.001
build navigation link without children with active state[1] 0
build navigation link with children 0.003

LinkTargetSpec

for invalid target 0
for target[0] 0.001
for target[1] 0
for target[2] 0
for target[3] 0
for target[4] 0.001

DefaultLinkSpec

empty link with null arguments 0

AbstractPageEventListenerSpec

process page 0.021

DelegateComponentNodeSpec

delegate 0.011

DefaultBasicNodeSpec

to string 0.014
get id[0] 0.004
get id[1] 0
get id[2] 0.008
get id[3] 0.001
as map 0.001
get[0] 0.001
get[1] 0.001
get optional[0] 0.001
get optional[1] 0.002
get optional[2] 0
get as list 0.004
get as href[0] 0.015
get as href[1] 0.003
get as href strict[0] 0.001
get as href strict[1] 0.007
get as href strict[2] 0.042
get as href returns absent where appropriate[0] 0
get as href returns absent where appropriate[1] 0.001
get as mapped href 0.003
get as mapped href strict[0] 0.001
get as mapped href strict[1] 0.002
get as mapped href strict[2] 0.008
get as href for null 0.002
get as link 0.001
get as link strict 0.003
get as mapped link 0.003
get as mapped link strict 0.002
get as link for null 0
get as link for non-existent property 0
get as page 0.003
get as type[0] 0.001
get as type[1] 0.01
get href 0.001
get image reference[0] 0.011
get image reference[1] 0.001
get self image reference[0] 0.001
get self image reference[1] 0.001
get self image reference[2] 0
get self image reference[3] 0.001
get self image reference[4] 0.001
get self image reference[5] 0.001
get image source optional[0] 0.037
get image source optional[1] 0.004
get image source optional[2] 0.002
get image source optional[3] 0.001
get image source optional[4] 0.004
get image source[0] 0.004
get image source[1] 0.003
get image source[2] 0.003
get named image source[0] 0.002
get named image source[1] 0.003
get named image source[2] 0.002
get named image source[3] 0.002
get image source with width[0] 0.004
get image source with width[1] 0.003
get image source with width[2] 0.002
get image source with width[3] 0.002
get named image source with width[0] 0.002
get named image source with width[1] 0.002
get named image source with width[2] 0.002
get named image source with width[3] 0.001
get named image source with width[4] 0.001
get named image source with width[5] 0.002
get named image source with width[6] 0.002
get named image source with width[7] 0.002
get index 0.012
get index for resource type 0.004
get named image reference 0
get link 0
get link builder 0
get node 0
get path 0
get properties 0.01
get properties for null node returns empty list 0.006
get resource 0.001
has image[0] 0.001
has image[1] 0.001
has named image[0] 0.001
has named image[1] 0.001
has named image[2] 0.001
has named image[3] 0.001
has named image[4] 0
get image rendition returns absent 0.001
get image rendition 0.009
get named image rendition[0] 0.001
get named image rendition[1] 0.001
get named image rendition[2] 0.001

DefaultComponentNodeSpec

get parent[0] 0.002
get parent[1] 0.001
get parent returns null for root node 0.001
find ancestor with property[0] 0.024
find ancestor with property[1] 0.003
find ancestor with property[2] 0.006
find ancestor with property[3] 0.001
find ancestor with property[4] 0.002
find ancestor with property returns absent when current resource excluded 0.002
find ancestor returns absent[0] 0.003
find ancestor returns absent[1] 0.002
find ancestor with property value[0] 0.01
find ancestor with property value[1] 0.002
find ancestor with property value[2] 0.001
find ancestor with property value returns absent 0.004
find descendants 0.036
get as href inherited[0] 0.001
get as href inherited[1] 0.002
get as href inherited[2] 0.001
get as href inherited[3] 0.001
get as href inherited[4] 0.002
get as href inherited[5] 0.001
get as href inherited returns absent where appropriate[0] 0.001
get as href inherited returns absent where appropriate[1] 0.001
get as link inherited[0] 0.001
get as link inherited[1] 0.001
get as link inherited[2] 0.001
get as link inherited[3] 0.001
get as link inherited[4] 0.001
get as link inherited[5] 0
get as link inherited returns absent where appropriate[0] 0
get as link inherited returns absent where appropriate[1] 0.001
get as page inherited 0.002
get component node inherited[0] 0.013
get component node inherited[1] 0.002
get component node inherited is absent when ancestor not found 0.001
get component nodes inherited[0] 0.002
get component nodes inherited[1] 0.001
get component nodes inherited[2] 0.003
get component nodes inherited[3] 0.001
get image source inherited optional[0] 0.016
get image source inherited optional[1] 0.003
get image source inherited optional[2] 0.004
get image source inherited optional[3] 0.003
get image source inherited optional[4] 0.003
get image source inherited optional[5] 0.004
get image source inherited optional[6] 0.004
get image source inherited optional[7] 0.002
get image source inherited optional[8] 0.004
get image source inherited optional[9] 0.004
get image source inherited[0] 0.004
get image source inherited[1] 0.002
get image source inherited[2] 0.003
get image source inherited[3] 0.003
get image source inherited[4] 0.004
get image source inherited[5] 0.005
get image source inherited[6] 0.002
get named image source inherited[0] 0.002
get named image source inherited[1] 0.002
get inherited[0] 0.001
get inherited[1] 0.001
get inherited[2] 0.001
get inherited optional 0.001
get component node at relative path 0.001
get component nodes[0] 0.001
get component nodes[1] 0
get component nodes for predicate 0.008
get component nodes at relative path[0] 0.002
get component nodes at relative path[1] 0.001
get component nodes at relative path for resource type[0] 0.006
get component nodes at relative path for resource type[1] 0.001
get component nodes at relative path for predicate 0.005

ComponentNodePropertyExistsPredicateSpec

node where property exists is included 0.001
node where property does not exist is not included 0
node for non-existing resource is not included 0
node that throws exception is not included 0.034

ComponentNodeResourceTypePredicateSpec

exception thrown when resource type is null 0.001
node with matching resource type is included 0
node with non-matching resource type is not included 0
node with no resource type is not included 0

PropertyNamePredicateSpec

predicate applied when property matches name[0] 0.005
predicate applied when property matches name[1] 0.001
predicate not applied when property throws exception 0.003

ResourceTypePredicateSpec

resource with matching resource type is included[0] 0.001
resource with matching resource type is included[1] 0

DefaultPageDecoratorSpec

get absolute parent[0] 0.01
get absolute parent[1] 0
get absolute parent[2] 0.001
get parent[0] 0.001
get parent[1] 0
get parent[2] 0.001
adapt to[0] 0
adapt to[1] 0.001
adapt to returns null[0] 0
adapt to returns null[1] 0.001
as map[0] 0.002
as map[1] 0.001
as map[2] 0
get[0] 0.002
get[1] 0
get[2] 0.001
get optional[0] 0.003
get optional[1] 0.001
get optional[2] 0
get as href[0] 0.003
get as href[1] 0.001
get as href[2] 0
get as href strict[0] 0.003
get as href strict[1] 0.001
get as href strict[2] 0.001
get as mapped href[0] 0.004
get as mapped href[1] 0
get as mapped href[2] 0.001
get as mapped href strict[0] 0.001
get as mapped href strict[1] 0
get as mapped href strict[2] 0
get image source optional[0] 0.003
get image source optional[1] 0.003
get image source 0.001
get named image source[0] 0.003
get named image source[1] 0.002
get image source with width[0] 0.004
get image source with width[1] 0.002
get named image source with width[0] 0.003
get named image source with width[1] 0.001
get named image source with width[2] 0.001
get named image source with width[3] 0.001
find ancestor optional[0] 0.004
find ancestor optional[1] 0.001
find ancestor optional[2] 0
find ancestor optional[3] 0
find ancestor optional[4] 0.001
find ancestor optional[5] 0.001
find ancestor with property[0] 0
find ancestor with property[1] 0.001
find ancestor with property[2] 0
find ancestor with property[3] 0
find ancestor with property[4] 0
find ancestor returns absent[0] 0.001
find ancestor returns absent[1] 0
find ancestor returns absent[2] 0.001
find ancestor returns absent[3] 0
find ancestor returns absent[4] 0.001
find ancestor returns absent[5] 0
find ancestor with property value 0.001
find ancestor with property value returns absent 0.001
get template path[0] 0
get template path[1] 0
get component node 0.001
get component node returns absent optional for page with no jcr:content node 0
get component node at relative path 0
adapt to basic node 0.001
adapt to component node 0
adapt to node for page with no jcr:content node returns null 0
get child 0.001
get children 0.009
list children 0.006
get displayable children 0.002
get children filtered for predicate 0.003
list children filtered for predicate 0.001
list children recursively, filtered for predicate[0] 0.004
list children recursively, filtered for predicate[1] 0.002
find descendants 0.004
get properties 0.003
get properties for page with no jcr:content node 0
get properties at relative path 0.001
get title[0] 0.001
get title[1] 0
get title[2] 0
get title returns absent where appropriate[0] 0.001
get title returns absent where appropriate[1] 0
get image link 0.001
get navigation link 0.003

DefaultPageManagerDecoratorSpec

find pages for predicate 0.007
find pages for tag IDs 0.022
find pages for tag IDs matching all 0.002
tagged non-page node is excluded from search results 0.002
search 0.028
search with limit 0.002
find pages for template 0.002
find pages for non-existing template 0.003
find pages for template with invalid starting path 0

TemplatePredicateSpec

page has no template property 0
template matches page template 0.001
template does not match page template 0

AbstractReplicationListenerSpec

handle event for different replication action types[0] 0.19
handle event for different replication action types[1] 0
handle event for different replication action types[2] 0
handle event for different replication action types[3] 0
handle event for different replication action types[4] 0.005

PageReplicationListenerSpec

handle activate for invalid path does nothing 0.019
handle activate for non-page path does nothing 0.003
handle activate for page path activates ancestor pages 0.009
handle activate for page path ignores already activated ancestor pages 0.004

DefaultComponentServletRequestSpec

get selectors[0] 0.029
get selectors[1] 0
get selectors[2] 0.001
get request parameter optional[0] 0.004
get request parameter optional[1] 0.001
get request parameter optional[2] 0
get request parameter[0] 0.002
get request parameter[1] 0.001
get request parameter with default value[0] 0.001
get request parameter with default value[1] 0.001
get request parameter with default value[2] 0
get request parameters optional[0] 0.005
get request parameters optional[1] 0.001
get request parameters optional[2] 0
get request parameters[0] 0.002
get request parameters[1] 0.002
getters return non-null values 0.002

CacheServiceSpec

clear all caches[0] 0.107
clear all caches[1] 0.002
clear specific cache[0] 0.008
clear specific cache[1] 0.002
get cache size[0] 0.005
get cache size[1] 0.001
get cache stats[0] 0.007
get cache stats[1] 0.001
list caches[0] 0.001
list caches[1] 0

DefaultSelectiveReplicationServiceSpec

valid replication request 0.022
valid replication request with additional options 0.001

OsgiConfigurationSpec

to map[0] 0
to map[1] 0.001
to map with default value[0] 0
to map with default value[1] 0
get as double[0] 0.003
get as double[1] 0
get as long[0] 0
get as long[1] 0
get as boolean[0] 0
get as boolean[1] 0.001
get as integer[0] 0
get as integer[1] 0
get as string[0] 0
get as string[1] 0
get as list[0] 0
get as list[1] 0.001
get as list[2] 0
get as list with default value[0] 0
get as list with default value[1] 0

AbstractComponentServletSpec

process get 0.075

AbstractJsonResponseServletSpec

write json response 0.21
write json response with date format 0.003
write json response with date format and locale 0.008

AbstractValidatorServletSpec

exception thrown when value parameter is null 0.007
validate method called with correct arguments 0.046

OptionsDataSourceServletSpec

no options 0.056
options 0.011

TagDataSourceServletSpec

all tags options 0.021
filtered tags options 0.008

ImageServletSpec

create layer returns null 0.009
image wrapper[0] 0.008
image wrapper[1] 0.001
image wrapper[2] 0.001
image wrapper[3] 0
image wrapper[4] 0.002
image wrapper[5] 0
image wrapper[6] 0.001
write layer for page, no selectors[0] 0.549
write layer for page, no selectors[1] 0
write layer for page, no selectors[2] 0.001

OptionSpec

sort options[0] 0.003
sort options[1] 0.001

OptionsProviderServletSpec

no options 0.012
options with root 0.021
options with no root 0.008

SelectiveReplicationServletSpec

null parameters throw exception 0.017
invalid parameters throw exception[0] 0.003
invalid parameters throw exception[1] 0.003
invalid parameters throw exception[2] 0.001
invalid parameters throw exception[3] 0
valid parameters 0.011

PathUtilsSpec

is content[0] 0.001
is content[1] 0
is content[2] 0
is content[3] 0.001
is content[4] 0
is content[5] 0.001
is content[6] 0
is external[0] 0.001
is external[1] 0
is external[2] 0
is external[3] 0
is external[4] 0
is external[5] 0.001
is external strict[0] 0.009
is external strict[1] 0.001
is external strict[2] 0
is external strict[3] 0
get page path for string[0] 0
get page path for string[1] 0
get page path for string[2] 0
get page path for string[3] 0
get page path for request[0] 0.008
get page path for request[1] 0
get page path for request[2] 0.001
get page path for request[3] 0

AdaptableInjectorSpec

get value returns null for invalid adapter type 0.067
get value returns non-null for valid adapter type 0.001

AemLibraryModelComponentSpec

get title from component 0.072

ComponentInjectorSpec

get value from resource for valid type returns non-null value[0] 0.003
get value from resource for valid type returns non-null value[1] 0.002
get value from resource for valid type returns non-null value[2] 0.003
get value from resource for valid type returns non-null value[3] 0
get value from resource for valid type returns non-null value[4] 0.001
get value from resource for valid type returns non-null value[5] 0.002
get value from resource for valid type returns non-null value[6] 0.001
get value from resource for valid type returns non-null value[7] 0.033
get value from resource for valid type returns non-null value[8] 0
get value from resource for invalid type returns null value 0.001

EnumInjectorSpec

enum is injected when component property value is valid 0.045
enum is null when component property does not exist 0.005

InheritInjectorSpec

basic inheritance 0.142
enum inheritance 0.041
model list inheritance 0.032
model child resource inheritance 0.027

InjectorIntegrationSpec

injected values from multiple injectors are correct types 0.014

LinkInjectorSpec

link is null if component node is null 0.017
link has correct path value 0.06
link has correct path value and title 0.002
inherited link has correct path value 0.002

ModelListInjectorSpec

inject list of models 0.015

ReferenceInjectorSpec

all properties should be null if component is unconfigured 0.018
component has a single Resource configured 0.014
component has a single PageDecorator configured 0.007
component has multiple Resources configured 0.005
component has multiple PageDecorators configured 0.006
component has a single inherited Resource configured 0.003
component has a single inherited PageDecorator configured 0.004
component has multiple inherited Resources configured 0.004
component has multiple inherited PageDecorators configured 0.005
component has a named single Resource configured 0.003
component has a named single inherited Resource configured 0.004

TagInjectorSpec

all tags populated from root 0.018
all inherited tags populated 0.002

ValueMapFromRequestInjectorSpec

inject values for component 0.004

Back to top