Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8700791.954%2.626

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.357
info.magnolia.i18nsystem.util13000100%0.01
info.magnolia.i18nsystem.setup8000100%0.064
info.magnolia.i18nsystem3700294.595%2.195
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.35
MethodsAnnotatedWithTest4000100%0.006
ReturnsAnnotatedTypeArgumentTest7000100%0.001

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.053
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.004
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.007

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
TranslationServiceImplTest19000100%1.471
SimpleTranslatorTest700271.429%0.066
TranslationServiceImplReloadBundlesTest1000100%0.606
AbstractI18nKeyGeneratorTest10000100%0.052

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

TranslationServiceImplTest

messageWithBasenameAndLocale0.452
messageNotFound0.076
messageWithSwissGermanVariantLocale0.047
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.048
messageFallsBackToClosestAvailableMessage0.048
messageFallsBackToDefaultLanguage0.046
messageWithFrenchLocale0.047
givenBasenameFallbacksToDefautLegacy0.053
messageWithNullKeys0.056
messageWithBasename0.056
messageWithSwissGermanLocale0.05
shouldPreferUserLocaleWithSecondaryKey0.203
messageNotFoundWithBasename0.041
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.039
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.053
messageFallsBackToDefautLocaleFromAVariantLocale0.04
messageFallsBackToAvailableMessageFromVariantToCountry0.038
messageWithNoKeys0.039
messageWithGermanLocale0.039

SimpleTranslatorTest

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

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.051
leaveOtherPropertiesAlone0.002

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.004
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

ProxytoysI18nizerTest

decorateEnum0.004
skipped
decorateWithNullObjectDoesNotThrowException0.022
testWithSingleChildObject0.129
testWithDeeperChildren0.028
testSimpleObject0.011
i18nTextAnnotationOnNonStringType0.011
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.009
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.036
nullChildJustReturnsNull0.009
testWithChildren0.013
decorateChildWithNullObjectDoesNotThrowException0.008
objectsClonedWithClonerLibCanBeDecorated0.009
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.015
testWithChildrenInMap0.015
testWithExistingValuesBeforeDecoration0.011

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0.001
includesMethodOnInterface0

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0.001
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.003
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0.001

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0
resolveLocaleReturnsLanguageLocale0.001
resolveLocaleReturnsLanguageCountryLocale0
resolveLocaleReturnsLanguageCountryVariantLocale0.001
resolveLocaleReturnsDefaultLocale0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0.001
sanityChecks0.001
returnsLowerBoundForExtends0

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.606

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

AbstractI18nKeyGeneratorTest

ancestorsFromList0.003
getDifferentBundlenamesForEachChild0.009
addKeyConsidersLabelAsAnOptionalSuffix0.006
getNullBundlenameWhenNoneIsDefined0.005
getRootBundlenameWhenNoOtherIsDefined0.004
getIdOrNameForUnknownRoot0.003
getRoot0.021
ancestorsFromSimpleChain0.001
getRootKeyGenerator0
getAncestorKeyGenerators0

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