Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Content (0.18 sec)

  1. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

        assertThat(allAddresses).isEmpty()
      }
    
      @Test
      fun testRequestOnNetwork() {
        assumeNetwork()
    
        val context = InstrumentationRegistry.getInstrumentation().context
        val connectivityManager =
          context.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager
    
        val network =
          connectivityManager.activeNetwork ?: throw AssumptionViolatedException("No active network")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top