Magnolia Standard Templating Kit Version: 2.5-alpha1-rc1 Last Published: Dec 10, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
13200496.97%10.579

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.templatingkit.imaging.generation3000100%0.02
info.magnolia.module.templatingkit.renderers6000100%0.671
info.magnolia.module.templatingkit.templates.category1000100%0.012
info.magnolia.module.templatingkit.util7000100%0.001
info.magnolia.module.templatingkit.imaging11000100%0.082
info.magnolia.module.templatingkit.templates29000100%0.08
info.magnolia.module.templatingkit.filters2000100%0.281
info.magnolia.module.templatingkit.functions2900196.552%0.408
info.magnolia.module.templatingkit.dam.handlers3000100%0.472
info.magnolia.module.templatingkit.templates.components2300195.652%0.068
info.magnolia.module.templatingkit.resources6000100%0.053
info.magnolia.module.templatingkit.setup2000100%8.22
info.magnolia.module.templatingkit.search2000100%0.016
info.magnolia.module.templatingkit.templates.pages800275%0.195

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

info.magnolia.module.templatingkit.imaging.generation

ClassTestsErrors FailuresSkippedSuccess RateTime
ImageOperationProvidingVariationTest3000100%0.02

info.magnolia.module.templatingkit.renderers

ClassTestsErrors FailuresSkippedSuccess RateTime
HtmlHeaderRenderingTest2000100%0.383
MainRenderingTest1000100%0.177
STKRendererTest2000100%0.073
VideoFtlRenderTest1000100%0.038

info.magnolia.module.templatingkit.templates.category

ClassTestsErrors FailuresSkippedSuccess RateTime
TemplateCategoryUtilTest1000100%0.012

info.magnolia.module.templatingkit.util

ClassTestsErrors FailuresSkippedSuccess RateTime
STKPagerTest2000100%0
STKPagerXSSTest5000100%0.001

info.magnolia.module.templatingkit.imaging

ClassTestsErrors FailuresSkippedSuccess RateTime
CssSelectorRuleTest5000100%0.001
STKImagingSupportTest4000100%0.078
STKParameterProviderTest2000100%0.003

info.magnolia.module.templatingkit.templates

ClassTestsErrors FailuresSkippedSuccess RateTime
GlossaryTemplateModelTest1000100%0.003
RedirectTemplateModelTest27000100%0.075
STKTemplateAvailabilityTest1000100%0.002

info.magnolia.module.templatingkit.filters

ClassTestsErrors FailuresSkippedSuccess RateTime
SiteMergeFilterTest2000100%0.281

info.magnolia.module.templatingkit.functions

ClassTestsErrors FailuresSkippedSuccess RateTime
STKTemplatingFunctionsTest2900196.552%0.408

info.magnolia.module.templatingkit.dam.handlers

ClassTestsErrors FailuresSkippedSuccess RateTime
DMSDAMHandlerTest3000100%0.472

info.magnolia.module.templatingkit.templates.components

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractDateContentModelTest9000100%0.011
CalendarModelTest8000100%0.046
ExternalTeaserModelTest2000100%0.01
ImageModelTest10010%0
InternalTeaserModelTest1000100%0
NewsOverviewModelTest2000100%0.001

info.magnolia.module.templatingkit.resources

ClassTestsErrors FailuresSkippedSuccess RateTime
ResourcesTest6000100%0.053

info.magnolia.module.templatingkit.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
STKModuleVersionHandlerTest2000100%8.22

info.magnolia.module.templatingkit.search

ClassTestsErrors FailuresSkippedSuccess RateTime
SearchResultItemTest1000100%0.016
SearchResultModelTest1000100%0

info.magnolia.module.templatingkit.templates.pages

ClassTestsErrors FailuresSkippedSuccess RateTime
STKPageModelTest800275%0.195

Test Cases

[Summary] [Package List] [Test Cases]

DMSDAMHandlerTest

testGetAssetByKey0.456
testGetAssetByKeyWhenAssetDoesNotExist0.007
testGetAssetByKeyWhenAssetIsMarkedAsDeleted0.009

SiteMergeFilterTest

testVariationGetsMerged0.277
testSiteGetsSetOnAggregationStateEvenWhenNoVariationWasFound0.004

STKTemplatingFunctionsTest

testSearchPageLink_Node0.021
testHomeName_Node0.014
testHomeTitle_Node0.014
testSiteTitle_Node0.013
testHomeLink_Node0.014
testSite_Node0.016
testSiteRoot_Node0.014
testSiteRoot_Node_SiteRootTemplateCategory0.012
testSiteRoot_Node_BadSiteRootTemplateCategory0.013
testAncestorsInSite_Node0.013
testAncestorsInSite_Node_RootSiteLevel_20.016
testAncestorsInSite_Node_Type0.016
testLinksInAssetDescription0.017
Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)
testEncodeNode0.025
testDecodeNode0.013
testDecodeContentMap0.018
testCutList0.013
testAbbreviateStringTwoCuted0.016
testAbbreviateStringTwoNotCuted0.012
testAbbreviateString_ClosureString0.011
testCount0.013
testGetDivIdAbbreviation0.012
testGetDivIdAbbreviation_2Parameter0.011
testMetaDataProperty_Node0.016
testMetaDataProperty_Node_Exception0.011
testMetaDataTemplate_Node_Existing0.01
testMetaDataTemplate_Node_Not_Existing0.011
testTheme0.012
testThemeWithBlankName0.011

CssSelectorRuleTest

