- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testDurationDuration (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt
checkDuration( "timeout", 1L + Int.MAX_VALUE.toLong(), TimeUnit.MILLISECONDS, ) }, ).hasMessage("timeout too large") } @Test fun testDurationDuration() { assertThat(checkDuration("timeout", 0.milliseconds)).isEqualTo(0) assertThat(checkDuration("timeout", 1.milliseconds)).isEqualTo(1) assertThat( assertThrows<IllegalStateException> {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0)