Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8500791.765%1.819

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.proxytoys2700485.185%0.301
info.magnolia.i18nsystem.util13000100%0.008
info.magnolia.i18nsystem.setup8000100%0.056
info.magnolia.i18nsystem3600294.444%1.453
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
ProxytoysI18nizerTest1600475%0.292
MethodsAnnotatedWithTest4000100%0.005
ReturnsAnnotatedTypeArgumentTest7000100%0.004

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.046
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.004
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.006

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
TranslationServiceImplTest19000100%1.324
SimpleTranslatorTest700271.429%0.085
AbstractI18nKeyGeneratorTest10000100%0.044

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.001

Test Cases

[Summary] [Package List] [Test Cases]

TranslationServiceImplTest

messageWithBasenameAndLocale0.376
messageNotFound0.071
messageWithSwissGermanVariantLocale0.045
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.046
messageFallsBackToClosestAvailableMessage0.046
messageFallsBackToDefaultLanguage0.044
messageWithFrenchLocale0.044
givenBasenameFallbacksToDefautLegacy0.048
messageWithNullKeys0.048
messageWithBasename0.048
messageWithSwissGermanLocale0.045
shouldPreferUserLocaleWithSecondaryKey0.187
messageNotFoundWithBasename0.04
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.039
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.045
messageFallsBackToDefautLocaleFromAVariantLocale0.04
messageFallsBackToAvailableMessageFromVariantToCountry0.038
messageWithNoKeys0.037
messageWithGermanLocale0.037

SimpleTranslatorTest

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

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.044
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.003
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

ProxytoysI18nizerTest

decorateEnum0.004
skipped
decorateWithNullObjectDoesNotThrowException0.02
testWithSingleChildObject0.113
testWithDeeperChildren0.023
testSimpleObject0.008
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.007
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.007
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.037
nullChildJustReturnsNull0.007
testWithChildren0.01
decorateChildWithNullObjectDoesNotThrowException0.006
objectsClonedWithClonerLibCanBeDecorated0.007
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.014
testWithChildrenInMap0.011

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.004
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0.001
resolveLocaleReturnsLanguageLocale0
resolveLocaleReturnsLanguageCountryLocale0.001
resolveLocaleReturnsLanguageCountryVariantLocale0
resolveLocaleReturnsDefaultLocale0.001

GenericsUtilsTest

getGenericTypeOfReturnType0.002
returnsObjectForWildcards0
sanityChecks0
returnsLowerBoundForExtends0

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0.001
skipped

AbstractI18nKeyGeneratorTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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
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
generateTranslationFilesAndEverythingElse
skipped: skipped