Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8900792.135%2.095

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.193
info.magnolia.i18nsystem.util13000100%0.005
info.magnolia.i18nsystem.setup8000100%0.168
info.magnolia.i18nsystem3900294.872%1.728
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.187
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.157
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.005
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.006

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.377
DefaultMessageBundlesLoaderTest2000100%0.177
SimpleTranslatorTest700271.429%0.028
TranslationServiceImplReloadBundlesTest1000100%0.519
TranslationServiceImplTest19000100%0.627

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.001

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.323
getDifferentBundlenamesForEachChild0.009
addKeyConsidersLabelAsAnOptionalSuffix0.01
getNullBundlenameWhenNoneIsDefined0.007
getRootBundlenameWhenNoOtherIsDefined0.005
getIdOrNameForUnknownRoot0.004
getRoot0.004
ancestorsFromSimpleChain0.003
getRootKeyGenerator0.006
getAncestorKeyGenerators0.006

DefaultMessageBundlesLoaderTest

testUTF8CharactersAreReadProperly0.126
bundlesLoaderLoadsAllLocales0.051

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.004
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0

ProxytoysI18nizerTest

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

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0.001
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0.001
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.156
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.003
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.005
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.519

TranslationServiceImplTest

messageWithBasenameAndLocale0.041
messageNotFound0.03
messageWithSwissGermanVariantLocale0.03
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.031
messageFallsBackToClosestAvailableMessage0.029
messageFallsBackToDefaultLanguage0.031
messageWithFrenchLocale0.032
givenBasenameFallbacksToDefautLegacy0.031
messageWithNullKeys0.037
messageWithBasename0.031
messageWithSwissGermanLocale0.03
shouldPreferUserLocaleWithSecondaryKey0.064
messageNotFoundWithBasename0.029
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.028
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.032
messageFallsBackToDefautLocaleFromAVariantLocale0.03
messageFallsBackToAvailableMessageFromVariantToCountry0.032
messageWithNoKeys0.031
messageWithGermanLocale0.028

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0
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