Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
101 0 0 1 99.01% 21.607

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.module.rssaggregator.generator 14 0 0 0 100% 1.787
info.magnolia.module.rssaggregator 2 0 0 0 100% 0.018
info.magnolia.module.rssaggregator.setup 19 0 0 0 100% 17.287
info.magnolia.module.rssaggregator.validator 2 0 0 0 100% 0.01
info.magnolia.module.rssaggregator.util 16 0 0 0 100% 0.075
info.magnolia.module.rssaggregator.action 5 0 0 0 100% 0.88
info.magnolia.module.rssaggregator.command 1 0 0 0 100% 0.141
info.magnolia.module.rssaggregator.templates.components 4 0 0 0 100% 0.49
info.magnolia.module.rssaggregator.importhandler 32 0 0 1 96.875% 0.161
info.magnolia.module.rssaggregator.field.transformer 4 0 0 0 100% 0.021
info.magnolia.module.rssaggregator.servlet 2 0 0 0 100% 0.737

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

info.magnolia.module.rssaggregator.generator

Class Tests Errors Failures Skipped Success Rate Time
RSSModuleFeedGeneratorTest 3 0 0 0 100% 0.03
FeedGeneratorResolverTest 2 0 0 0 100% 0.428
PageSyndicatorTest 6 0 0 0 100% 0.064
PlanetDataGeneratorTest 1 0 0 0 100% 1.258
SyndFeedGeneratorTest 1 0 0 0 100% 0.005
PlanetFeedGeneratorTest 1 0 0 0 100% 0.002

info.magnolia.module.rssaggregator

Class Tests Errors Failures Skipped Success Rate Time
RSSJobTest 1 0 0 0 100% 0
RSSAggregatorTest 1 0 0 0 100% 0.018

info.magnolia.module.rssaggregator.setup

Class Tests Errors Failures Skipped Success Rate Time
RSSAggregatorVersionHandlerTest 19 0 0 0 100% 17.287

info.magnolia.module.rssaggregator.validator

Class Tests Errors Failures Skipped Success Rate Time
RSSNameFieldValidatorTest 2 0 0 0 100% 0.01

info.magnolia.module.rssaggregator.util

Class Tests Errors Failures Skipped Success Rate Time
CollectionUtilsTest 2 0 0 0 100% 0
MagnoliaTemplateTest 8 0 0 0 100% 0.075
AssertTest 6 0 0 0 100% 0

info.magnolia.module.rssaggregator.action

Class Tests Errors Failures Skipped Success Rate Time
RSSBasicTransformerTest 1 0 0 0 100% 0.166
SaveRSSActionTest 3 0 0 0 100% 0.516
RunRSSImportActionTest 1 0 0 0 100% 0.198

info.magnolia.module.rssaggregator.command

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

info.magnolia.module.rssaggregator.templates.components

Class Tests Errors Failures Skipped Success Rate Time
CombinedFeedModelTest 1 0 0 0 100% 0.014
FeedListModelTest 2 0 0 0 100% 0.004
FeedSubscriptionModelFunctionalityTest 1 0 0 0 100% 0.472

info.magnolia.module.rssaggregator.importhandler

Class Tests Errors Failures Skipped Success Rate Time
AggregateTest 1 0 0 0 100% 0.001
PlanetFilterTest 8 0 0 0 100% 0.023
AggregateFeedContentMapperTest 1 0 0 0 100% 0.02
AggregateFilterTest 16 0 0 0 100% 0.004
FastRSSFeedFetcherTest 2 0 0 1 50% 0.094
FeedChannelContentMapperTest 3 0 0 0 100% 0
SimpleRSSFeedFetcherTest 1 0 0 0 100% 0.019

info.magnolia.module.rssaggregator.field.transformer

Class Tests Errors Failures Skipped Success Rate Time
RSSSwitchableFieldTransformerTest 4 0 0 0 100% 0.021

info.magnolia.module.rssaggregator.servlet

Class Tests Errors Failures Skipped Success Rate Time
FeedSyndicationServletTest 2 0 0 0 100% 0.737

Test Cases

[Summary] [Package List] [Test Cases]

RSSModuleFeedGeneratorTest

willNotFailOnNPEWhenFeedNodeIsNull 0.012
mapNodeToFeedEntryAlsoWhenCategoriesNodeDoesNotExist 0.011
filterOutJcrAndMgnlPropertiesFromCategoriesNode 0.007

FeedGeneratorResolverTest

testResolve 0.237
testResolve_throwsExceptionWhenUnresolvable 0.191

CollectionUtilsTest

testAsSet 0
testAsSet_throwsExceptionOnIllegalArguments 0

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce 0.001

RSSBasicTransformerTest

testWriteToDataSourceItem 0.166

PageSyndicatorTest

getSiteRoot 0.016
setFeedInfoWillNotFailOnNPEWhenFeedNodeIsNull 0.017
getFeed 0.016
getSiteRootReturnRootWhenIsNotSet 0.005
loadFeedEntriesWillNotFailOnNPEWhenFeedNodeIsNull 0.005
setFeedInfoWillSetFeedLinkToDefaultBAseURLWhenFeedNodeIsNull 0.005

PlanetFilterTest

testIncludeAndConditionsWithNot 0.015
testIncludeAndConditions 0.002
testCamel 0
testIncludeOrConditionsWithNot 0.002
testNoMatchString 0
testIncludeNotConditions 0.002
testIncludeOrConditions 0.002
testMatchString 0

