magnolia-module-templating Version: 4.4.6 Last Published: Jan 17, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
34000100%3.754

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.003
info.magnolia.module.templating.paragraphs11000100%0.283
info.magnolia.module.templating.freemarker3000100%0.119
info.magnolia.module.templating15000100%1.045
info.magnolia.module.templating.setup3000100%2.304

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

info.magnolia.module.templating.paragraphs

ClassTestsErrors FailuresSkippedSuccess RateTime
FreemarkerParagraphRendererTest5000100%0.258
JspParagraphRendererTest5000100%0.024
PlainTextParagraphRendererTest1000100%0.001

info.magnolia.module.templating.freemarker

ClassTestsErrors FailuresSkippedSuccess RateTime
RenderableDefinitionModelTest3000100%0.119

info.magnolia.module.templating

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRenderableTest2000100%0.277
ParagraphManagerTest4000100%0.468
ParagraphRendererManagerTest6000100%0.007
ParagraphRenderingFacadeTest3000100%0.293

info.magnolia.module.templating.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplatingModuleVersionHandlerTest3000100%2.304

Test Cases

[Summary] [Package List] [Test Cases]

AbstractRenderableTest

testCanInstantiateModel0.016
testModelNeedSpecificConstructor0.001

RenderableDefinitionModelTest

testRenderableDefinitionParametersAreAvailableAsTopLevelProperties0.115
testRenderableDefinitionPropertiesHaveHigherPriorityThanParameters0.002
testRenderableDefinitionPropertiesAreStillAvailableIfReallyNeeded0.001

ParagraphManagerTest

testJspIsDefaultTypeIfNotSpecified0.297
testShouldUseNodeNameIfNoNameProperty0.051
testNamePropertyShouldPrevailOverNodeName0.062
testDialogNameShouldBeEqualsToParagraphNameIfNotSpecified0.056

ParagraphRendererManagerTest

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

ParagraphRenderingFacadeTest

testRenderCallsTheAppropriateRenderer0.049
testSetsJspPageContext0.193
testUsesTheAppropriateParagraphWhenNotExplicitelyPassed0.051

FreemarkerParagraphRendererTest

testWorksWithNonActionParagraphAndContentIsExposedToFreemarker0.071
testActionClassGetsExecutedAndIsPutOnContextAlongWithResultAndContent0.051
testActionGetsPopulated0.052
testCantRenderWithoutParagraphPathCorrectlySet0.043
testSkipRendering0.04

JspParagraphRendererTest

testCantRenderWithoutParagraphPathCorrectlySet0.001
testSkipRendering0
testExposesNodesAsMaps0.017
testShouldFailIfNoContextIsSet0
testShouldFailIfContextIsNotWebContext0.005

PlainTextParagraphRendererTest

testJustWorks0.001

JspTemplateRendererTest

testExposesNodesAsMaps0.001

ServletTemplateRendererTest

testServletTemplateRendererOnlyWorksInWebContextAndIsPoliteEnoughToGiveAnExplicitExceptionMessageAboutIt0.002

TemplatingModuleVersionHandlerTest

testPre4_0TemplatesAreFixedProperly1.279
testMisfixedTemplatesFrom402AreFixed0.537
testSilentIfUserFixedTemplatesHimself0.486