Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for threadIsInterruptedOnFirstRead (0.83 sec)

  1. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

            exception,
          )
          val test = "foobar.$exception"
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(exception)
        }
      }
    
      @Test
      fun threadIsInterruptedOnFirstRead() {
        Thread.currentThread().interrupt()
        try {
          val result = publicSuffixDatabase.getEffectiveTldPlusOne("squareup.com")
          assertThat(result).isEqualTo("squareup.com")
        } finally {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top