Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8800792.045%1.47

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.134
info.magnolia.i18nsystem.util13000100%0.006
info.magnolia.i18nsystem.setup8000100%0.123
info.magnolia.i18nsystem3800294.737%1.206
info.magnolia.i18nsystem.tools10010%0.001

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.004
ProxytoysI18nizerTest1700476.471%0.129
ReturnsAnnotatedTypeArgumentTest7000100%0.001

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.115
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.003
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.005

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.276
DefaultMessageBundlesLoaderTest1000100%0.085
SimpleTranslatorTest700271.429%0.025
TranslationServiceImplReloadBundlesTest1000100%0.329
TranslationServiceImplTest19000100%0.491

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.001

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.238
getDifferentBundlenamesForEachChild0.007
addKeyConsidersLabelAsAnOptionalSuffix0.007
getNullBundlenameWhenNoneIsDefined0.004
getRootBundlenameWhenNoOtherIsDefined0.004
getIdOrNameForUnknownRoot0.003
getRoot0.003
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.003
getAncestorKeyGenerators0.005

DefaultMessageBundlesLoaderTest

bundlesLoaderLoadsAllLocales0.085

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.003
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0.001

ProxytoysI18nizerTest

decorateEnum0.003
skipped
decorateWithNullObjectDoesNotThrowException0.011
testWithSingleChildObject0.008
testWithDeeperChildren0.011
testSimpleObject0.006
i18nTextAnnotationOnNonStringType0.006
Currently makes no sense - un-ignore the day we find a real use-case
canFormatMessagesForMethodsWithArguments0.006
Not implemented yet - not sure we want this
blowsIfCalledTwiceOnSameObject0.005
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.006
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.022
nullChildJustReturnsNull0.005
testWithChildren0.007
decorateChildWithNullObjectDoesNotThrowException0.004
objectsClonedWithClonerLibCanBeDecorated0.005
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.009
testWithChildrenInMap0.008
testWithExistingValuesBeforeDecoration0.007

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0.001
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.115
leaveOtherPropertiesAlone0

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.003
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.329

TranslationServiceImplTest

messageWithBasenameAndLocale0.03
messageNotFound0.027
messageWithSwissGermanVariantLocale0.023
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.025
messageFallsBackToClosestAvailableMessage0.025
messageFallsBackToDefaultLanguage0.024
messageWithFrenchLocale0.023
givenBasenameFallbacksToDefautLegacy0.025
messageWithNullKeys0.024
messageWithBasename0.024
messageWithSwissGermanLocale0.024
shouldPreferUserLocaleWithSecondaryKey0.049
messageNotFoundWithBasename0.025
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.024
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.024
messageFallsBackToDefautLocaleFromAVariantLocale0.024
messageFallsBackToAvailableMessageFromVariantToCountry0.023
messageWithNoKeys0.024
messageWithGermanLocale0.024

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0
sanityChecks0.001
returnsLowerBoundForExtends0

LocaleUtilsTest

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