Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.375

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.253
info.magnolia.i18nsystem.util13000100%0.007
info.magnolia.i18nsystem.setup8000100%0.207
info.magnolia.i18nsystem3700294.595%1.908
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.006
ProxytoysI18nizerTest1700476.471%0.245
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.194
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.005
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.008

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.438
SimpleTranslatorTest700271.429%0.041
TranslationServiceImplReloadBundlesTest1000100%0.528
TranslationServiceImplTest19000100%0.901

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.378
getDifferentBundlenamesForEachChild0.01
addKeyConsidersLabelAsAnOptionalSuffix0.011
getNullBundlenameWhenNoneIsDefined0.007
getRootBundlenameWhenNoOtherIsDefined0.006
getIdOrNameForUnknownRoot0.005
getRoot0.005
ancestorsFromSimpleChain0.003
getRootKeyGenerator0.005
getAncestorKeyGenerators0.008

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0.001

ProxytoysI18nizerTest

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

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0.001
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0.001
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.192
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.005
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.528

TranslationServiceImplTest

messageWithBasenameAndLocale0.098
messageNotFound0.054
messageWithSwissGermanVariantLocale0.045
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.044
messageFallsBackToClosestAvailableMessage0.039
messageFallsBackToDefaultLanguage0.042
messageWithFrenchLocale0.041
givenBasenameFallbacksToDefautLegacy0.044
messageWithNullKeys0.039
messageWithBasename0.041
messageWithSwissGermanLocale0.042
shouldPreferUserLocaleWithSecondaryKey0.081
messageNotFoundWithBasename0.044
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.04
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.043
messageFallsBackToDefautLocaleFromAVariantLocale0.039
messageFallsBackToAvailableMessageFromVariantToCountry0.042
messageWithNoKeys0.042
messageWithGermanLocale0.041

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.003
getAnnotationWorksOnSubclass0
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0
returnsLowerBoundForExtends0

LocaleUtilsTest

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