Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.525

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.337
info.magnolia.i18nsystem.util13000100%0.007
info.magnolia.i18nsystem.setup8000100%0.075
info.magnolia.i18nsystem3700294.595%2.106
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
ProxytoysI18nizerTest1700476.471%0.33
MethodsAnnotatedWithTest4000100%0.005
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.058
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.008
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.009

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
TranslationServiceImplTest19000100%1.424
SimpleTranslatorTest700271.429%0.048
TranslationServiceImplReloadBundlesTest1000100%0.579
AbstractI18nKeyGeneratorTest10000100%0.055

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

TranslationServiceImplTest

messageWithBasenameAndLocale0.414
messageNotFound0.066
messageWithSwissGermanVariantLocale0.048
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.049
messageFallsBackToClosestAvailableMessage0.049
messageFallsBackToDefaultLanguage0.047
messageWithFrenchLocale0.047
givenBasenameFallbacksToDefautLegacy0.053
messageWithNullKeys0.056
messageWithBasename0.056
messageWithSwissGermanLocale0.048
shouldPreferUserLocaleWithSecondaryKey0.199
messageNotFoundWithBasename0.041
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.052
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.043
messageFallsBackToDefautLocaleFromAVariantLocale0.04
messageFallsBackToAvailableMessageFromVariantToCountry0.039
messageWithNoKeys0.038
messageWithGermanLocale0.039

SimpleTranslatorTest

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

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.056
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.004
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.006
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

ProxytoysI18nizerTest

decorateEnum0.004
skipped
decorateWithNullObjectDoesNotThrowException0.021
testWithSingleChildObject0.127
testWithDeeperChildren0.027
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.008
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.034
nullChildJustReturnsNull0.008
testWithChildren0.012
decorateChildWithNullObjectDoesNotThrowException0.007
objectsClonedWithClonerLibCanBeDecorated0.008
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.013
testWithChildrenInMap0.013
testWithExistingValuesBeforeDecoration0.01

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0.001
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0.001
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0
resolveLocaleReturnsLanguageLocale0
resolveLocaleReturnsLanguageCountryLocale0.001
resolveLocaleReturnsLanguageCountryVariantLocale0
resolveLocaleReturnsDefaultLocale0.001

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0
sanityChecks0.001
returnsLowerBoundForExtends0.001

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.579

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

AbstractI18nKeyGeneratorTest

ancestorsFromList0.004
getDifferentBundlenamesForEachChild0.018
addKeyConsidersLabelAsAnOptionalSuffix0.006
getNullBundlenameWhenNoneIsDefined0.004
getRootBundlenameWhenNoOtherIsDefined0.003
getIdOrNameForUnknownRoot0.003
getRoot0.004
ancestorsFromSimpleChain0.002
getRootKeyGenerator0.004
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