Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for createSubscriber (0.14 sec)

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

    abstract class AbstractEventBusTest<H> extends TestCase {
      static final Object EVENT = new Object();
    
      abstract H createSubscriber();
    
      private @Nullable H subscriber;
    
      H getSubscriber() {
        return subscriber;
      }
    
      @Override
      protected void setUp() throws Exception {
        subscriber = createSubscriber();
        EventBus bus = new EventBus();
        bus.register(subscriber);
        bus.post(EVENT);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

    abstract class AbstractEventBusTest<H> extends TestCase {
      static final Object EVENT = new Object();
    
      abstract H createSubscriber();
    
      private @Nullable H subscriber;
    
      H getSubscriber() {
        return subscriber;
      }
    
      @Override
      protected void setUp() throws Exception {
        subscriber = createSubscriber();
        EventBus bus = new EventBus();
        bus.register(subscriber);
        bus.post(EVENT);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

        assertThat(getSubscriber().differentlyOverriddenAnnotatedInSubclassBadEvents).isEmpty();
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

        assertThat(getSubscriber().nonSubscriberEvents).isEmpty();
      }
    
      public void testSubscriber() {
        assertThat(getSubscriber().subscriberEvents).contains(EVENT);
      }
    
      @Override
      Subscriber createSubscriber() {
        return new Subscriber();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

        assertThat(getSubscriber().nonSubscriberEvents).isEmpty();
      }
    
      public void testSubscriber() {
        assertThat(getSubscriber().subscriberEvents).contains(EVENT);
      }
    
      @Override
      Subscriber createSubscriber() {
        return new Subscriber();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

      }
    
      public void testOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenInSubclassEvents).contains(EVENT);
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

      }
    
      public void testOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenInSubclassEvents).contains(EVENT);
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top