testSingleTerm0
testSingleTermWithMultipleClasses0
testThatPositionOfTermDoesNotMatter0
testTermWithoutSeparator0
testMultiTermRules0.001

ImageOperationProvidingVariationTest

testCreateImageOperationProvidingVariation0
testCreateLink0.018
testCreateLinkWithoutBlankSpaces0.002

STKImagingSupportTest

testSTKImagingSupportInitialisation0.044
testAddVariation0.012
testResolveVariationNameFound0.011
testresolveVariationNameNotFound0.011

STKParameterProviderTest

testCreateParameter0.002
testCreateParameterPropsNotFound0.001

HtmlHeaderRenderingTest

testBasicRendering0.33
testBasicRenderingAccessingWebsiteNode0.053

MainRenderingTest

testBasicRendering0.177

STKRendererTest

testHappyFlow0.044
testNoTemplateScript0.029

VideoFtlRenderTest

testNoDmsFileForPosterSelected0.038

ResourcesTest

testGetLinkNoWebCtxNoCaching0.008
testGetLinkWebCtxNoCaching0.009
testGetLinkExternalLinkPattern0.007
testGetLinkWebCtxCachingLastModification0.013
testGetLinkWebCtxCachingCreation0.008
testGetLinkWebCtxCachingNoTimeStamp0.008

SearchResultItemTest

simpleTest0.016

SearchResultModelTest

testIsSearchResultWrappedIn18n0

STKModuleVersionHandlerTest

testOnUpdateFrom1113.363
testOnUpdateFrom2024.857

TemplateCategoryUtilTest

testContentIsWrappedInI18n0.012

AbstractDateContentModelTest

testFilter0.003
testFilterFirstAndLast0.001
testSort0.001
testGetSortingDirection0.001
testGetSortingDirectionDefault0.001
testGetDefaultDate0.001
testGetDefaultDateDefault0.001
testDatePropertyName0.001
testDatePropertyNameDefault0.001

CalendarModelTest

testGetCalendarItem0.039
testGetCalendarItemDelatedInWeek0.001
testGetCalendarItemDelatedInDay0.001
testGetDateEventsLink0.003
testGetMaxDate0.001
testGetMinDate0.001
testGetWeeksInMonth0
testGetYear0

ExternalTeaserModelTest

testExternalLink0.005
testExternalTitle0.005

ImageModelTest

testGetImage0
Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)

InternalTeaserModelTest

testInternalTeaserModelWithNullContent0

NewsOverviewModelTest

testSort0
testGetMaxResults0.001

GlossaryTemplateModelTest

testAddGlossaryLetter0.003

STKPageModelTest

testGetCategoryLink0.021
testGetCategories0.019
testGetNavigation0.031
testGetContentNavigationOneElelemt0.025
testGetContentNavigationNoElelemt0.032
testGetImageModel0.022
testGetLogoImageLink0.022
Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)
testGetPrintLogoImageLink0.023
Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)

RedirectTemplateModelTest

testOnPublicNoTargetNoChildren0.006
testOnPublicHasInternalTargetNoChildren0.002
testOnPublicNoTargetHasChildren0.002
testOnPublicHasInternalTargetHasChildren0.001
testOnPublicHasExternalTargetNoProtocol0.031
testOnPublicHasExternalTargetHasProtocol0.002
testOnPublicHasExternalTargetHasChildren0.002
testOnPublicHasInvalidInternalTarget0.002
testOnPublicCreationHideInNav0.001
testOnAuthorInPreviewModeNoTargetNoChildren0.002
testOnAuthorInPreviewModeHasInternalTargetNoChildren0.001
testOnAuthorInPreviewModeNoTargetHasChildren0.002
testOnAuthorInPreviewModeHasInternalTargetHasChildren0.002
testOnAuthorInPreviewModeHasExternalTargetNoProtocol0.002
testOnAuthorInPreviewModeHasExternalTargetHasProtocol0.002
testOnAuthorInPreviewModeHasExternalTargetHasChildren0.002
testOnAuthorInPreviewModeHasInvalidInternalTarget0.001
testOnAuthorInPreviewModeCreationHideInNav0.001
testOnAuthorInEditModeNoTargetNoChildren0.001
testOnAuthorInEditModeHasInternalTargetNoChildren0.001
testOnAuthorInEditModeNoTargetHasChildren0.001
testOnAuthorInEditModeHasInternalTargetHasChildren0.003
testOnAuthorInEditModeHasExternalTargetNoProtocol0.001
testOnAuthorInEditModeHasExternalTargetHasProtocol0.001
testOnAuthorInEditModeHasExternalTargetHasChildren0.001
testOnAuthorInEditModeHasInvalidInternalTarget0.001
testOnAuthorInEditModeCreationHideInNav0.001

STKTemplateAvailabilityTest

testResourceTemplateIsAvailableOnlyForResources0.002

STKPagerTest

testPageOffset0
testPageOffsetWithCurrentPage0

STKPagerXSSTest

testSTKPagerXSSRealLinkWithoutXSS0
testSTKPagerXSSRealLinkWithXSS0
testSTKPagerXSSRealLinkWithouXSSDoubleQuerry0
testSTKPagerXSSRealLinkWithXSSDoubleQuerry0
testSTKPagerOriginalLinkShouldRemainUnchanged0

Failure Details

[Summary] [Package List] [Test Cases]


testLinksInAssetDescription
skipped: Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)
testGetImage
skipped: Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)
testGetLogoImageLink
skipped: Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)
testGetPrintLogoImageLink
skipped: Failing since fallback to DMS was removed (MGNLSTK-1043) - has to be adapted to use DAM (MGNLSTK-1044)