LocaleUtilityTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total323 of 3230%0 of 0n/a22221081082222
getLocalesInOrder_shouldReturnASetOfLocalesWithAPredictableOrder()670%n/a11141411
getLocalesInOrder_shouldReturnASetOfLocalesWithNoDuplicates()360%n/a11101011
getDefaultLocale_shouldNotCacheLocaleWhenSessionIsNotOpen()270%n/a11111111
getLocalesInOrder_shouldHaveDefaultLocaleAsTheSecondElementIfUserHasAPreferredLocale()220%n/a117711
fromSpecification_shouldGetLocaleFromLanguageCodeCountryCodeAndVariant()180%n/a115511
should_resetTheLocale()140%n/a115511
getDefaultLocale_shouldReturnLocaleObjectForGlobalProperty()120%n/a114411
getDefaultLocale_shouldNotFailWithBogusGlobalPropertyValue()110%n/a114411
getDefaultLocale_shouldNotFailWithEmptyGlobalPropertyValue()110%n/a114411
getLocalesInOrder_shouldAlwaysHaveDefaultLocaleDefaultValueIncludedInTheReturnedCollection()110%n/a114411
getLocalesInOrder_shouldAlwaysHaveEnglishIncludedInTheReturnedCollection()100%n/a113311
getLocalesInOrder_shouldHaveDefaultLocaleAsTheFirstElementIfUserHasNoPreferredLocale()100%n/a114411
areCompatible_shouldConfirmMatchingLanguageAsCompatible()90%n/a114411
areCompatible_shouldNotConfirmDifferentLanguageAsCompatible()90%n/a114411
areCompatible_shouldConfirmMatchingCountryAsCompatible()90%n/a114411
areCompatible_shouldNotConfirmDifferentCountryAsCompatible()90%n/a114411
areCompatible_shouldConfirmSameLanguageMissingCountryAsCompatible()90%n/a114411
areCompatible_shouldConfirmDifferentLanguageMissingCountryAsCompatible()90%n/a114411
getDefaultLocale_shouldNotReturnNullIfGlobalPropertyDoesNotExist()70%n/a114411
fromSpecification_shouldGetLocaleFromTwoCharacterLanguageCode()50%n/a112211
fromSpecification_shouldGetLocaleFromLanguageCodeAndCountryCode()50%n/a112211
LocaleUtilityTest()30%n/a111111