Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8800792.045%2.584

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.283
info.magnolia.i18nsystem.util13000100%0.008
info.magnolia.i18nsystem.setup8000100%0.184
info.magnolia.i18nsystem3800294.737%2.109
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.01
ProxytoysI18nizerTest1700476.471%0.269
ReturnsAnnotatedTypeArgumentTest7000100%0.004

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.169
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.006
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.009

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.51
DefaultMessageBundlesLoaderTest1000100%0.224
SimpleTranslatorTest700271.429%0.041
TranslationServiceImplReloadBundlesTest1000100%0.545
TranslationServiceImplTest19000100%0.789

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.442
getDifferentBundlenamesForEachChild0.012
addKeyConsidersLabelAsAnOptionalSuffix0.011
getNullBundlenameWhenNoneIsDefined0.006
getRootBundlenameWhenNoOtherIsDefined0.006
getIdOrNameForUnknownRoot0.005
getRoot0.007
ancestorsFromSimpleChain0.003
getRootKeyGenerator0.006
getAncestorKeyGenerators0.012

DefaultMessageBundlesLoaderTest

bundlesLoaderLoadsAllLocales0.224

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.008
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0.001

ProxytoysI18nizerTest

decorateEnum0.006
skipped
decorateWithNullObjectDoesNotThrowException0.02
testWithSingleChildObject0.02
testWithDeeperChildren0.023
testSimpleObject0.014
i18nTextAnnotationOnNonStringType0.014
Currently makes no sense - un-ignore the day we find a real use-case
canFormatMessagesForMethodsWithArguments0.014
Not implemented yet - not sure we want this
blowsIfCalledTwiceOnSameObject0.011
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.012
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.042
nullChildJustReturnsNull0.009
testWithChildren0.012
decorateChildWithNullObjectDoesNotThrowException0.009
objectsClonedWithClonerLibCanBeDecorated0.013
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.024
testWithChildrenInMap0.014
testWithExistingValuesBeforeDecoration0.012

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.167
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.003
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.006
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.006
keyWithMessageFormat0.002
keyWithMessageFormatMultipleArgs0.001

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.545

TranslationServiceImplTest

messageWithBasenameAndLocale0.07
messageNotFound0.039
messageWithSwissGermanVariantLocale0.03
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.038
messageFallsBackToClosestAvailableMessage0.034
messageFallsBackToDefaultLanguage0.032
messageWithFrenchLocale0.04
givenBasenameFallbacksToDefautLegacy0.031
messageWithNullKeys0.028
messageWithBasename0.029
messageWithSwissGermanLocale0.032
shouldPreferUserLocaleWithSecondaryKey0.061
messageNotFoundWithBasename0.038
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.045
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.05
messageFallsBackToDefautLocaleFromAVariantLocale0.049
messageFallsBackToAvailableMessageFromVariantToCountry0.049
messageWithNoKeys0.048
messageWithGermanLocale0.046

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.003
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.002
returnsObjectForWildcards0
sanityChecks0.001
returnsLowerBoundForExtends0

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0
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