Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
90 0 0 1 98.889% 21.14

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.app.subapps.aggregationconfig 1 0 0 0 100% 0.554
info.magnolia.module.rssaggregator.servlet 1 0 0 0 100% 0.036
info.magnolia.module.rssaggregator.setup 10 0 0 0 100% 8.381
info.magnolia.module.rssaggregator 2 0 0 0 100% 0.034
info.magnolia.module.rssaggregator.validator 2 0 0 0 100% 0.016
info.magnolia.module.rssaggregator.templates.components 4 0 0 0 100% 1.031
info.magnolia.module.rssaggregator.importhandler 41 0 0 1 97.561% 0.239
info.magnolia.module.rssaggregator.generator 8 0 0 0 100% 4.686
info.magnolia.module.rssaggregator.command 1 0 0 0 100% 0.485
info.magnolia.module.rssaggregator.util 16 0 0 0 100% 0.083
info.magnolia.module.rssaggregator.action 4 0 0 0 100% 5.595

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

info.magnolia.module.rssaggregator.app.subapps.aggregationconfig

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

info.magnolia.module.rssaggregator.servlet

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

info.magnolia.module.rssaggregator.setup

Class Tests Errors Failures Skipped Success Rate Time
RSSAggregatorVersionHandlerTest 10 0 0 0 100% 8.381

info.magnolia.module.rssaggregator

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

info.magnolia.module.rssaggregator.validator

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

info.magnolia.module.rssaggregator.templates.components

Class Tests Errors Failures Skipped Success Rate Time
CombinedFeedModelTest 1 0 0 0 100% 0.023
FeedListModelTest 2 0 0 0 100% 0.011
FeedSubscriptionModelFunctionalityTest 1 0 0 0 100% 0.997

info.magnolia.module.rssaggregator.importhandler

Class Tests Errors Failures Skipped Success Rate Time
AggregateFeedContentMapperTest 1 0 0 0 100% 0.002
AggregateFilterTest 16 0 0 0 100% 0.005
AggregateTest 1 0 0 0 100% 0
FastRSSFeedFetcherTest 2 0 0 1 50% 0.053
FeedChannelContentMapperTest 3 0 0 0 100% 0.001
PlanetFilterTest 8 0 0 0 100% 0.022
RSSFeedImportHandlerTest 9 0 0 0 100% 0.145
SimpleRSSFeedFetcherTest 1 0 0 0 100% 0.011

info.magnolia.module.rssaggregator.generator

Class Tests Errors Failures Skipped Success Rate Time
FeedGeneratorResolverTest 2 0 0 0 100% 0.761
PlanetDataGeneratorTest 1 0 0 0 100% 3.725
PlanetFeedGeneratorTest 1 0 0 0 100% 0.001
RSSModuleFeedGeneratorTest 3 0 0 0 100% 0.137
SyndFeedGeneratorTest 1 0 0 0 100% 0.062

info.magnolia.module.rssaggregator.command

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

info.magnolia.module.rssaggregator.util

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

info.magnolia.module.rssaggregator.action

Class Tests Errors Failures Skipped Success Rate Time
RSSBasicTransformerTest 1 0 0 0 100% 3.351
RunRSSImportActionTest 1 0 0 0 100% 1.189
SaveRSSActionTest 2 0 0 0 100% 1.055

Test Cases

[Summary] [Package List] [Test Cases]

RSSBasicTransformerTest

testWriteToDataSourceItem 3.351

RunRSSImportActionTest

testCallingTheAction 1.189

SaveRSSActionTest

testDefault 0.58
testAddingNewRSSJob 0.475

RSSAggregatorConfigurationPresenterTest

testPlanetConfigurationIsEnabledWhenPlanetAggregatorsExist 0.554

LaunchSingleRSSCommandTest

testStoppingTheSchedulerJobIfNoCorrespondingRSSNodeIsFoundInTheRepositoryDuringTheLaunchSingleRSSCommandExecution 0.485

FeedGeneratorResolverTest

testResolve 0.365
testResolve_throwsExceptionWhenUnresolvable 0.396

PlanetDataGeneratorTest

testEntriesAreNotOverwritten 3.725

PlanetFeedGeneratorTest

testGetFeedType 0.001

RSSModuleFeedGeneratorTest

willNotFailOnNPEWhenFeedNodeIsNull 0.036
filterOutJcrAndMgnlPropertiesFromCategoriesNode 0.095
mapNodeToFeedEntryAlsoWhenCategoriesNodeDoesNotExist 0.006

SyndFeedGeneratorTest

testGenerate 0.062

AggregateFeedContentMapperTest

testMap 0.002

AggregateFilterTest

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

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce 0

FastRSSFeedFetcherTest

restoresThreadInterruptStatusOnInterruptedException 0
skipped
testFeedsThatAreBeingFetchedAreShutDown 0.053

FeedChannelContentMapperTest

testMap_returnsNullOnMissingLinkNodeData 0
testWillNotFailOnNPEWhenTitleAndUrlPropertyDoesNotExists 0
testMap 0

PlanetFilterTest

testMatchString 0.002
testNoMatchString 0.009
testCamel 0
testIncludeAndConditions 0.003
testIncludeOrConditions 0.002
testIncludeAndConditionsWithNot 0.003
testIncludeOrConditionsWithNot 0.002
testIncludeNotConditions 0.001

RSSFeedImportHandlerTest

testDoImport 0.054
testDoImport_doesNothingOnNoAggregatesFound 0.009
testLoadAggregates 0.01
testSaveAggregates 0.023
testLoadAggregateFilter 0.01
testSaveFeedChannel 0.013
testRecreateChannelNode 0.008
testCreateFeedChannelEntryNode 0.009
testCreateCategoriesNode 0.009

SimpleRSSFeedFetcherTest

testFetchAggregate 0.011

RSSAggregatorTest

testScheduledJobShouldNotBeStartedWithoutCronValue 0.034

RSSJobTest

testRSSJobSetAndGet 0

FeedSyndicationServletTest

testHandleRequest 0.036

RSSAggregatorVersionHandlerTest

testUpdateTo22ReordersRSSBeforeConfigApp 2.157
testFreshInstallReordersRSSBeforeConfigApp 0.569
testUpdateFrom21 1.317
testUpdateFromMagnolia45x 1.159
testUpdateFrom221 0.632
updateFrom222RegistersCacheFlushingForRss 0.61
testFreshInstallCacheFlushingRegistration 0.478
updateTo23RenamesFilterFields 0.602
testUpdateTo231ConfigureActions 0.432
testUpdateTo232AddReadPermissionForRssWorkspaceToRssAggregatorBaseRole 0.425

CombinedFeedModelTest

testXpathQueryIsEncoded 0.023

FeedListModelTest

testGetItemsXpathQueryIsEncoded 0.005
testGetFeedsXpathQueryIsEncoded 0.006

FeedSubscriptionModelFunctionalityTest

testGetFeedTitle 0.997

AssertTest

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

CollectionUtilsTest

testAsSet 0
testAsSet_throwsExceptionOnIllegalArguments 0

MagnoliaTemplateTest

testQueryForList 0.017
testQueryForObject 0.009
testQueryForObject_returnsNullOnZeroResults 0.009
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults 0.01
testXpathQueryForList 0.01
testXpathQueryForObject 0.01
testQueryInternal 0.008
testQueryInternal_translatesRepositoryExceptionToDataAccessException 0.009

RSSNameFieldValidatorTest

testUniqueName 0.008
testExistingName 0.008

Failure Details

[Summary] [Package List] [Test Cases]


restoresThreadInterruptStatusOnInterruptedException
skipped: skipped