Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 2.132
info.magnolia.module.rssaggregator 2 0 0 0 100% 0.022
info.magnolia.module.rssaggregator.validator 2 0 0 0 100% 0.01
info.magnolia.module.rssaggregator.setup 20 0 0 0 100% 19.172
info.magnolia.module.rssaggregator.util 16 0 0 0 100% 0.049
info.magnolia.module.rssaggregator.action 5 0 0 0 100% 3.407
info.magnolia.module.rssaggregator.templates.components 4 0 0 0 100% 1.15
info.magnolia.module.rssaggregator.command 1 0 0 0 100% 0.28
info.magnolia.module.rssaggregator.importhandler 32 0 0 1 96.875% 0.555
info.magnolia.module.rssaggregator.field.transformer 4 0 0 0 100% 0.013
info.magnolia.module.rssaggregator.servlet 2 0 0 0 100% 0.041

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
PlanetDataGeneratorTest 1 0 0 0 100% 1.555
RSSModuleFeedGeneratorTest 3 0 0 0 100% 0.044
FeedGeneratorResolverTest 2 0 0 0 100% 0.447
SyndFeedGeneratorTest 1 0 0 0 100% 0.007
PageSyndicatorTest 6 0 0 0 100% 0.077
PlanetFeedGeneratorTest 1 0 0 0 100% 0.002

info.magnolia.module.rssaggregator

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

info.magnolia.module.rssaggregator.setup

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

info.magnolia.module.rssaggregator.util

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

info.magnolia.module.rssaggregator.action

Class Tests Errors Failures Skipped Success Rate Time
SaveRSSActionTest 3 0 0 0 100% 1.255
RunRSSImportActionTest 1 0 0 0 100% 0.622
RSSBasicTransformerTest 1 0 0 0 100% 1.53

info.magnolia.module.rssaggregator.templates.components

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

info.magnolia.module.rssaggregator.command

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

info.magnolia.module.rssaggregator.importhandler

Class Tests Errors Failures Skipped Success Rate Time
FastRSSFeedFetcherTest 2 0 0 1 50% 0.102
PlanetFilterTest 8 0 0 0 100% 0.022
AggregateFilterTest 16 0 0 0 100% 0.009
AggregateFeedContentMapperTest 1 0 0 0 100% 0.006
FeedChannelContentMapperTest 3 0 0 0 100% 0.316
SimpleRSSFeedFetcherTest 1 0 0 0 100% 0.1
AggregateTest 1 0 0 0 100% 0

info.magnolia.module.rssaggregator.field.transformer

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

info.magnolia.module.rssaggregator.servlet

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

Test Cases

[Summary] [Package List] [Test Cases]

PlanetDataGeneratorTest

testEntriesAreNotOverwritten 1.555

FastRSSFeedFetcherTest

testFeedsThatAreBeingFetchedAreShutDown 0.102
restoresThreadInterruptStatusOnInterruptedException 0
skipped

MagnoliaTemplateTest

testQueryForObject_returnsNullOnZeroResults 0.011
testQueryForObject 0.005
testQueryInternal 0.005
testQueryInternal_translatesRepositoryExceptionToDataAccessException 0.005
testXpathQueryForObject 0.006
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults 0.005
testQueryForList 0.006
testXpathQueryForList 0.006

PlanetFilterTest

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

SaveRSSActionTest

testSetItemName 0.438
testAddingNewRSSJob 0.437
testDefault 0.38

RSSModuleFeedGeneratorTest

willNotFailOnNPEWhenFeedNodeIsNull 0.018
mapNodeToFeedEntryAlsoWhenCategoriesNodeDoesNotExist 0.014
filterOutJcrAndMgnlPropertiesFromCategoriesNode 0.012

AggregateFilterTest

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

FeedGeneratorResolverTest

testResolve 0.215
testResolve_throwsExceptionWhenUnresolvable 0.232

CollectionUtilsTest

