Skip to content

Test Result : MultilingualStringTest

0 failures (±0)
18 tests (±0)
Took 11 ms.

All Tests

Test nameDurationStatus
containsReturnsTrueForExistingLanguageValue0 msPassed
containsReturnsTrueForNullArgumentWhenAtLeastOneLanguageTaggedValueExists1 msPassed
containsSimpleReturnsTrueForSimpleLiteral2 msPassed
equalityWorksBasedOnTranslations1 msPassed
getLanguagesReturnsSetOfLanguagesPresentInInstance1 msPassed
getReturnsNullWhenValueInSpecifiedLanguageIsNotAvailable0 msPassed
getWithNullArgumentReturnsNullWhenNeitherSimpleLiteralNorTranslationsAreAvailable1 msPassed
getWithNullLanguageReturnsAnyExistingLanguageTaggedValueWhenSimpleLiteralIsNotPresent0 msPassed
getWithNullLanguageReturnsSimpleLiteralValue0 msPassed
getWithoutArgumentReturnsAnyExistingLanguageTaggedValueWhenSimpleLiteralIsNotPresent0 msPassed
getWithoutArgumentReturnsSimpleLiteralValue0 msPassed
isEmptyReturnsTrueForMissingTranslations1 msPassed
removeRemovesTranslationInSpecifiedLanguage0 msPassed
setOverridesPreexistingValueForSpecifiedLanguage1 msPassed
setSetsValueInSpecifiedLanguage1 msPassed
setWithoutLanguageSetsSimpleLiteralValue1 msPassed
staticCreateMethodInitializesStringWithSpecifiedValueAndLanguage0 msPassed
toStringOutputsInternalValue1 msPassed