Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.463

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.262
info.magnolia.i18nsystem.util13000100%0.005
info.magnolia.i18nsystem.setup8000100%0.202
info.magnolia.i18nsystem3700294.595%1.994
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.255
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.192
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.004
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.006

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.443
SimpleTranslatorTest700271.429%0.135
TranslationServiceImplReloadBundlesTest1000100%0.538
TranslationServiceImplTest19000100%0.878

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.384
getDifferentBundlenamesForEachChild0.011
addKeyConsidersLabelAsAnOptionalSuffix0.011
getNullBundlenameWhenNoneIsDefined0.007
getRootBundlenameWhenNoOtherIsDefined0.006
getIdOrNameForUnknownRoot0.005
getRoot0.005
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.004
getAncestorKeyGenerators0.008

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0

ProxytoysI18nizerTest

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

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0.001
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.19
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.004
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.538

TranslationServiceImplTest

messageWithBasenameAndLocale0.099
messageNotFound0.055
messageWithSwissGermanVariantLocale0.044
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.04
messageFallsBackToClosestAvailableMessage0.041
messageFallsBackToDefaultLanguage0.041
messageWithFrenchLocale0.04
givenBasenameFallbacksToDefautLegacy0.039
messageWithNullKeys0.04
messageWithBasename0.04
messageWithSwissGermanLocale0.039
shouldPreferUserLocaleWithSecondaryKey0.079
messageNotFoundWithBasename0.042
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.04
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.04
messageFallsBackToDefautLocaleFromAVariantLocale0.041
messageFallsBackToAvailableMessageFromVariantToCountry0.04
messageWithNoKeys0.038
messageWithGermanLocale0.04

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.001
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0
sanityChecks0.001
returnsLowerBoundForExtends0

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0.001
resolveLocaleReturnsLanguageLocale0
resolveLocaleReturnsLanguageCountryLocale0
resolveLocaleReturnsLanguageCountryVariantLocale0
resolveLocaleReturnsDefaultLocale0

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