Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8800792.045%2.053

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.165
info.magnolia.i18nsystem.util13000100%0.007
info.magnolia.i18nsystem.setup8000100%0.189
info.magnolia.i18nsystem3800294.737%1.692
info.magnolia.i18nsystem.tools10010%0

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.002
ProxytoysI18nizerTest1700476.471%0.161
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

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

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.338
DefaultMessageBundlesLoaderTest1000100%0.136
SimpleTranslatorTest700271.429%0.04
TranslationServiceImplReloadBundlesTest1000100%0.442
TranslationServiceImplTest19000100%0.736

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.293
getDifferentBundlenamesForEachChild0.008
addKeyConsidersLabelAsAnOptionalSuffix0.01
getNullBundlenameWhenNoneIsDefined0.005
getRootBundlenameWhenNoOtherIsDefined0.004
getIdOrNameForUnknownRoot0.003
getRoot0.004
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.003
getAncestorKeyGenerators0.006

DefaultMessageBundlesLoaderTest

bundlesLoaderLoadsAllLocales0.136

MethodsAnnotatedWithTest

includesMethodOnSuperclass0
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0
skipped
decorateWithNullObjectDoesNotThrowException0
testWithSingleChildObject0.016
testWithDeeperChildren0.027
testSimpleObject0.001
i18nTextAnnotationOnNonStringType0.001
Currently makes no sense - un-ignore the day we find a real use-case
canFormatMessagesForMethodsWithArguments0.002
Not implemented yet - not sure we want this
blowsIfCalledTwiceOnSameObject0.006
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.007
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.031
nullChildJustReturnsNull0.007
testWithChildren0.01
decorateChildWithNullObjectDoesNotThrowException0.008
objectsClonedWithClonerLibCanBeDecorated0.009
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.014
testWithChildrenInMap0.015
testWithExistingValuesBeforeDecoration0.007

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0.002
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.174
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.003
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.005
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.442

TranslationServiceImplTest

messageWithBasenameAndLocale0.041
messageNotFound0.052
messageWithSwissGermanVariantLocale0.037
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.036
messageFallsBackToClosestAvailableMessage0.03
messageFallsBackToDefaultLanguage0.035
messageWithFrenchLocale0.038
givenBasenameFallbacksToDefautLegacy0.033
messageWithNullKeys0.042
messageWithBasename0.034
messageWithSwissGermanLocale0.033
shouldPreferUserLocaleWithSecondaryKey0.084
messageNotFoundWithBasename0.034
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.034
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.034
messageFallsBackToDefautLocaleFromAVariantLocale0.037
messageFallsBackToAvailableMessageFromVariantToCountry0.036
messageWithNoKeys0.032
messageWithGermanLocale0.034

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0
returnsLowerBoundForExtends0

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