Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.393

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.254
info.magnolia.i18nsystem.util13000100%0.009
info.magnolia.i18nsystem.setup8000100%0.21
info.magnolia.i18nsystem3700294.595%1.919
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.005
ProxytoysI18nizerTest1700476.471%0.248
ReturnsAnnotatedTypeArgumentTest7000100%0.001

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.197
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.006
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.007

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.445
SimpleTranslatorTest700271.429%0.044
TranslationServiceImplReloadBundlesTest1000100%0.536
TranslationServiceImplTest19000100%0.894

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.001

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

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

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.004
doesNotIncludeOtherRandomMethod0.001
includesMethodOnSelf0
includesMethodOnInterface0

ProxytoysI18nizerTest

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

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0.001
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.196
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.003
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.005
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0.001
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.536

TranslationServiceImplTest

messageWithBasenameAndLocale0.102
messageNotFound0.057
messageWithSwissGermanVariantLocale0.045
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.044
messageFallsBackToClosestAvailableMessage0.04
messageFallsBackToDefaultLanguage0.042
messageWithFrenchLocale0.041
givenBasenameFallbacksToDefautLegacy0.042
messageWithNullKeys0.039
messageWithBasename0.041
messageWithSwissGermanLocale0.04
shouldPreferUserLocaleWithSecondaryKey0.081
messageNotFoundWithBasename0.042
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.04
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.039
messageFallsBackToDefautLocaleFromAVariantLocale0.04
messageFallsBackToAvailableMessageFromVariantToCountry0.04
messageWithNoKeys0.041
messageWithGermanLocale0.038

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.002
returnsObjectForWildcards0
sanityChecks0.001
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