- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testToStringIsClassname (0.1 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/PlatformTest.kt
Platform() } /** Guard against the default value changing by accident. */ @Test fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() { assertThat(Platform().toString()).isEqualTo("Platform") } @Test fun testNotAndroid() { platform.assumeNotAndroid() // This is tautological so just confirms that it runs.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt
assertThat(buildIfSupported()).isNotNull() } catch (nsme: NoSuchMethodException) { assertThat(buildIfSupported()).isNull() } } @Test fun testToStringIsClassname() { assertThat(Jdk9Platform().toString()).isEqualTo("Jdk9Platform") } @Test fun selectedProtocolIsNullWhenSslSocketThrowsExceptionForApplicationProtocol() { platform.assumeJdk9()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0)