Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
93 0 0 1 98.925% 33.123

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.servlet 1 0 0 0 100% 0.052
info.magnolia.module.rssaggregator.setup 18 0 0 0 100% 17.231
info.magnolia.module.rssaggregator 2 0 0 0 100% 0.04
info.magnolia.module.rssaggregator.validator 2 0 0 0 100% 0.021
info.magnolia.module.rssaggregator.templates.components 4 0 0 0 100% 1.331
info.magnolia.module.rssaggregator.field.transformer 4 0 0 0 100% 0.016
info.magnolia.module.rssaggregator.importhandler 32 0 0 1 96.875% 0.148
info.magnolia.module.rssaggregator.generator 8 0 0 0 100% 5.88
info.magnolia.module.rssaggregator.command 1 0 0 0 100% 0.637
info.magnolia.module.rssaggregator.util 16 0 0 0 100% 0.105
info.magnolia.module.rssaggregator.action 5 0 0 0 100% 7.662

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

info.magnolia.module.rssaggregator.servlet

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

info.magnolia.module.rssaggregator.setup

Class Tests Errors Failures Skipped Success Rate Time
RSSAggregatorVersionHandlerTest 18 0 0 0 100% 17.231

info.magnolia.module.rssaggregator

Class Tests Errors Failures Skipped Success Rate Time
RSSAggregatorTest 1 0 0 0 100% 0.04
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.021

info.magnolia.module.rssaggregator.templates.components

Class Tests Errors Failures Skipped Success Rate Time
CombinedFeedModelTest 1 0 0 0 100% 0.031
FeedListModelTest 2 0 0 0 100% 0.015
FeedSubscriptionModelFunctionalityTest 1 0 0 0 100% 1.285

info.magnolia.module.rssaggregator.field.transformer

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

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.008
AggregateTest 1 0 0 0 100% 0.001
FastRSSFeedFetcherTest 2 0 0 1 50% 0.092
FeedChannelContentMapperTest 3 0 0 0 100% 0
PlanetFilterTest 8 0 0 0 100% 0.033
SimpleRSSFeedFetcherTest 1 0 0 0 100% 0.012

info.magnolia.module.rssaggregator.generator

Class Tests Errors Failures Skipped Success Rate Time
FeedGeneratorResolverTest 2 0 0 0 100% 0.975
PlanetDataGeneratorTest 1 0 0 0 100% 4.68
PlanetFeedGeneratorTest 1 0 0 0 100% 0.001
RSSModuleFeedGeneratorTest 3 0 0 0 100% 0.174
SyndFeedGeneratorTest 1 0 0 0 100% 0.05

info.magnolia.module.rssaggregator.command

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

info.magnolia.module.rssaggregator.util

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

info.magnolia.module.rssaggregator.action

Class Tests Errors Failures Skipped Success Rate Time
RSSBasicTransformerTest 1 0 0 0 100% 4.3
RunRSSImportActionTest 1 0 0 0 100% 1.514
SaveRSSActionTest 3 0 0 0 100% 1.848

Test Cases

[Summary] [Package List] [Test Cases]

RSSBasicTransformerTest

testWriteToDataSourceItem 4.3

RunRSSImportActionTest

testCallingTheAction 1.514

SaveRSSActionTest

testDefault 0.705
testAddingNewRSSJob 0.61
testSetItemName 0.533

LaunchSingleRSSCommandTest

testStoppingTheSchedulerJobIfNoCorrespondingRSSNodeIsFoundInTheRepositoryDuringTheLaunchSingleRSSCommandExecution 0.637

RSSSwitchableFieldTransformerTest

readFromItem 0.01
writeToItemDisabledSelected 0.004
writeToItemCronMakerSelected 0.001
writeToItemCronStringSelected 0.001

FeedGeneratorResolverTest

testResolve 0.494
testResolve_throwsExceptionWhenUnresolvable 0.481

PlanetDataGeneratorTest

