Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.049
info.magnolia.module.rssaggregator.setup 20 0 0 0 100% 27.917
info.magnolia.module.rssaggregator 2 0 0 0 100% 0.004
info.magnolia.module.rssaggregator.validator 2 0 0 0 100% 0.013
info.magnolia.module.rssaggregator.templates.components 4 0 0 0 100% 0.913
info.magnolia.module.rssaggregator.field.transformer 4 0 0 0 100% 0.015
info.magnolia.module.rssaggregator.importhandler 32 0 0 1 96.875% 0.15
info.magnolia.module.rssaggregator.generator 14 0 0 0 100% 7.26
info.magnolia.module.rssaggregator.command 1 0 0 0 100% 0.493
info.magnolia.module.rssaggregator.util 16 0 0 0 100% 0.073
info.magnolia.module.rssaggregator.action 5 0 0 0 100% 7.464

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.049

info.magnolia.module.rssaggregator.setup

Class Tests Errors Failures Skipped Success Rate Time
RSSAggregatorVersionHandlerTest 20 0 0 0 100% 27.917

info.magnolia.module.rssaggregator

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

info.magnolia.module.rssaggregator.templates.components

Class Tests Errors Failures Skipped Success Rate Time
CombinedFeedModelTest 1 0 0 0 100% 0.027
FeedListModelTest 2 0 0 0 100% 0.012
FeedSubscriptionModelFunctionalityTest 1 0 0 0 100% 0.874

info.magnolia.module.rssaggregator.field.transformer

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

info.magnolia.module.rssaggregator.importhandler

Class Tests Errors Failures Skipped Success Rate Time
AggregateFeedContentMapperTest 1 0 0 0 100% 0.011
AggregateFilterTest 16 0 0 0 100% 0.01
AggregateTest 1 0 0 0 100% 0
FastRSSFeedFetcherTest 2 0 0 1 50% 0.075
FeedChannelContentMapperTest 3 0 0 0 100% 0.009
PlanetFilterTest 8 0 0 0 100% 0.036
SimpleRSSFeedFetcherTest 1 0 0 0 100% 0.009

info.magnolia.module.rssaggregator.generator

Class Tests Errors Failures Skipped Success Rate Time
FeedGeneratorResolverTest 2 0 0 0 100% 0.944
PageSyndicatorTest 6 0 0 0 100% 0.216
PlanetDataGeneratorTest 1 0 0 0 100% 5.995
PlanetFeedGeneratorTest 1 0 0 0 100% 0
RSSModuleFeedGeneratorTest 3 0 0 0 100% 0.078
SyndFeedGeneratorTest 1 0 0 0 100% 0.027

info.magnolia.module.rssaggregator.command

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

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
MagnoliaTemplateTest 8 0 0 0 100% 0.073

info.magnolia.module.rssaggregator.action

Class Tests Errors Failures Skipped Success Rate Time
RSSBasicTransformerTest 1 0 0 0 100% 3.948
RunRSSImportActionTest 1 0 0 0 100% 1.507
SaveRSSActionTest 3 0 0 0 100% 2.009

Test Cases

[Summary] [Package List] [Test Cases]

RSSBasicTransformerTest

testWriteToDataSourceItem 3.948

RunRSSImportActionTest

testCallingTheAction 1.507

SaveRSSActionTest

testDefault 0.8
testAddingNewRSSJob 0.625
testSetItemName 0.584

LaunchSingleRSSCommandTest

testStoppingTheSchedulerJobIfNoCorrespondingRSSNodeIsFoundInTheRepositoryDuringTheLaunchSingleRSSCommandExecution 0.493

RSSSwitchableFieldTransformerTest

readFromItem 0.012
writeToItemDisabledSelected 0.003
writeToItemCronMakerSelected 0
writeToItemCronStringSelected 0

FeedGeneratorResolverTest

testResolve 0.489
testResolve_throwsExceptionWhenUnresolvable 0.455

PageSyndicatorTest

setFeedInfoWillNotFailOnNPEWhenFeedNodeIsNull 0.1
setFeedInfoWillSetFeedLinkToDefaultBAseURLWhenFeedNodeIsNull 0.012
loadFeedEntriesWillNotFailOnNPEWhenFeedNodeIsNull 0.013
getSiteRootReturnRootWhenIsNotSet 0.009
getSiteRoot 0.011
getFeed 0.071

