Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
102 0 0 1 99.02% 32.329

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% 4.509
info.magnolia.module.rssaggregator 2 0 0 0 100% 0.004
info.magnolia.module.rssaggregator.setup 20 0 0 0 100% 20.828
info.magnolia.module.rssaggregator.validator 2 0 0 0 100% 0.012
info.magnolia.module.rssaggregator.util 16 0 0 0 100% 0.071
info.magnolia.module.rssaggregator.action 5 0 0 0 100% 5.566
info.magnolia.module.rssaggregator.command 1 0 0 0 100% 0.369
info.magnolia.module.rssaggregator.templates.components 4 0 0 0 100% 0.791
info.magnolia.module.rssaggregator.field.transformer 4 0 0 0 100% 0.027
info.magnolia.module.rssaggregator.importhandler 32 0 0 1 96.875% 0.117
info.magnolia.module.rssaggregator.servlet 2 0 0 0 100% 0.035

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
FeedGeneratorResolverTest 2 0 0 0 100% 0.889
PageSyndicatorTest 6 0 0 0 100% 0.291
PlanetDataGeneratorTest 1 0 0 0 100% 3.274
PlanetFeedGeneratorTest 1 0 0 0 100% 0
RSSModuleFeedGeneratorTest 3 0 0 0 100% 0.041
SyndFeedGeneratorTest 1 0 0 0 100% 0.014

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

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

info.magnolia.module.rssaggregator.validator

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

info.magnolia.module.rssaggregator.util

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

info.magnolia.module.rssaggregator.action

Class Tests Errors Failures Skipped Success Rate Time
RSSBasicTransformerTest 1 0 0 0 100% 3.376
RunRSSImportActionTest 1 0 0 0 100% 0.703
SaveRSSActionTest 3 0 0 0 100% 1.487

info.magnolia.module.rssaggregator.command

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

info.magnolia.module.rssaggregator.templates.components

Class Tests Errors Failures Skipped Success Rate Time
CombinedFeedModelTest 1 0 0 0 100% 0.018
FeedListModelTest 2 0 0 0 100% 0.006
FeedSubscriptionModelFunctionalityTest 1 0 0 0 100% 0.767

info.magnolia.module.rssaggregator.field.transformer

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

info.magnolia.module.rssaggregator.importhandler

Class Tests Errors Failures Skipped Success Rate Time
AggregateFeedContentMapperTest 1 0 0 0 100% 0.008
AggregateFilterTest 16 0 0 0 100% 0.007
AggregateTest 1 0 0 0 100% 0
FastRSSFeedFetcherTest 2 0 0 1 50% 0.064
FeedChannelContentMapperTest 3 0 0 0 100% 0.005
PlanetFilterTest 8 0 0 0 100% 0.027
SimpleRSSFeedFetcherTest 1 0 0 0 100% 0.006

info.magnolia.module.rssaggregator.servlet

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

Test Cases

[Summary] [Package List] [Test Cases]

RSSBasicTransformerTest

testWriteToDataSourceItem 3.376

RunRSSImportActionTest

testCallingTheAction 0.703

SaveRSSActionTest

testSetItemName 0.606
testAddingNewRSSJob 0.486
testDefault 0.395

LaunchSingleRSSCommandTest

testStoppingTheSchedulerJobIfNoCorrespondingRSSNodeIsFoundInTheRepositoryDuringTheLaunchSingleRSSCommandExecution 0.369

RSSSwitchableFieldTransformerTest

writeToItemCronMakerSelected 0.025
writeToItemDisabledSelected 0.001
writeToItemCronStringSelected 0.001
readFromItem 0

FeedGeneratorResolverTest

testResolve 0.503
testResolve_throwsExceptionWhenUnresolvable 0.386

PageSyndicatorTest

getSiteRoot 0.131
setFeedInfoWillNotFailOnNPEWhenFeedNodeIsNull 0.041
getFeed 0.087
getSiteRootReturnRootWhenIsNotSet 0.013
loadFeedEntriesWillNotFailOnNPEWhenFeedNodeIsNull 0.01
setFeedInfoWillSetFeedLinkToDefaultBAseURLWhenFeedNodeIsNull 0.009

PlanetDataGeneratorTest

testEntriesAreNotOverwritten 3.274

PlanetFeedGeneratorTest

