Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
5750091.228%8.055

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.module.rssaggregator.servlet1000100%0.032
info.magnolia.module530040%2.766
info.magnolia.module.rssaggregator.templates.components3000100%0.037
info.magnolia.module.rssaggregator.importhandler24000100%0.125
info.magnolia.module.rssaggregator.generator820075%5.042
info.magnolia.module.rssaggregator.util16000100%0.053

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

info.magnolia.module.rssaggregator.servlet

ClassTestsErrors FailuresSkippedSuccess RateTime
FeedSyndicationServletTest1000100%0.032

info.magnolia.module

ClassTestsErrors FailuresSkippedSuccess RateTime
RSSAggregatorVersionHandlerTest530040%2.766

info.magnolia.module.rssaggregator.templates.components

ClassTestsErrors FailuresSkippedSuccess RateTime
CombinedFeedModelTest1000100%0.028
FeedListModelTest2000100%0.009

info.magnolia.module.rssaggregator.importhandler

ClassTestsErrors FailuresSkippedSuccess RateTime
AggregateFeedContentMapperTest1000100%0.001
AggregateTest1000100%0
FastRSSFeedFetcherTest1000100%0.006
FeedChannelContentMapperTest3000100%0
PlanetFilterTest8000100%0.015
RSSFeedImportHandlerTest9000100%0.096
SimpleRSSFeedFetcherTest1000100%0.007

info.magnolia.module.rssaggregator.generator

ClassTestsErrors FailuresSkippedSuccess RateTime
FeedGeneratorResolverTest22000%0.178
PlanetDataGeneratorTest1000100%4.657
PlanetFeedGeneratorTest1000100%0
RSSModuleFeedGeneratorTest3000100%0.171
SyndFeedGeneratorTest1000100%0.036

info.magnolia.module.rssaggregator.util

ClassTestsErrors FailuresSkippedSuccess RateTime
AssertTest6000100%0
CollectionUtilsTest2000100%0
MagnoliaTemplateTest8000100%0.053

Test Cases

[Summary] [Package List] [Test Cases]

FeedGeneratorResolverTest

testResolve0.178
java.lang.IllegalStateException: No ComponentProvider has been set yet, something must have gone terribly wrong at startup.
testResolve_throwsExceptionWhenUnresolvable0
java.lang.IllegalStateException: No ComponentProvider has been set yet, something must have gone terribly wrong at startup.

PlanetDataGeneratorTest

testEntriesAreNotOverwritten4.657

PlanetFeedGeneratorTest

testGetFeedType0

RSSModuleFeedGeneratorTest

willNotFailOnNPEWhenFeedNodeIsNull0.107
filterOutJcrAndMgnlPropertiesFromCategoriesNode0.061
mapNodeToFeedEntryAlsoWhenCategoriesNodeDoesNotExist0.003

SyndFeedGeneratorTest

testGenerate0.036

AggregateFeedContentMapperTest

testMap0

AggregateTest

testAddFeedChannel_registersChannelOnlyOnce0

FastRSSFeedFetcherTest

restoresThreadInterruptStatusOnInterruptedException0.006

FeedChannelContentMapperTest

testMap0
testMap_returnsNullOnMissingLinkNodeData0
testWillNotFailOnNPEWhenTitleAndUrlPropertyDoesNotExists0

PlanetFilterTest

testMatchString0
testNoMatchString0
testCamel0
testIncludeAndConditions0.01
testIncludeOrConditions0.001
testIncludeAndConditionsWithNot0.002
testIncludeOrConditionsWithNot0.001
testIncludeNotConditions0.001

RSSFeedImportHandlerTest

testDoImport0.04
testDoImport_doesNothingOnNoAggregatesFound0.006
testLoadAggregates0.006
testSaveAggregates0.014
testLoadAggregateFilter0.006
testSaveFeedChannel0.008
testRecreateChannelNode0.005
testCreateFeedChannelEntryNode0.006
testCreateCategoriesNode0.005

SimpleRSSFeedFetcherTest

testFetchAggregate0.007

FeedSyndicationServletTest

testHandleRequest0.032

CombinedFeedModelTest

testXpathQueryIsEncoded0.028

FeedListModelTest

testGetItemsXpathQueryIsEncoded0.004
testGetFeedsXpathQueryIsEncoded0.005

AssertTest

testNotBlank0
testNotBlank_throwsExceptionOnBlank0
testNotNull0
testNotNull_throwsExceptionOnNull0
testIsTrue0
testIsTrue_throwsExceptionOnFalse0

CollectionUtilsTest

testAsSet0
testAsSet_throwsExceptionOnIllegalArguments0

MagnoliaTemplateTest

testQueryForList0.014
testQueryForObject0.006
testQueryForObject_returnsNullOnZeroResults0.005
testQueryForObject_throwsIncorrectResultSizeDataAccessExceptionOnMultipleResults0.005
testXpathQueryForList0.006
testXpathQueryForObject0.007
testQueryInternal0.005
testQueryInternal_translatesRepositoryExceptionToDataAccessException0.005

RSSAggregatorVersionHandlerTest

testUpdateTo22ReordersRSSBeforeConfigApp0.075
config
testUpdateTo22ReordersRSSBeforeConfigApp0.075
Failed to retrieve repository provider 'magnolia'. Your Magnolia instance might not have been initialized properly.
testFreshInstallReordersRSSBeforeConfigApp0.022
Resource not found: target/repositories.xml
testUpdateFrom211.575
testUpdateFromMagnolia45x1.019

Failure Details

[Summary] [Package List] [Test Cases]


testResolve
java.lang.RuntimeException: java.lang.IllegalStateException: No ComponentProvider has been set yet, something must have gone terribly wrong at startup.
testResolve_throwsExceptionWhenUnresolvable
java.lang.RuntimeException: java.lang.IllegalStateException: No ComponentProvider has been set yet, something must have gone terribly wrong at startup.
testUpdateTo22ReordersRSSBeforeConfigApp
javax.jcr.NoSuchWorkspaceException: config
testUpdateTo22ReordersRSSBeforeConfigApp
java.lang.IllegalArgumentException: Failed to retrieve repository provider 'magnolia'. Your Magnolia instance might not have been initialized properly.
testFreshInstallReordersRSSBeforeConfigApp
java.lang.IllegalStateException: Resource not found: target/repositories.xml