Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for hey (0.02 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

        processResponse(response, listener)
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @Test
      fun cancelShortCircuits() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val source = newEventSource()
        assertThat(source.request().url.encodedPath).isEqualTo("/")
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @RetryingTest(5)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

      }
    
      @Test
      fun encodeMultiplePairs() {
        val body =
          FormBody
            .Builder()
            .add("sim", "ple")
            .add("hey", "there")
            .add("help", "me")
            .build()
        val expected = "sim=ple&hey=there&help=me"
        assertThat(body.contentLength()).isEqualTo(expected.length.toLong())
        val buffer = Buffer()
        body.writeTo(buffer)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .addEqualityGroup(ImmutableLongArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

      }
    
      @Test
      fun serverReadsHeadersData() {
        assumeNotWindows()
        enableProtocol(Protocol.HTTP_2)
        val body =
          MockSocketHandler()
            .exhaustResponse()
            .receiveRequest("hey\n")
            .receiveRequest("whats going on\n")
            .exhaustRequest()
        server.enqueue(
          MockResponse
            .Builder()
            .clearHeaders()
            .addHeader("h1", "v1")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .addEqualityGroup(ImmutableLongArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top