Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
35 0 0 0 100% 0.989

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.module.rssaggregator.servlet 1 0 0 0 100% 0.089
info.magnolia.module.rssaggregator.importhandler 15 0 0 0 100% 0.732
info.magnolia.module.rssaggregator.generator 3 0 0 0 100% 0.075
info.magnolia.module.rssaggregator.util 16 0 0 0 100% 0.093

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

info.magnolia.module.rssaggregator.importhandler

Class Tests Errors Failures Skipped Success Rate Time
FastRSSFeedFetcherTest 1 0 0 0 100% 0.012
AggregateTest 1 0 0 0 100% 0.001
SimpleRSSFeedFetcherTest 1 0 0 0 100% 0.436
RSSFeedImportHandlerTest 9 0 0 0 100% 0.227
FeedChannelContentMapperTest 2 0 0 0 100% 0.043
AggregateFeedContentMapperTest 1 0 0 0 100% 0.013

info.magnolia.module.rssaggregator.generator

Class Tests Errors Failures Skipped Success Rate Time
SyndFeedGeneratorTest 1 0 0 0 100% 0.016
FeedGeneratorResolverTest 2 0 0 0 100% 0.059

info.magnolia.module.rssaggregator.util

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

Test Cases

SyndFeedGeneratorTest

testGenerate 0.014

FastRSSFeedFetcherTest

restoresThreadInterruptStatusOnInterruptedException 0.011

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce 0

CollectionUtilsTest

testAsSet 0
testAsSet_throwsExceptionOnIllegalArguments 0

MagnoliaTemplateTest

testQueryForList 0.025
testQueryForObject 0.001
testQueryForObject_returnsNullOnZeroResults 0.001
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults 0.002
testXpathQueryForList 0.002
testXpathQueryForObject 0.001
testQueryInternal 0.001
testQueryInternal_translatesRepositoryExceptionToDataAccessException 0.002

SimpleRSSFeedFetcherTest

testFetchAggregate 0.435

RSSFeedImportHandlerTest

testDoImport 0.135
testDoImport_doesNothingOnNoAggregatesFound 0.003
testLoadAggregates 0.002
testSaveAggregates 0.051
testLoadAggregateFilter 0.003
testSaveFeedChannel 0.012
testRecreateChannelNode 0.003
testCreateFeedChannelEntryNode 0.008
testCreateCategoriesNode 0.004

FeedSyndicationServletTest

testHandleRequest 0.088

FeedChannelContentMapperTest

testMap 0.04
testMap_returnsNullOnMissingLinkNodeData 0.001

FeedGeneratorResolverTest

testResolve 0.057
testResolve_throwsExceptionWhenUnresolvable 0.001

AssertTest

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

AggregateFeedContentMapperTest

testMap 0.012