Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8900792.135%2.676

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.194
info.magnolia.i18nsystem.util13000100%0.01
info.magnolia.i18nsystem.setup8000100%0.169
info.magnolia.i18nsystem3900294.872%2.303
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.187
ReturnsAnnotatedTypeArgumentTest7000100%0.002

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

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

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.421
DefaultMessageBundlesLoaderTest2000100%0.204
SimpleTranslatorTest700271.429%0.033
TranslationServiceImplReloadBundlesTest1000100%0.754
TranslationServiceImplTest19000100%0.891

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

ancestorsFromList0.364
getDifferentBundlenamesForEachChild0.011
addKeyConsidersLabelAsAnOptionalSuffix0.011
getNullBundlenameWhenNoneIsDefined0.006
getRootBundlenameWhenNoOtherIsDefined0.006
getIdOrNameForUnknownRoot0.004
getRoot0.004
ancestorsFromSimpleChain0.003
getRootKeyGenerator0.005
getAncestorKeyGenerators0.007

DefaultMessageBundlesLoaderTest

testUTF8CharactersAreReadProperly0.148
bundlesLoaderLoadsAllLocales0.056

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.005
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0.003
skipped
decorateWithNullObjectDoesNotThrowException0.012
testWithSingleChildObject0.011
testWithDeeperChildren0.021
testSimpleObject0.008
i18nTextAnnotationOnNonStringType0.008
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.028
nullChildJustReturnsNull0.007
testWithChildren0.014
decorateChildWithNullObjectDoesNotThrowException0.007
objectsClonedWithClonerLibCanBeDecorated0.008
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.011
testWithChildrenInMap0.019
testWithExistingValuesBeforeDecoration0.007

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0.001
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0.001
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.157
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.005
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.754

TranslationServiceImplTest

messageWithBasenameAndLocale0.039
messageNotFound0.046
messageWithSwissGermanVariantLocale0.049
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.033
messageFallsBackToClosestAvailableMessage0.031
messageFallsBackToDefaultLanguage0.036
messageWithFrenchLocale0.031
givenBasenameFallbacksToDefautLegacy0.032
messageWithNullKeys0.039
messageWithBasename0.033
messageWithSwissGermanLocale0.035
shouldPreferUserLocaleWithSecondaryKey0.066
messageNotFoundWithBasename0.034
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.05
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.056
messageFallsBackToDefautLocaleFromAVariantLocale0.061
messageFallsBackToAvailableMessageFromVariantToCountry0.073
messageWithNoKeys0.077
messageWithGermanLocale0.07

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.004
getAnnotationWorksOnSubclass0.001
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.002
returnsObjectForWildcards0.001
sanityChecks0
returnsLowerBoundForExtends0.001

LocaleUtilsTest

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