Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.409

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.251
info.magnolia.i18nsystem.util13000100%0.008
info.magnolia.i18nsystem.setup8000100%0.194
info.magnolia.i18nsystem3700294.595%1.956
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.006
ProxytoysI18nizerTest1700476.471%0.244
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.181
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.006
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.007

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.438
SimpleTranslatorTest700271.429%0.064
TranslationServiceImplReloadBundlesTest1000100%0.536
TranslationServiceImplTest19000100%0.918

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.38
getDifferentBundlenamesForEachChild0.011
addKeyConsidersLabelAsAnOptionalSuffix0.01
getNullBundlenameWhenNoneIsDefined0.007
getRootBundlenameWhenNoOtherIsDefined0.006
getIdOrNameForUnknownRoot0.005
getRoot0.005
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.004
getAncestorKeyGenerators0.008

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0.001

ProxytoysI18nizerTest

decorateEnum0.004
skipped
decorateWithNullObjectDoesNotThrowException0.041
testWithSingleChildObject0.013
testWithDeeperChildren0.018
testSimpleObject0.009
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.009
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.009
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.037
nullChildJustReturnsNull0.008
testWithChildren0.013
decorateChildWithNullObjectDoesNotThrowException0.017
objectsClonedWithClonerLibCanBeDecorated0.009
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.015
testWithChildrenInMap0.013
testWithExistingValuesBeforeDecoration0.009

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0.001
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.18
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.014
extraTestForConditionsAndPlurals0.02
keyWithPrintfFormatMultipleArgs0.02
Ignored for now but I would like to support the printf format too eventually
formatAccordingToLocale0.006
keyWithMessageFormat0.001
keyWithMessageFormatMultipleArgs0.001

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.536

TranslationServiceImplTest

messageWithBasenameAndLocale0.1
messageNotFound0.056
messageWithSwissGermanVariantLocale0.046
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.045
messageFallsBackToClosestAvailableMessage0.042
messageFallsBackToDefaultLanguage0.043
messageWithFrenchLocale0.043
givenBasenameFallbacksToDefautLegacy0.043
messageWithNullKeys0.04
messageWithBasename0.041
messageWithSwissGermanLocale0.042
shouldPreferUserLocaleWithSecondaryKey0.083
messageNotFoundWithBasename0.045
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.041
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.043
messageFallsBackToDefautLocaleFromAVariantLocale0.041
messageFallsBackToAvailableMessageFromVariantToCountry0.041
messageWithNoKeys0.041
messageWithGermanLocale0.042

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.003
getAnnotationWorksOnSubclass0
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0.001
returnsLowerBoundForExtends0

LocaleUtilsTest

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