Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Ensure (0.18 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        )
    
        // Send a separate request which will trigger a GOAWAY frame on the healthy connection.
        val response = getResponse(newRequest("/"))
        assertContent("abc", response)
    
        // Ensure the GOAWAY frame has time to be read and processed.
        Thread.sleep(500)
        assertContent(
          "def",
          getResponse(
            Request(
              url = server.url("/"),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

              latch.countDown()
            }
          },
        )
        latch.await()
        // There's some flakiness when triggering a GC for objects in a separate thread. Adding a
        // small delay appears to ensure the objects will get GC'd.
        Thread.sleep(200)
        awaitGarbageCollection()
        val message = testLogHandler.take()
        assertThat(message).contains(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

          // response code. In this scenario, there are 2 responses: the initial 408 and then the 200
          // because of the retry. We just want to ensure the initial 408 isn't cached.
          expectedResponseCode = 200
          server.enqueue(
            MockResponse.Builder()
              .setHeader("Cache-Control", "no-store")
              .body("FGHIJ")
              .build(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // ink : 2013-12-05 Top Level Design, LLC
    ink
    
    // institute : 2013-11-07 Binky Moon, LLC
    institute
    
    // insurance : 2015-02-19 fTLD Registry Services LLC
    insurance
    
    // insure : 2014-03-20 Binky Moon, LLC
    insure
    
    // international : 2013-11-07 Binky Moon, LLC
    international
    
    // intuit : 2015-07-30 Intuit Administrative Services, Inc.
    intuit
    
    // investments : 2014-03-20 Binky Moon, LLC
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top