Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8500791.765%1.561

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.proxytoys2700485.185%0.222
info.magnolia.i18nsystem.util13000100%0.008
info.magnolia.i18nsystem.setup8000100%0.156
info.magnolia.i18nsystem3600294.444%1.175
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.005
ProxytoysI18nizerTest1600475%0.216
ReturnsAnnotatedTypeArgumentTest7000100%0.001

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.147
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.004
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.005

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.379
SimpleTranslatorTest700271.429%0.041
TranslationServiceImplTest19000100%0.755

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.332
getDifferentBundlenamesForEachChild0.009
addKeyConsidersLabelAsAnOptionalSuffix0.009
getNullBundlenameWhenNoneIsDefined0.006
getRootBundlenameWhenNoOtherIsDefined0.005
getIdOrNameForUnknownRoot0.003
getRoot0.003
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.004
getAncestorKeyGenerators0.006

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.004
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0.003
skipped
decorateWithNullObjectDoesNotThrowException0.043
testWithSingleChildObject0.014
testWithDeeperChildren0.017
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.007
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.007
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.031
nullChildJustReturnsNull0.006
testWithChildren0.01
decorateChildWithNullObjectDoesNotThrowException0.006
objectsClonedWithClonerLibCanBeDecorated0.007
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.021
testWithChildrenInMap0.013

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0.001
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.146
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.001
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.003
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplTest

messageWithBasenameAndLocale0.12
messageNotFound0.053
messageWithSwissGermanVariantLocale0.043
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.037
messageFallsBackToClosestAvailableMessage0.034
messageFallsBackToDefaultLanguage0.034
messageWithFrenchLocale0.033
givenBasenameFallbacksToDefautLegacy0.034
messageWithNullKeys0.031
messageWithBasename0.032
messageWithSwissGermanLocale0.03
shouldPreferUserLocaleWithSecondaryKey0.067
messageNotFoundWithBasename0.031
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.031
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.03
messageFallsBackToDefautLocaleFromAVariantLocale0.029
messageFallsBackToAvailableMessageFromVariantToCountry0.029
messageWithNoKeys0.028
messageWithGermanLocale0.029

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0
returnsLowerBoundForExtends0.001

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0.001
resolveLocaleReturnsLanguageLocale0
resolveLocaleReturnsLanguageCountryLocale0
resolveLocaleReturnsLanguageCountryVariantLocale0
resolveLocaleReturnsDefaultLocale0.001

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