Searched refs:getLongOrNull (Results 1 – 2 of 2) sorted by relevance
36 assertThat(settings.getLongOrNull(longKey)).isEqualTo(longVal) in testExpectedValues_returned()44 assertThat(settings.getLongOrNull("unknown")).isNull() in testUndefinedValues_returnNull()58 assertThat(settings.getLongOrNull(stringKey)).isNull() in testMismatchedTypes()64 assertThat(settings.getLongOrNull(floatKey)).isNull() in testMismatchedTypes()
71 fun getLongOrNull(name: String): Long? = getStringOrNull(name)?.toLongOrNull() method