Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testResourcesLoaded (0.23 sec)

  1. native-image-tests/src/main/kotlin/okhttp3/PublicSuffixDatabaseTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class PublicSuffixDatabaseTest {
      @RegisterExtension
      @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testResourcesLoaded() {
        val url = "https://api.twitter.com".toHttpUrl()
    
        assertThat(url.topPrivateDomain()).isEqualTo("twitter.com")
      }
    
      @Test
      fun testPublicSuffixes() {
        platform.assumeNotGraalVMImage()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:33:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top