- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hashCode_usesIdentityHashCode_legacyCase (0.18 sec)
-
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
import okhttp3.internal.applyConnectionSpec import org.junit.jupiter.api.Assertions.assertArrayEquals import org.junit.jupiter.api.Test class CipherSuiteTest { @Test fun hashCode_usesIdentityHashCode_legacyCase() { val cs = CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 // This one's javaName starts with "SSL_". assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0)