testGetFeedType 0

RSSModuleFeedGeneratorTest

willNotFailOnNPEWhenFeedNodeIsNull 0.014
mapNodeToFeedEntryAlsoWhenCategoriesNodeDoesNotExist 0.017
filterOutJcrAndMgnlPropertiesFromCategoriesNode 0.01

SyndFeedGeneratorTest

testGenerate 0.014

AggregateFeedContentMapperTest

testMap 0.008

AggregateFilterTest

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

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce 0

FastRSSFeedFetcherTest

testFeedsThatAreBeingFetchedAreShutDown 0.064
restoresThreadInterruptStatusOnInterruptedException 0
skipped

FeedChannelContentMapperTest

testMap 0.005
testMap_returnsNullOnMissingLinkNodeData 0
testWillNotFailOnNPEWhenTitleAndUrlPropertyDoesNotExists 0

PlanetFilterTest

testIncludeAndConditionsWithNot 0.01
testIncludeAndConditions 0.008
testCamel 0
testIncludeOrConditionsWithNot 0.003
testNoMatchString 0
testIncludeNotConditions 0.003
testIncludeOrConditions 0.003
testMatchString 0

SimpleRSSFeedFetcherTest

testFetchAggregate 0.006

RSSAggregatorTest

testScheduledJobShouldNotBeStartedWithoutCronValue 0.004

RSSJobTest

testRSSJobSetAndGet 0

FeedSyndicationServletTest

doNotFailOnWrongMapping 0.027
testHandleRequest 0.008

RSSAggregatorVersionHandlerTest

updateFrom221 1.79
updateFrom231AddReadPermissionForRssWorkspaceToRssAggregatorBaseRole 0.928
updateFrom233ConfigImportTimingSetterPropertyIsInitializedToCronString 0.958
updateFrom233ReconfigureFetcherIfNodeExist 1.023
updateFrom222RenamesFilterFields 1.397
updateFrom25RemovesLegacyPropertiesFromConfiguration 0.738
updateFrom232FeedGeneratorClassWasUpdated 0.875
updateFrom233AddFetcherClassFieldsToApp 0.869
cleanInstallAddSTKComponentAvailabilityWhenSamplesShouldNotBeInstalled 1.402
updateFrom233RemoveRssAggregatorFromDataImporterst 0.904
cleanInstallBootstrapsVirtualUriMappings 2.028
updateFrom232ComponentsHaveFreemarkerRenderer 0.736
freshInstallReordersRSSBeforeConfigApp 1.704
updateFrom233RssAggregatorNodesImportTimingSetterPropertyIsInitialized 0.747
cleanInstallAddSTKComponentAvailabilityWhenSTKIsInstalled 1.632
updateFrom233ReconfigureFetcherIfNodeNotExist 0.561
updateFrom23ConfigureActions 0.653
updateFrom232TabPaginationWasUpdated 0.664
updateFrom253UpdatesVirtualUriMappings 0.459
updateFrom233ConfigImportTimingSetterPropertyIsInitializedToDisabled 0.76

CombinedFeedModelTest

testXpathQueryIsEncoded 0.018

FeedListModelTest

testGetItemsXpathQueryIsEncoded 0.003
testGetFeedsXpathQueryIsEncoded 0.003

FeedSubscriptionModelFunctionalityTest

testGetFeedTitle 0.767

AssertTest

testNotBlank 0
testNotNull_throwsExceptionOnNull 0
testIsTrue_throwsExceptionOnFalse 0
testIsTrue 0.006
testNotBlank_throwsExceptionOnBlank 0.001
testNotNull 0.002

CollectionUtilsTest

testAsSet 0
testAsSet_throwsExceptionOnIllegalArguments 0

MagnoliaTemplateTest

testQueryForObject_returnsNullOnZeroResults 0.012
testQueryForObject 0.006
testQueryInternal 0.007
testQueryInternal_translatesRepositoryExceptionToDataAccessException 0.008
testXpathQueryForObject 0.008
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults 0.007
testQueryForList 0.007
testXpathQueryForList 0.007

RSSNameFieldValidatorTest

testUniqueName 0.006
testExistingName 0.006

Failure Details

[Summary] [Package List] [Test Cases]


restoresThreadInterruptStatusOnInterruptedException
skipped: skipped