LaunchSingleRSSCommandTest

testStoppingTheSchedulerJobIfNoCorrespondingRSSNodeIsFoundInTheRepositoryDuringTheLaunchSingleRSSCommandExecution 0.141

MagnoliaTemplateTest

testQueryForObject_returnsNullOnZeroResults 0.035
testQueryForObject 0.007
testQueryInternal 0.007
testQueryInternal_translatesRepositoryExceptionToDataAccessException 0.005
testXpathQueryForObject 0.004
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults 0.008
testQueryForList 0.004
testXpathQueryForList 0.005

CombinedFeedModelTest

testXpathQueryIsEncoded 0.014

SaveRSSActionTest

testSetItemName 0.187
testAddingNewRSSJob 0.162
testDefault 0.167

FeedListModelTest

testGetItemsXpathQueryIsEncoded 0.002
testGetFeedsXpathQueryIsEncoded 0.002

AggregateFeedContentMapperTest

testMap 0.02

AssertTest

testNotBlank 0
testNotNull_throwsExceptionOnNull 0
testIsTrue_throwsExceptionOnFalse 0
testIsTrue 0
testNotBlank_throwsExceptionOnBlank 0
testNotNull 0

AggregateFilterTest

filterIncludeWithOrConditionTrueAndOrConditionTrue 0.001
filterIncludeWithOrConditionTrueAndNotConditionFalse 0
filterIncludeWithNotConditionFalseAndOrConditionTrue 0
filterIncludeWithOrConditionTrueAndOrConditionFalse 0.001
filterIncludeWithNotConditionFalseAndAndConditionTrue 0
filterIncludeWithOrConditionFalseAndAndConditionFalse 0
filterIncludeWithAndConditionTrueAndOrConditionFalse 0
filterIncludeWithOrConditionFalseAndOrConditionFalse 0.001
filterIncludeWithOrConditionTrueAndAndConditionFalse 0
filterIncludeWithAndConditionTrueAndOrConditionTrue 0
filterIncludeWithAndConditionTrueAndNotConditionTrue 0
filterIncludeWithAndConditionTrueAndAndConditionTrue 0
filterIncludeWithAndConditionFalseAndAndConditionFalse 0
filterIncludeWithAndConditionFalseAndOrConditionTrue 0
filterIncludeWithAndConditionFalseAndOrConditionFalse 0
filterIncludeWithAndConditionTrueAndAndConditionFalse 0.001

FastRSSFeedFetcherTest

testFeedsThatAreBeingFetchedAreShutDown 0.094
restoresThreadInterruptStatusOnInterruptedException 0
skipped

RSSJobTest

testRSSJobSetAndGet 0

RSSAggregatorVersionHandlerTest

updateFrom221 2.823
updateFrom261 0.687
updateFrom231AddReadPermissionForRssWorkspaceToRssAggregatorBaseRole 0.912
updateFrom233ReconfigureFetcherIfNodeExist 0.808
updateFrom222RenamesFilterFields 1.228
updateFrom25RemovesLegacyPropertiesFromConfiguration 0.614
updateFrom232FeedGeneratorClassWasUpdated 0.713
updateFrom233AddFetcherClassFieldsToApp 0.688
cleanInstallAddSTKComponentAvailabilityWhenSamplesShouldNotBeInstalled 0.894
updateFrom233RemoveRssAggregatorFromDataImporterst 0.721
cleanInstallBootstrapsVirtualUriMappings 1.467
updateFrom232ComponentsHaveFreemarkerRenderer 0.704
freshInstallReordersRSSBeforeConfigApp 1.076
updateFrom233RssAggregatorNodesImportTimingSetterPropertyIsInitialized 0.597
cleanInstallAddSTKComponentAvailabilityWhenSTKIsInstalled 1.062
updateFrom233ReconfigureFetcherIfNodeNotExist 0.632
updateFrom23ConfigureActions 0.644
updateFrom232TabPaginationWasUpdated 0.576
updateFrom253UpdatesVirtualUriMappings 0.441

FeedSyndicationServletTest

doNotFailOnWrongMapping 0.732
testHandleRequest 0.005

RSSNameFieldValidatorTest

testUniqueName 0.005
testExistingName 0.005

PlanetDataGeneratorTest

testEntriesAreNotOverwritten 1.258

RSSAggregatorTest

testScheduledJobShouldNotBeStartedWithoutCronValue 0.018

FeedSubscriptionModelFunctionalityTest

testGetFeedTitle 0.472

FeedChannelContentMapperTest

testMap 0
testMap_returnsNullOnMissingLinkNodeData 0
testWillNotFailOnNPEWhenTitleAndUrlPropertyDoesNotExists 0

RSSSwitchableFieldTransformerTest

writeToItemCronMakerSelected 0.02
writeToItemDisabledSelected 0
writeToItemCronStringSelected 0
readFromItem 0.001

SyndFeedGeneratorTest

testGenerate 0.005

SimpleRSSFeedFetcherTest

testFetchAggregate 0.019

RunRSSImportActionTest

testCallingTheAction 0.198

PlanetFeedGeneratorTest

testGetFeedType 0.002

Failure Details

[Summary] [Package List] [Test Cases]


restoresThreadInterruptStatusOnInterruptedException
skipped: skipped