Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.527

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.34
info.magnolia.i18nsystem.util13000100%0.009
info.magnolia.i18nsystem.setup8000100%0.074
info.magnolia.i18nsystem3700294.595%2.104
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
ProxytoysI18nizerTest1700476.471%0.333
MethodsAnnotatedWithTest4000100%0.005
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.058
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.008
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.008

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
TranslationServiceImplTest19000100%1.403
SimpleTranslatorTest700271.429%0.069
TranslationServiceImplReloadBundlesTest1000100%0.574
AbstractI18nKeyGeneratorTest10000100%0.058

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

TranslationServiceImplTest

messageWithBasenameAndLocale0.413
messageNotFound0.071
messageWithSwissGermanVariantLocale0.046
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.047
messageFallsBackToClosestAvailableMessage0.05
messageFallsBackToDefaultLanguage0.046
messageWithFrenchLocale0.045
givenBasenameFallbacksToDefautLegacy0.054
messageWithNullKeys0.056
messageWithBasename0.055
messageWithSwissGermanLocale0.048
shouldPreferUserLocaleWithSecondaryKey0.197
messageNotFoundWithBasename0.041
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.039
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.043
messageFallsBackToDefautLocaleFromAVariantLocale0.04
messageFallsBackToAvailableMessageFromVariantToCountry0.038
messageWithNoKeys0.037
messageWithGermanLocale0.037

SimpleTranslatorTest

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

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.056
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.004
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.005
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

ProxytoysI18nizerTest

decorateEnum0.003
skipped
decorateWithNullObjectDoesNotThrowException0.022
testWithSingleChildObject0.123
testWithDeeperChildren0.026
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.039
nullChildJustReturnsNull0.008
testWithChildren0.013
decorateChildWithNullObjectDoesNotThrowException0.007
objectsClonedWithClonerLibCanBeDecorated0.008
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.013
testWithChildrenInMap0.013
testWithExistingValuesBeforeDecoration0.011

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0.001
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0.001

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0.001
getAnnotationWorksOnClassDirectlyAnnotated0

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0.001
resolveLocaleReturnsLanguageLocale0
resolveLocaleReturnsLanguageCountryLocale0
resolveLocaleReturnsLanguageCountryVariantLocale0
resolveLocaleReturnsDefaultLocale0.001

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0.001
returnsLowerBoundForExtends0

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.574

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

AbstractI18nKeyGeneratorTest

ancestorsFromList0.004
getDifferentBundlenamesForEachChild0.018
addKeyConsidersLabelAsAnOptionalSuffix0.005
getNullBundlenameWhenNoneIsDefined0.005
getRootBundlenameWhenNoOtherIsDefined0.004
getIdOrNameForUnknownRoot0.004
getRoot0.015
ancestorsFromSimpleChain0
getRootKeyGenerator0
getAncestorKeyGenerators0.003

Failure Details

[Summary] [Package List] [Test Cases]


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
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
generateTranslationFilesAndEverythingElse
skipped: skipped