Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for assertClose (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            ) {
              webSocket.close(1000, null)
            }
          },
        )
        server.close(1001, "bye")
        clientListener.assertClosed(1001, "bye")
        clientListener.assertExhausted()
        serverListener.assertClosing(1000, "")
        serverListener.assertClosed(1000, "")
        serverListener.assertExhausted()
      }
    
      @Test
      fun unplannedCloseHandledWithoutFailure() {
        webServer.enqueue(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isFalse();
        // But its closeable is closed.
        assertClosed(closeable1);
    
        // Step 2 is cancelled because it wasn't complete.
        assertWithMessage("step2.statusFuture().isCancelled()")
            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        assertThat(nextEvent()).isEqualTo(Pong(payload))
      }
    
      fun assertClosing(
        code: Int,
        reason: String,
      ) {
        assertThat(nextEvent()).isEqualTo(Closing(code, reason))
      }
    
      fun assertClosed(
        code: Int,
        reason: String,
      ) {
        assertThat(nextEvent()).isEqualTo(Closed(code, reason))
      }
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top