Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8900792.135%1.98

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.173
info.magnolia.i18nsystem.util13000100%0.005
info.magnolia.i18nsystem.setup8000100%0.169
info.magnolia.i18nsystem3900294.872%1.632
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
MethodsAnnotatedWithTest4000100%0.005
ProxytoysI18nizerTest1700476.471%0.161
ReturnsAnnotatedTypeArgumentTest7000100%0.007

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

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

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.372
DefaultMessageBundlesLoaderTest2000100%0.194
SimpleTranslatorTest700271.429%0.033
TranslationServiceImplReloadBundlesTest1000100%0.401
TranslationServiceImplTest19000100%0.632

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0.001

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

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

DefaultMessageBundlesLoaderTest

testUTF8CharactersAreReadProperly0.13
bundlesLoaderLoadsAllLocales0.064

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.004
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0.001

ProxytoysI18nizerTest

decorateEnum0.003
skipped
decorateWithNullObjectDoesNotThrowException0.013
testWithSingleChildObject0.01
testWithDeeperChildren0.013
testSimpleObject0.009
i18nTextAnnotationOnNonStringType0.009
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.007
decoratedMapShouldAllowToPutNewObjectsAndDecorateThem0.008
Not implemented yet
decoratedObjectsCanBeClonedWithClonerLib0.026
nullChildJustReturnsNull0.005
testWithChildren0.011
decorateChildWithNullObjectDoesNotThrowException0.005
objectsClonedWithClonerLibCanBeDecorated0.006
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.01
testWithChildrenInMap0.01
testWithExistingValuesBeforeDecoration0.006

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.158
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.004
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplReloadBundlesTest

messageFoundAfterBundlesReload0.401

TranslationServiceImplTest

messageWithBasenameAndLocale0.046
messageNotFound0.034
messageWithSwissGermanVariantLocale0.044
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.032
messageFallsBackToClosestAvailableMessage0.03
messageFallsBackToDefaultLanguage0.028
messageWithFrenchLocale0.028
givenBasenameFallbacksToDefautLegacy0.031
messageWithNullKeys0.031
messageWithBasename0.032
messageWithSwissGermanLocale0.029
shouldPreferUserLocaleWithSecondaryKey0.062
messageNotFoundWithBasename0.029
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.027
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.029
messageFallsBackToDefautLocaleFromAVariantLocale0.032
messageFallsBackToAvailableMessageFromVariantToCountry0.032
messageWithNoKeys0.028
messageWithGermanLocale0.028

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.001
returnsObjectForWildcards0
sanityChecks0
returnsLowerBoundForExtends0

LocaleUtilsTest

resolveLocaleIsLenientWithLowercaseCountryCode0
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