Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.432

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.i18nsystem.proxytoys2800485.714%0.262
info.magnolia.i18nsystem.util13000100%0.006
info.magnolia.i18nsystem.setup8000100%0.186
info.magnolia.i18nsystem3700294.595%1.977
info.magnolia.i18nsystem.tools10010%0.001

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

info.magnolia.i18nsystem.proxytoys

ClassTestsErrors FailuresSkippedSuccess RateTime
MethodsAnnotatedWithTest4000100%0.008
ProxytoysI18nizerTest1700476.471%0.253
ReturnsAnnotatedTypeArgumentTest7000100%0.001

info.magnolia.i18nsystem.util

ClassTestsErrors FailuresSkippedSuccess RateTime
AnnotationUtilsTest4000100%0.004
GenericsUtilsTest4000100%0.002
LocaleUtilsTest5000100%0

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.176
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.002
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.008

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.446
SimpleTranslatorTest700271.429%0.088
TranslationServiceImplReloadBundlesTest1000100%0.534
TranslationServiceImplTest19000100%0.909

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.001

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.385
getDifferentBundlenamesForEachChild0.011
addKeyConsidersLabelAsAnOptionalSuffix0.011
getNullBundlenameWhenNoneIsDefined0.007
getRootBundlenameWhenNoOtherIsDefined0.006
getIdOrNameForUnknownRoot0.005
getRoot0.005
ancestorsFromSimpleChain0.003
getRootKeyGenerator0.005
getAncestorKeyGenerators0.008

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.007
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0.004
skipped
decorateWithNullObjectDoesNotThrowException0.044
testWithSingleChildObject0.014
testWithDeeperChildren0.02
testSimpleObject0.01
i18nTextAnnotationOnNonStringType0.01
Currently makes no sense - un-ignore the day we find a real use-case
canFormatMessagesForMethodsWithArguments0.011
Not implemented yet - not sure we want this
blowsIfCalledTwiceOnSameObject0.009
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.009
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.036
nullChildJustReturnsNull0.008
testWithChildren0.012
decorateChildWithNullObjectDoesNotThrowException0.02
objectsClonedWithClonerLibCanBeDecorated0.009
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.015
testWithChildrenInMap0.013
testWithExistingValuesBeforeDecoration0.009

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.175
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0
removeHardcodedI18nPropertiesUnderAppNode0
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.006
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

keyWithPrintfFormat0.002
Ignored for now but I would like to support the printf format too eventually
singleKey0.015
extraTestForConditionsAndPlurals0.031
keyWithPrintfFormatMultipleArgs0.031
Ignored for now but I would like to support the printf format too eventually
formatAccordingToLocale0.006
keyWithMessageFormat0.002
keyWithMessageFormatMultipleArgs0.001

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.534

TranslationServiceImplTest

messageWithBasenameAndLocale0.117
messageNotFound0.057
messageWithSwissGermanVariantLocale0.047
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.045
messageFallsBackToClosestAvailableMessage0.04
messageFallsBackToDefaultLanguage0.043
messageWithFrenchLocale0.041
givenBasenameFallbacksToDefautLegacy0.042
messageWithNullKeys0.038
messageWithBasename0.04
messageWithSwissGermanLocale0.039
shouldPreferUserLocaleWithSecondaryKey0.08
messageNotFoundWithBasename0.041
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.039
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.042
messageFallsBackToDefautLocaleFromAVariantLocale0.039
messageFallsBackToAvailableMessageFromVariantToCountry0.04
messageWithNoKeys0.039
messageWithGermanLocale0.04

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0.001

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0
sanityChecks0
returnsLowerBoundForExtends0.001

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0
resolveLocaleReturnsLanguageLocale0
resolveLocaleReturnsLanguageCountryLocale0
resolveLocaleReturnsLanguageCountryVariantLocale0
resolveLocaleReturnsDefaultLocale0

Failure Details

[Summary] [Package List] [Test Cases]


decorateEnum
skipped: skipped
i18nTextAnnotationOnNonStringType
skipped: Currently makes no sense - un-ignore the day we find a real use-case
canFormatMessagesForMethodsWithArguments
skipped: Not implemented yet - not sure we want this
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem
skipped: Not implemented yet
keyWithPrintfFormat
skipped: Ignored for now but I would like to support the printf format too eventually
keyWithPrintfFormatMultipleArgs
skipped: Ignored for now but I would like to support the printf format too eventually
generateTranslationFilesAndEverythingElse
skipped: skipped