Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8800792.045%3.212

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.319
info.magnolia.i18nsystem.util13000100%0.01
info.magnolia.i18nsystem.setup8000100%0.262
info.magnolia.i18nsystem3800294.737%2.617
info.magnolia.i18nsystem.tools10010%0.004

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.006
ProxytoysI18nizerTest1700476.471%0.311
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.243
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.006
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.013

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.604
DefaultMessageBundlesLoaderTest1000100%0.195
SimpleTranslatorTest700271.429%0.062
TranslationServiceImplReloadBundlesTest1000100%0.651
TranslationServiceImplTest19000100%1.105

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.004

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.532
getDifferentBundlenamesForEachChild0.011
addKeyConsidersLabelAsAnOptionalSuffix0.018
getNullBundlenameWhenNoneIsDefined0.007
getRootBundlenameWhenNoOtherIsDefined0.009
getIdOrNameForUnknownRoot0.002
getRoot0.004
ancestorsFromSimpleChain0.005
getRootKeyGenerator0.011
getAncestorKeyGenerators0.005

DefaultMessageBundlesLoaderTest

bundlesLoaderLoadsAllLocales0.195

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0.007
skipped
decorateWithNullObjectDoesNotThrowException0.029
testWithSingleChildObject0.021
testWithDeeperChildren0.033
testSimpleObject0.024
i18nTextAnnotationOnNonStringType0.024
Currently makes no sense - un-ignore the day we find a real use-case
canFormatMessagesForMethodsWithArguments0.024
Not implemented yet - not sure we want this
blowsIfCalledTwiceOnSameObject0.008
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.008
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.058
nullChildJustReturnsNull0.004
testWithChildren0.012
decorateChildWithNullObjectDoesNotThrowException0.004
objectsClonedWithClonerLibCanBeDecorated0.015
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.015
testWithChildrenInMap0.015
testWithExistingValuesBeforeDecoration0.01

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0.002
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.242
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.003
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.006
removeHardcodedI18nPropertiesUnderAppNode0.003
leaveOtherPropertiesAlone0.004

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0.004
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.651

TranslationServiceImplTest

messageWithBasenameAndLocale0.073
messageNotFound0.072
messageWithSwissGermanVariantLocale0.058
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.056
messageFallsBackToClosestAvailableMessage0.047
messageFallsBackToDefaultLanguage0.05
messageWithFrenchLocale0.044
givenBasenameFallbacksToDefautLegacy0.062
messageWithNullKeys0.064
messageWithBasename0.05
messageWithSwissGermanLocale0.066
shouldPreferUserLocaleWithSecondaryKey0.104
messageNotFoundWithBasename0.053
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.048
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.045
messageFallsBackToDefautLocaleFromAVariantLocale0.048
messageFallsBackToAvailableMessageFromVariantToCountry0.049
messageWithNoKeys0.059
messageWithGermanLocale0.057

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.003
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0.001

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0.001
returnsLowerBoundForExtends0

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0.001
resolveLocaleReturnsLanguageLocale0
resolveLocaleReturnsLanguageCountryLocale0
resolveLocaleReturnsLanguageCountryVariantLocale0.001
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