Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 938 for Events (0.06 sec)

  1. docs/em/docs/advanced/testing-events.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 245 bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/testing-events.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 225 bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/testing-events.md

    # Testando Eventos: inicialização - encerramento
    
    Quando você precisa que os seus manipuladores de eventos (`startup` e `shutdown`) sejam executados em seus testes, você pode utilizar o `TestClient` usando a instrução `with`:
    
    ```Python hl_lines="9-12  20-24"
    {!../../docs_src/app_testing/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 316 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

            }
            canceled -> {
              events += "plan $id TCP connect canceled"
              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = IOException("canceled"))
            }
            connectTcpNextPlan != null -> {
              events += "plan $id needs follow-up"
              ConnectResult(this, nextPlan = connectTcpNextPlan)
            }
            else -> {
              events += "plan $id TCP connected"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

      }
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
      fun assertOpen(): WebSocket {
        val event = nextEvent() as Open
        return event.webSocket
      }
    
      fun assertFailure(t: Throwable?) {
        val event = nextEvent() as Failure
        assertThat(event.response).isNull()
        assertThat(event.t).isSameAs(t)
      }
    
      fun assertFailure(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      public void testDeadEventPosting() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        bus.post(new DeadEvent(this, EVENT));
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("The explicit DeadEvent should be delivered.", 1, events.size());
        assertEquals("The dead event must not be re-wrapped.", EVENT, events.get(0).getEvent());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. docs/features/caching.md

              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events 
    
    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    In the ideal scenario the cache can fulfill the request without any conditional call to the network.
    This will skip the normal events such as DNS, connecting to the network, and downloading the response body.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/events/v1/generated.proto

    // Events have a limited retention time and triggers and messages may evolve
    // with time.  Event consumers should not rely on the timing of an event
    // with a given Reason reflecting a consistent underlying trigger, or the
    // continued existence of events with that Reason.  Events should be
    // treated as informative, best-effort, supplemental data.
    message Event {
      // Standard object's metadata.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       *
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
       *     down the executor after the last event has been posted to this event bus.
       * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
       *     See {@link SubscriberExceptionHandler} for more information.
       * @since 16.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
        assertThat(nextEvent()).isEqualTo(Event(id, type, data))
      }
    
      fun assertOpen(): EventSource {
        val event = nextEvent() as Open
        return event.eventSource
      }
    
      fun assertClose() {
        nextEvent() as Closed
      }
    
      fun assertFailure(message: String?) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top