Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 48 for delivered (0.19 seconds)

  1. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        assertEquals("One event dispatch task should be queued.", 1, tasks.size());
    
        tasks.get(0).run();
    
        assertEquals("One event should be delivered.", 1, events.size());
        assertWithMessage("Correct string should be delivered.").that(events.get(0)).isEqualTo(EVENT);
      }
    
      /**
       * An {@link Executor} wanna-be that simply records the tasks it's given. Arguably the Worst
       * Executor Ever.
       *
       * @author cbiffle
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertWithMessage("Correct string should be delivered.")
            .that(stringEvents.get(0))
            .isEqualTo(EVENT);
    
        // Check the Catcher<Object>...
        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
        assertEquals("String fixture must be first object delivered.", EVENT, objectEvents.get(0));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertWithMessage("Correct string should be delivered.")
            .that(stringEvents.get(0))
            .isEqualTo(EVENT);
    
        // Check the Catcher<Object>...
        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
        assertEquals("String fixture must be first object delivered.", EVENT, objectEvents.get(0));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/eventbus/DeadEvent.java

       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
       * subscriber.
       *
       * @return the 'dead' event that could not be delivered.
       */
      public Object getEvent() {
        return event;
      }
    
      @Override
      public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

            if (version != null) {
                return version;
            } else {
                return artifact.getVersion();
            }
        }
    
        // Revise these three methods when MRESOLVER-233 is delivered
        @Override
        public Artifact setVersion(String version) {
            String current = getVersion();
            if (current.equals(version) || (version == null && current.isEmpty())) {
                return this;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. tests/test_stream_cancellation.py

            i += 1
    
    
    async def _run_asgi_and_cancel(app: FastAPI, path: str, timeout: float) -> bool:
        """Call the ASGI app for *path* and cancel after *timeout* seconds.
    
        Returns `True` if the cancellation was delivered (i.e. it did not hang).
        """
        chunks: list[bytes] = []
    
        async def receive():  # type: ignore[no-untyped-def]
            # Simulate a client that never disconnects, rely on cancellation
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/witness/WitnessClient.java

                    }
                }
            }
        }
    
        /**
         * Determines if a notification should be delivered to a registration.
         *
         * @param registration the registration
         * @param notification the notification
         * @return true if the notification should be delivered
         */
        private boolean shouldDeliverNotification(WitnessRegistration registration, WitnessNotification notification) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            notification.addNewIPAddress(InetAddress.getByName("192.168.1.101"));
    
            client.processNotification(notification);
    
            // Verify notification was delivered
            assertTrue(listener.waitForNotification(1000));
            assertNotNull(listener.getLastNotification());
            assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top