Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for beforePublicSuffixTest (1.47 sec)

  1. okhttp/src/androidUnitTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.android.kt

    import okhttp3.internal.platform.PlatformRegistry
    import org.robolectric.RobolectricTestRunner
    
    actual typealias PublicSuffixTestRunner = RobolectricTestRunner
    
    actual fun beforePublicSuffixTest() {
      PlatformRegistry.applicationContext = ApplicationProvider.getApplicationContext()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 08:21:20 UTC 2025
    - 974 bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.jvm.kt

      override fun getDescription() = delegate.description
    
      override fun run(notifier: RunNotifier?) = delegate.run(notifier)
    
      override fun testCount() = delegate.testCount()
    }
    
    actual fun beforePublicSuffixTest() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 23 16:58:05 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.kt

     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import org.junit.runner.Runner
    
    expect class PublicSuffixTestRunner : Runner
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 23 16:58:05 UTC 2025
    - 753 bytes
    - Viewed (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

      private val publicSuffixDatabase = PublicSuffixDatabase.get()
    
      val pathForTests = okHttpRoot / "okhttp/src/jvmMain/resources" / PUBLIC_SUFFIX_RESOURCE
    
      @Before
      fun setUp() {
        beforePublicSuffixTest()
      }
    
      @Test
      fun allPublicSuffixes() {
        val buffer = Buffer()
        FileSystem.SYSTEM.read(pathForTests) {
          val length = readInt()
          buffer.write(this, length.toLong())
        }
    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