Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPublicSuffixes (0.1 sec)

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

      @Test
      fun testResourcesLoaded() {
        val url = "https://api.twitter.com".toHttpUrl()
    
        assertThat(url.topPrivateDomain()).isEqualTo("twitter.com")
      }
    
      @Test
      fun testPublicSuffixes() {
        platform.assumeNotGraalVMImage()
    
        val metadata = FileSystem.RESOURCES.metadata(PublicSuffixDatabase.PUBLIC_SUFFIX_RESOURCE)
        assertThat(metadata.size!!).isGreaterThan(30000)
      }
    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