PlanetDataGeneratorTest

testEntriesAreNotOverwritten 5.995

PlanetFeedGeneratorTest

testGetFeedType 0

RSSModuleFeedGeneratorTest

filterOutJcrAndMgnlPropertiesFromCategoriesNode 0.027
willNotFailOnNPEWhenFeedNodeIsNull 0.035
mapNodeToFeedEntryAlsoWhenCategoriesNodeDoesNotExist 0.016

SyndFeedGeneratorTest

testGenerate 0.027

AggregateFeedContentMapperTest

testMap 0.011

AggregateFilterTest

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

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce 0

FastRSSFeedFetcherTest

restoresThreadInterruptStatusOnInterruptedException 0
skipped
testFeedsThatAreBeingFetchedAreShutDown 0.075

FeedChannelContentMapperTest

testMap 0.008
testMap_returnsNullOnMissingLinkNodeData 0
testWillNotFailOnNPEWhenTitleAndUrlPropertyDoesNotExists 0.001

PlanetFilterTest

testMatchString 0.002
testNoMatchString 0.011
testCamel 0
testIncludeAndConditions 0.009
testIncludeOrConditions 0.004
testIncludeAndConditionsWithNot 0.005
testIncludeOrConditionsWithNot 0.003
testIncludeNotConditions 0.002

SimpleRSSFeedFetcherTest

testFetchAggregate 0.009

RSSAggregatorTest

testScheduledJobShouldNotBeStartedWithoutCronValue 0.004

RSSJobTest

testRSSJobSetAndGet 0

FeedSyndicationServletTest

testHandleRequest 0.049

RSSAggregatorVersionHandlerTest

testUpdateTo22ReordersRSSBeforeConfigApp 3.862
testFreshInstallReordersRSSBeforeConfigApp 3.62
testUpdateFrom21 2.76
testUpdateFromMagnolia45x 2.18
testUpdateFrom221 1.336
updateTo23RenamesFilterFields 1.449
testUpdateTo231ConfigureActions 1.204
testUpdateTo232AddReadPermissionForRssWorkspaceToRssAggregatorBaseRole 0.888
testUpdateTo24ComponentsHaveFreemarkerRenderer 0.877
testUpdateTo24FeedGeneratorClassWasUpdated 0.712
testUpdateTo24TabPaginationWasUpdated 0.736
cleanInstallAddSTKComponentAvailabilityWhenSamplesShouldNotBeInstalled 1.327
cleanInstallAddSTKComponentAvailabilityWhenSTKIsInstalled 1.837
testUpdateTo234ConfigImportTimingSetterPropertyIsInitializedToDisabled 0.813
testUpdateTo234ConfigImportTimingSetterPropertyIsInitializedToCronString 0.79
testUpdateTo234RssAggregatorNodesImportTimingSetterPropertyIsInitialized 0.751
testUpdateTo234RemoveRssAggregatorFromDataImporterst 0.646
testUpdateTo234ReconfigureFetcherIfNodeExist 0.735
testUpdateTo234ReconfigureFetcherIfNodeNotExist 0.779
testUpdateTo234AddFetcherClassFieldsToApp 0.615

CombinedFeedModelTest

testXpathQueryIsEncoded 0.027

FeedListModelTest

testGetItemsXpathQueryIsEncoded 0.006
testGetFeedsXpathQueryIsEncoded 0.006

FeedSubscriptionModelFunctionalityTest

testGetFeedTitle 0.874

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.017
testQueryForObject 0.008
testQueryForObject_returnsNullOnZeroResults 0.008
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults 0.009
testXpathQueryForList 0.009
testXpathQueryForObject 0.008
testQueryInternal 0.007
testQueryInternal_translatesRepositoryExceptionToDataAccessException 0.007

RSSNameFieldValidatorTest

testUniqueName 0.006
testExistingName 0.007

Failure Details

[Summary] [Package List] [Test Cases]


restoresThreadInterruptStatusOnInterruptedException
skipped: skipped