Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8900792.135%2.517

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.273
info.magnolia.i18nsystem.util13000100%0.006
info.magnolia.i18nsystem.setup8000100%0.169
info.magnolia.i18nsystem3900294.872%2.069
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.007
ProxytoysI18nizerTest1700476.471%0.265
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.164
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.003
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.002

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.444
DefaultMessageBundlesLoaderTest2000100%0.26
SimpleTranslatorTest700271.429%0.023
TranslationServiceImplReloadBundlesTest1000100%0.582
TranslationServiceImplTest19000100%0.76

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.377
getDifferentBundlenamesForEachChild0.012
addKeyConsidersLabelAsAnOptionalSuffix0.01
getNullBundlenameWhenNoneIsDefined0.008
getRootBundlenameWhenNoOtherIsDefined0.009
getIdOrNameForUnknownRoot0.006
getRoot0.005
ancestorsFromSimpleChain0.004
getRootKeyGenerator0.006
getAncestorKeyGenerators0.007

DefaultMessageBundlesLoaderTest

testUTF8CharactersAreReadProperly0.173
bundlesLoaderLoadsAllLocales0.087

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.007
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0.004
skipped
decorateWithNullObjectDoesNotThrowException0.017
testWithSingleChildObject0.019
testWithDeeperChildren0.024
testSimpleObject0.012
i18nTextAnnotationOnNonStringType0.012
Currently makes no sense - un-ignore the day we find a real use-case
canFormatMessagesForMethodsWithArguments0.012
Not implemented yet - not sure we want this
blowsIfCalledTwiceOnSameObject0.008
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.008
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.044
nullChildJustReturnsNull0.008
testWithChildren0.016
decorateChildWithNullObjectDoesNotThrowException0.009
objectsClonedWithClonerLibCanBeDecorated0.012
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.014
testWithChildrenInMap0.037
testWithExistingValuesBeforeDecoration0.009

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0.001
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.163
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.001
removeHardcodedI18nPropertiesUnderAppNode0
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
keyWithMessageFormatMultipleArgs0

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.582

TranslationServiceImplTest

messageWithBasenameAndLocale0.035
messageNotFound0.045
messageWithSwissGermanVariantLocale0.03
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.031
messageFallsBackToClosestAvailableMessage0.03
messageFallsBackToDefaultLanguage0.032
messageWithFrenchLocale0.035
givenBasenameFallbacksToDefautLegacy0.04
messageWithNullKeys0.039
messageWithBasename0.048
messageWithSwissGermanLocale0.051
shouldPreferUserLocaleWithSecondaryKey0.074
messageNotFoundWithBasename0.038
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.05
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.04
messageFallsBackToDefautLocaleFromAVariantLocale0.041
messageFallsBackToAvailableMessageFromVariantToCountry0.03
messageWithNoKeys0.03
messageWithGermanLocale0.041

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
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