Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
34000100%5.918

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.templating.renderers2000100%0.004
info.magnolia.module.templating.paragraphs11000100%0.568
info.magnolia.module.templating.freemarker3000100%0.495
info.magnolia.module.templating15000100%1.027
info.magnolia.module.templating.setup3000100%3.824

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

info.magnolia.module.templating.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
JspTemplateRendererTest1000100%0.001
ServletTemplateRendererTest1000100%0.003

info.magnolia.module.templating.paragraphs

ClassTestsErrors FailuresSkippedSuccess RateTime
FreemarkerParagraphRendererTest5000100%0.356
JspParagraphRendererTest5000100%0.162
PlainTextParagraphRendererTest1000100%0.05

info.magnolia.module.templating.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
RenderableDefinitionModelTest3000100%0.495

info.magnolia.module.templating

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRenderableTest2000100%0.003
ParagraphManagerTest4000100%0.637
ParagraphRendererManagerTest6000100%0.008
ParagraphRenderingFacadeTest3000100%0.379

info.magnolia.module.templating.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest3000100%3.824

Test Cases

[Summary] [Package List] [Test Cases]

AbstractRenderableTest

testCanInstantiateModel0
testModelNeedSpecificConstructor0.001

RenderableDefinitionModelTest

testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.473
testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.001

ParagraphManagerTest

testJspIsDefaultTypeIfNotSpecified0.417
testShouldUseNodeNameIfNoNameProperty0.065
testNamePropertyShouldPrevailOverNodeName0.067
testDialogNameShouldBeEqualsToParagraphNameIfNotSpecified0.086

ParagraphRendererManagerTest

testNotSpecifyingTheNamePropertyShouldMeanTheNodeNameIsUsedInstead0.001
testUnknownParagraphRendererNamesThrowsException0
testParagraphRenderersAreAddedProperly0.002
testCanNotAddParagraphRenderersWithDuplicateNames0.001
testRenderersNamePropertyHasPriorityOverNodeName0
testRenderersWithFaultyClassNamesShouldNotBeIgnored0.003

ParagraphRenderingFacadeTest

testRenderCallsTheAppropriateRenderer0.071
testSetsJspPageContext0.232
testUsesTheAppropriateParagraphWhenNotExplicitelyPassed0.075

FreemarkerParagraphRendererTest

testWorksWithNonActionParagraphAndContentIsExposedToFreemarker0.103
testActionClassGetsExecutedAndIsPutOnContextAlongWithResultAndContent0.066
testActionGetsPopulated0.065
testCantRenderWithoutParagraphPathCorrectlySet0.069
testSkipRendering0.051

JspParagraphRendererTest

testCantRenderWithoutParagraphPathCorrectlySet0.114
testSkipRendering0.004
testExposesNodesAsMaps0.032
testShouldFailIfNoContextIsSet0
testShouldFailIfContextIsNotWebContext0.011

PlainTextParagraphRendererTest

testJustWorks0.049

JspTemplateRendererTest

testExposesNodesAsMaps0

ServletTemplateRendererTest

testServletTemplateRendererOnlyWorksInWebContextAndIsPoliteEnoughToGiveAnExplicitExceptionMessageAboutIt0.002

TemplatingModuleVersionHandlerTest

testPre4_0TemplatesAreFixedProperly1.871
testMisfixedTemplatesFrom402AreFixed1
testSilentIfUserFixedTemplatesHimself0.942