Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testMarkAndReset (0.09 sec)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

            ""
                + "abcdefghijklmnopqrstuvwxyz\n"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ\r"
                + "0123456789\r\n"
                + "!@#$%^&*()-=_+\t[]{};':\",./<>?\\| ");
      }
    
      public void testMarkAndReset() throws IOException {
        String string = "abcdefghijklmnopqrstuvwxyz";
        CharSequenceReader reader = new CharSequenceReader(string);
        assertTrue(reader.markSupported());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      @Test
      fun markAndResetWithContentLengthHeader() {
        testMarkAndReset(TransferKind.FIXED_LENGTH)
      }
    
      @Test
      fun markAndResetWithChunkedEncoding() {
        testMarkAndReset(TransferKind.CHUNKED)
      }
    
      @Test
      fun markAndResetWithNoLengthHeaders() {
        testMarkAndReset(TransferKind.END_OF_STREAM)
      }
    
      private fun testMarkAndReset(transferKind: TransferKind) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top