Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%1.925

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.221
info.magnolia.i18nsystem.util13000100%0.007
info.magnolia.i18nsystem.setup8000100%0.14
info.magnolia.i18nsystem3700294.595%1.557
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.005
ProxytoysI18nizerTest1700476.471%0.214
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.128
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.005
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.007

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.376
SimpleTranslatorTest700271.429%0.041
TranslationServiceImplReloadBundlesTest1000100%0.433
TranslationServiceImplTest19000100%0.707

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.324
getDifferentBundlenamesForEachChild0.009
addKeyConsidersLabelAsAnOptionalSuffix0.009
getNullBundlenameWhenNoneIsDefined0.006
getRootBundlenameWhenNoOtherIsDefined0.006
getIdOrNameForUnknownRoot0.004
getRoot0.003
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.005
getAncestorKeyGenerators0.008

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.004
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0.004
skipped
decorateWithNullObjectDoesNotThrowException0.044
testWithSingleChildObject0.012
testWithDeeperChildren0.019
testSimpleObject0.009
i18nTextAnnotationOnNonStringType0.009
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.007
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.007
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.033
nullChildJustReturnsNull0.005
testWithChildren0.009
decorateChildWithNullObjectDoesNotThrowException0.005
objectsClonedWithClonerLibCanBeDecorated0.01
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.014
testWithChildrenInMap0.01
testWithExistingValuesBeforeDecoration0.007

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0.001
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0.001
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.127
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.003
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.004
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.433

TranslationServiceImplTest

messageWithBasenameAndLocale0.132
messageNotFound0.065
messageWithSwissGermanVariantLocale0.03
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.027
messageFallsBackToClosestAvailableMessage0.03
messageFallsBackToDefaultLanguage0.024
messageWithFrenchLocale0.029
givenBasenameFallbacksToDefautLegacy0.025
messageWithNullKeys0.022
messageWithBasename0.023
messageWithSwissGermanLocale0.029
shouldPreferUserLocaleWithSecondaryKey0.05
messageNotFoundWithBasename0.036
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.03
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.032
messageFallsBackToDefautLocaleFromAVariantLocale0.03
messageFallsBackToAvailableMessageFromVariantToCountry0.033
messageWithNoKeys0.034
messageWithGermanLocale0.026

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.003
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0
sanityChecks0
returnsLowerBoundForExtends0

LocaleUtilsTest

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