Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
8500791.765%1.456

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.2
info.magnolia.i18nsystem.util13000100%0.006
info.magnolia.i18nsystem.setup8000100%0.155
info.magnolia.i18nsystem3600294.444%1.095
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.004
ProxytoysI18nizerTest1600475%0.195
ReturnsAnnotatedTypeArgumentTest7000100%0.001

info.magnolia.i18nsystem.util

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

info.magnolia.i18nsystem.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractRemoveHardcodedI18nPropertiesTaskTest2000100%0.145
RemoveHardcodedI18nPropertiesFromDialogsTaskTest3000100%0.005
RemoveHardcodedI18nPropertiesFromSubappsTaskTest3000100%0.005

info.magnolia.i18nsystem

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractI18nKeyGeneratorTest10000100%0.365
SimpleTranslatorTest700271.429%0.034
TranslationServiceImplTest19000100%0.696

info.magnolia.i18nsystem.tools

ClassTestsErrors FailuresSkippedSuccess RateTime
GenerateTranslationFilesImplTest10010%0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractI18nKeyGeneratorTest

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

MethodsAnnotatedWithTest

includesMethodOnSuperclass0.004
doesNotIncludeOtherRandomMethod0
includesMethodOnSelf0
includesMethodOnInterface0

ProxytoysI18nizerTest

decorateEnum0.003
skipped
decorateWithNullObjectDoesNotThrowException0.038
testWithSingleChildObject0.01
testWithDeeperChildren0.014
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.032
nullChildJustReturnsNull0.006
testWithChildren0.01
decorateChildWithNullObjectDoesNotThrowException0.006
objectsClonedWithClonerLibCanBeDecorated0.007
defaultValuesSetInConstructorDoNotOverrideValuesAfterProxying0.019
testWithChildrenInMap0.011

ReturnsAnnotatedTypeArgumentTest

includesSimpleGetter0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotatedEvenIfMethodItselfIsAnnotated0
includesMapOfAnnotatedTypeValues0
includesInheritedMethods0.001
includesListOfAnnotatedTypes0
doesNotIncludeGetterWhereReturnTypeIsNotAnnotated0
canNotIncludeMapOfAnnotatedTypeValues0

AbstractRemoveHardcodedI18nPropertiesTaskTest

removeHardcodedI18nPropertiesUnderAppNode0.144
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromDialogsTaskTest

removeI18nPropertiesFromDialogs0.002
removeHardcodedI18nPropertiesUnderAppNode0.002
leaveOtherPropertiesAlone0.001

RemoveHardcodedI18nPropertiesFromSubappsTaskTest

removeI18nPropertiesFromSubapps0.003
removeHardcodedI18nPropertiesUnderAppNode0.001
leaveOtherPropertiesAlone0.001

SimpleTranslatorTest

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

GenerateTranslationFilesImplTest

generateTranslationFilesAndEverythingElse0
skipped

TranslationServiceImplTest

messageWithBasenameAndLocale0.081
messageNotFound0.041
messageWithSwissGermanVariantLocale0.035
messageWithBasenameAndLocaleFallsBackToDefaultLocaleIfNotFound0.036
messageFallsBackToClosestAvailableMessage0.033
messageFallsBackToDefaultLanguage0.035
messageWithFrenchLocale0.034
givenBasenameFallbacksToDefautLegacy0.034
messageWithNullKeys0.033
messageWithBasename0.031
messageWithSwissGermanLocale0.03
shouldPreferUserLocaleWithSecondaryKey0.06
messageNotFoundWithBasename0.032
messageAvailableOnlyInEnglishWithSystemFallbackLanguageSetAsEnglish0.029
messageWithBasenameAndLocaleFallsBackToGlobalBundleIfNotFound0.031
messageFallsBackToDefautLocaleFromAVariantLocale0.031
messageFallsBackToAvailableMessageFromVariantToCountry0.03
messageWithNoKeys0.028
messageWithGermanLocale0.032

AnnotationUtilsTest

getAnnotationWorksOnClassImplementingInterface0.002
getAnnotationWorksOnSubclass0
getAnnotationWorksOnInterface0
getAnnotationWorksOnClassDirectlyAnnotated0

GenericsUtilsTest

getGenericTypeOfReturnType0.002
returnsObjectForWildcards0
sanityChecks0.001
returnsLowerBoundForExtends0

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