testEntriesAreNotOverwritten 4.68

PlanetFeedGeneratorTest

testGetFeedType 0.001

RSSModuleFeedGeneratorTest

willNotFailOnNPEWhenFeedNodeIsNull 0.049
filterOutJcrAndMgnlPropertiesFromCategoriesNode 0.118
mapNodeToFeedEntryAlsoWhenCategoriesNodeDoesNotExist 0.007

SyndFeedGeneratorTest

testGenerate 0.05

AggregateFeedContentMapperTest

testMap 0.002

AggregateFilterTest

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

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce 0

FastRSSFeedFetcherTest

restoresThreadInterruptStatusOnInterruptedException 0
skipped
testFeedsThatAreBeingFetchedAreShutDown 0.092

FeedChannelContentMapperTest

testMap 0
testMap_returnsNullOnMissingLinkNodeData 0
testWillNotFailOnNPEWhenTitleAndUrlPropertyDoesNotExists 0

PlanetFilterTest

testMatchString 0.005
testNoMatchString 0.012
testCamel 0.001
testIncludeAndConditions 0.003
testIncludeOrConditions 0.003
testIncludeAndConditionsWithNot 0.004
testIncludeOrConditionsWithNot 0.003
testIncludeNotConditions 0.002

SimpleRSSFeedFetcherTest

testFetchAggregate 0.012

RSSAggregatorTest

testScheduledJobShouldNotBeStartedWithoutCronValue 0.04

RSSJobTest

testRSSJobSetAndGet 0

FeedSyndicationServletTest

testHandleRequest 0.052

RSSAggregatorVersionHandlerTest

testUpdateTo22ReordersRSSBeforeConfigApp 3.223
testFreshInstallReordersRSSBeforeConfigApp 0.747
testUpdateFrom21 1.839
testUpdateFromMagnolia45x 1.654
testUpdateFrom221 0.912
updateFrom222RegistersCacheFlushingForRss 0.899
testFreshInstallCacheFlushingRegistration 0.633
updateTo23RenamesFilterFields 0.871
testUpdateTo231ConfigureActions 0.685
testUpdateTo232AddReadPermissionForRssWorkspaceToRssAggregatorBaseRole 0.683
testUpdateTo234AddNewCronConfiguration 0.66
testUpdateTo234ConfigImportTimingSetterPropertyIsInitializedToDisabled 0.635
testUpdateTo234ConfigImportTimingSetterPropertyIsInitializedToCronString 0.637
testUpdateTo234RssAggregatorNodesImportTimingSetterPropertyIsInitialized 0.646
testUpdateTo234RemoveRssAggregatorFromDataImporterst 0.627
testUpdateTo234ReconfigureFetcherIfNodeExist 0.635
testUpdateTo234ReconfigureFetcherIfNodeNotExist 0.625
testUpdateTo234AddFetcherClassFieldsToApp 0.62

CombinedFeedModelTest

testXpathQueryIsEncoded 0.031

FeedListModelTest

testGetItemsXpathQueryIsEncoded 0.008
testGetFeedsXpathQueryIsEncoded 0.007

FeedSubscriptionModelFunctionalityTest

testGetFeedTitle 1.285

AssertTest

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

CollectionUtilsTest

testAsSet 0
testAsSet_throwsExceptionOnIllegalArguments 0

MagnoliaTemplateTest

testQueryForList 0.021
testQueryForObject 0.012
testQueryForObject_returnsNullOnZeroResults 0.011
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults 0.013
testXpathQueryForList 0.012
testXpathQueryForObject 0.013
testQueryInternal 0.011
testQueryInternal_translatesRepositoryExceptionToDataAccessException 0.011

RSSNameFieldValidatorTest

testUniqueName 0.011
testExistingName 0.01

Failure Details

[Summary] [Package List] [Test Cases]


restoresThreadInterruptStatusOnInterruptedException
skipped: skipped