Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8900792.135%1.691

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.149
info.magnolia.i18nsystem.util13000100%0.005
info.magnolia.i18nsystem.setup8000100%0.135
info.magnolia.i18nsystem3900294.872%1.401
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.005
ProxytoysI18nizerTest1700476.471%0.143
ReturnsAnnotatedTypeArgumentTest7000100%0.001

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.13
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.001
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.004

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.299
DefaultMessageBundlesLoaderTest2000100%0.134
SimpleTranslatorTest700271.429%0.023
TranslationServiceImplReloadBundlesTest1000100%0.402
TranslationServiceImplTest19000100%0.543

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.001

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.254
getDifferentBundlenamesForEachChild0.008
addKeyConsidersLabelAsAnOptionalSuffix0.01
getNullBundlenameWhenNoneIsDefined0.005
getRootBundlenameWhenNoOtherIsDefined0.005
getIdOrNameForUnknownRoot0.003
getRoot0.004
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.003
getAncestorKeyGenerators0.005

DefaultMessageBundlesLoaderTest

testUTF8CharactersAreReadProperly0.1
bundlesLoaderLoadsAllLocales0.034

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.003
doesNotIncludeOtherRandomMethod0.001
includesMethodOnSelf0
includesMethodOnInterface0.001

ProxytoysI18nizerTest

decorateEnum0.003
skipped
decorateWithNullObjectDoesNotThrowException0.011
testWithSingleChildObject0.009
testWithDeeperChildren0.012
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.005
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.029
nullChildJustReturnsNull0.005
testWithChildren0.008
decorateChildWithNullObjectDoesNotThrowException0.004
objectsClonedWithClonerLibCanBeDecorated0.005
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.01
testWithChildrenInMap0.013
testWithExistingValuesBeforeDecoration0.006

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0.001
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.129
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0
removeHardcodedI18nPropertiesUnderAppNode0
leaveOtherPropertiesAlone0

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.003
removeHardcodedI18nPropertiesUnderAppNode0
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.402

TranslationServiceImplTest

messageWithBasenameAndLocale0.029
messageNotFound0.026
messageWithSwissGermanVariantLocale0.027
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.028
messageFallsBackToClosestAvailableMessage0.027
messageFallsBackToDefaultLanguage0.03
messageWithFrenchLocale0.03
givenBasenameFallbacksToDefautLegacy0.027
messageWithNullKeys0.026
messageWithBasename0.026
messageWithSwissGermanLocale0.025
shouldPreferUserLocaleWithSecondaryKey0.053
messageNotFoundWithBasename0.03
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.026
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.027
messageFallsBackToDefautLocaleFromAVariantLocale0.027
messageFallsBackToAvailableMessageFromVariantToCountry0.026
messageWithNoKeys0.027
messageWithGermanLocale0.026

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0
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