Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StringSubscriber (0.26 sec)

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

        assertEquals(1, registry.getSubscribersForTesting(Object.class).size());
      }
    
      public void testUnregister() {
        StringSubscriber s1 = new StringSubscriber();
        StringSubscriber s2 = new StringSubscriber();
    
        registry.register(s1);
        registry.register(s2);
    
        registry.unregister(s1);
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

              subscriber(bus, i2, "handleInteger", Integer.class),
              subscriber(bus, i3, "handleInteger", Integer.class));
    
      private final StringSubscriber s1 = new StringSubscriber("s1");
      private final StringSubscriber s2 = new StringSubscriber("s2");
      private final ImmutableList<Subscriber> stringSubscribers =
          ImmutableList.of(
              subscriber(bus, s1, "handleString", String.class),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(1, registry.getSubscribersForTesting(Object.class).size());
      }
    
      public void testUnregister() {
        StringSubscriber s1 = new StringSubscriber();
        StringSubscriber s2 = new StringSubscriber();
    
        registry.register(s1);
        registry.register(s2);
    
        registry.unregister(s1);
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

              subscriber(bus, i2, "handleInteger", Integer.class),
              subscriber(bus, i3, "handleInteger", Integer.class));
    
      private final StringSubscriber s1 = new StringSubscriber("s1");
      private final StringSubscriber s2 = new StringSubscriber("s2");
      private final ImmutableList<Subscriber> stringSubscribers =
          ImmutableList.of(
              subscriber(bus, s1, "handleString", String.class),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top