Skip to content

Test Result : MultilingualStringTest

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

All Tests

Test nameDurationStatus
containsReturnsTrueForExistingLanguageValue2 msPassed
containsReturnsTrueForNullArgumentWhenAtLeastOneLanguageTaggedValueExists1 msPassed
containsSimpleReturnsTrueForSimpleLiteral1 msPassed
equalityWorksBasedOnTranslations2 msPassed
getLanguagesReturnsSetOfLanguagesPresentInInstance1 msPassed
getReturnsNullWhenValueInSpecifiedLanguageIsNotAvailable1 msPassed
getWithNullArgumentReturnsNullWhenNeitherSimpleLiteralNorTranslationsAreAvailable1 msPassed
getWithNullLanguageReturnsAnyExistingLanguageTaggedValueWhenSimpleLiteralIsNotPresent0 msPassed
getWithNullLanguageReturnsSimpleLiteralValue0 msPassed
getWithoutArgumentReturnsAnyExistingLanguageTaggedValueWhenSimpleLiteralIsNotPresent1 msPassed
getWithoutArgumentReturnsSimpleLiteralValue1 msPassed
isEmptyReturnsTrueForMissingTranslations0 msPassed
removeRemovesTranslationInSpecifiedLanguage1 msPassed
setOverridesPreexistingValueForSpecifiedLanguage0 msPassed
setSetsValueInSpecifiedLanguage1 msPassed
setWithoutLanguageSetsSimpleLiteralValue1 msPassed
staticCreateMethodInitializesStringWithSpecifiedValueAndLanguage1 msPassed
toStringOutputsInternalValue1 msPassed