Skip to content

Test Result : MultilingualStringTest

0 failures (±0)
17 tests (±0)
Took 10 ms.

All Tests

Test nameDurationStatus
containsReturnsTrueForExistingLanguageValue0 msPassed
containsReturnsTrueForNullArgumentWhenAtLeastOneLanguageTaggedValueExists0 msPassed
containsSimpleReturnsTrueForSimpleLiteral0 msPassed
equalityWorksBasedOnTranslations1 msPassed
getLanguagesReturnsSetOfLanguagesPresentInInstance5 msPassed
getReturnsNullWhenValueInSpecifiedLanguageIsNotAvailable1 msPassed
getWithNullArgumentReturnsNullWhenNeitherSimpleLiteralNorTranslationsAreAvailable0 msPassed
getWithNullLanguageReturnsAnyExistingLanguageTaggedValueWhenSimpleLiteralIsNotPresent1 msPassed
getWithNullLanguageReturnsSimpleLiteralValue1 msPassed
getWithoutArgumentReturnsAnyExistingLanguageTaggedValueWhenSimpleLiteralIsNotPresent0 msPassed
getWithoutArgumentReturnsSimpleLiteralValue0 msPassed
isEmptyReturnsTrueForMissingTranslations0 msPassed
removeRemovesTranslationInSpecifiedLanguage0 msPassed
setOverridesPreexistingValueForSpecifiedLanguage0 msPassed
setSetsValueInSpecifiedLanguage0 msPassed
setWithoutLanguageSetsSimpleLiteralValue0 msPassed
staticCreateMethodInitializesStringWithSpecifiedValueAndLanguage1 msPassed