testAsSet 0
testAsSet_throwsExceptionOnIllegalArguments 0

RunRSSImportActionTest

testCallingTheAction 0.622

RSSAggregatorTest

testScheduledJobShouldNotBeStartedWithoutCronValue 0.022

FeedSubscriptionModelFunctionalityTest

testGetFeedTitle 1.064

AggregateFeedContentMapperTest

testMap 0.006

RSSBasicTransformerTest

testWriteToDataSourceItem 1.53

SyndFeedGeneratorTest

testGenerate 0.007

PageSyndicatorTest

getSiteRoot 0.015
setFeedInfoWillNotFailOnNPEWhenFeedNodeIsNull 0.02
getFeed 0.021
getSiteRootReturnRootWhenIsNotSet 0.007
loadFeedEntriesWillNotFailOnNPEWhenFeedNodeIsNull 0.006
setFeedInfoWillSetFeedLinkToDefaultBAseURLWhenFeedNodeIsNull 0.008

FeedChannelContentMapperTest

testMap 0.316
testMap_returnsNullOnMissingLinkNodeData 0
testWillNotFailOnNPEWhenTitleAndUrlPropertyDoesNotExists 0

SimpleRSSFeedFetcherTest

testFetchAggregate 0.1

CombinedFeedModelTest

testXpathQueryIsEncoded 0.082

RSSNameFieldValidatorTest

testUniqueName 0.003
testExistingName 0.007

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce 0

LaunchSingleRSSCommandTest

testStoppingTheSchedulerJobIfNoCorrespondingRSSNodeIsFoundInTheRepositoryDuringTheLaunchSingleRSSCommandExecution 0.28

RSSJobTest

testRSSJobSetAndGet 0

RSSSwitchableFieldTransformerTest

writeToItemCronMakerSelected 0.012
writeToItemDisabledSelected 0.001
writeToItemCronStringSelected 0
readFromItem 0

RSSAggregatorVersionHandlerTest

updateFrom221 1.894
updateFrom231AddReadPermissionForRssWorkspaceToRssAggregatorBaseRole 1.005
updateFrom233ConfigImportTimingSetterPropertyIsInitializedToCronString 0.847
updateFrom233ReconfigureFetcherIfNodeExist 0.85
updateFrom222RenamesFilterFields 1.226
updateFrom25RemovesLegacyPropertiesFromConfiguration 0.597
updateFrom232FeedGeneratorClassWasUpdated 0.764
updateFrom233AddFetcherClassFieldsToApp 0.562
cleanInstallAddSTKComponentAvailabilityWhenSamplesShouldNotBeInstalled 1.193
updateFrom233RemoveRssAggregatorFromDataImporterst 0.661
cleanInstallBootstrapsVirtualUriMappings 1.908
updateFrom232ComponentsHaveFreemarkerRenderer 0.643
freshInstallReordersRSSBeforeConfigApp 1.619
updateFrom233RssAggregatorNodesImportTimingSetterPropertyIsInitialized 0.804
cleanInstallAddSTKComponentAvailabilityWhenSTKIsInstalled 1.601
updateFrom233ReconfigureFetcherIfNodeNotExist 0.6
updateFrom23ConfigureActions 0.659
updateFrom232TabPaginationWasUpdated 0.52
updateFrom253UpdatesVirtualUriMappings 0.53
updateFrom233ConfigImportTimingSetterPropertyIsInitializedToDisabled 0.689

AssertTest

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

FeedListModelTest

testGetItemsXpathQueryIsEncoded 0.002
testGetFeedsXpathQueryIsEncoded 0.002

PlanetFeedGeneratorTest

testGetFeedType 0.002

FeedSyndicationServletTest

doNotFailOnWrongMapping 0.035
testHandleRequest 0.006

Failure Details

[Summary] [Package List] [Test Cases]


restoresThreadInterruptStatusOnInterruptedException
skipped: skipped