Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for getSubscriber (0.1 seconds)

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

      }
    
      public void testDeclaredIn1AnnotatedIn2() {
        assertThat(getSubscriber().declaredIn1AnnotatedIn2Events).contains(EVENT);
      }
    
      public void testDeclaredIn1AnnotatedInClass() {
        assertThat(getSubscriber().declaredIn1AnnotatedInClassEvents).contains(EVENT);
      }
    
      public void testDeclaredIn2AnnotatedInClass() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

      }
    
      public void testNotOverriddenInSubclass() {
        assertThat(getSubscriber().notOverriddenInSubclassEvents).contains(EVENT);
      }
    
      public void testOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenNotAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      public void testDifferentlyOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().differentlyOverriddenNotAnnotatedInSubclassGoodEvents)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

      }
    
      public void testNotOverriddenInSubclass() {
        assertThat(getSubscriber().notOverriddenInSubclassEvents).contains(EVENT);
      }
    
      public void testOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenNotAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      public void testDifferentlyOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().differentlyOverriddenNotAnnotatedInSubclassGoodEvents)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

      public void testNeitherOverriddenNorAnnotated() {
        assertThat(getSubscriber().neitherOverriddenNorAnnotatedEvents).isEmpty();
      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

      public void testNeitherOverriddenNorAnnotated() {
        assertThat(getSubscriber().neitherOverriddenNorAnnotatedEvents).isEmpty();
      }
    
      public void testOverriddenInSubclassNowhereAnnotated() {
        assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty();
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

        @Subscribe
        public void subscriber(Object o) {
          subscriberEvents.add(o);
        }
      }
    
      public void testNonSubscriber() {
        assertThat(getSubscriber().nonSubscriberEvents).isEmpty();
      }
    
      public void testSubscriber() {
        assertThat(getSubscriber().subscriberEvents).contains(EVENT);
      }
    
      @Override
      Subscriber createSubscriber() {
        return new Subscriber();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

          overriddenInSubclassEvents.add(o);
        }
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      public void testOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenInSubclassEvents).contains(EVENT);
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

      /** Returns the event object that caused the subscriber to throw. */
      public Object getEvent() {
        return event;
      }
    
      /** Returns the object context that the subscriber was called on. */
      public Object getSubscriber() {
        return subscriber;
      }
    
      /** Returns the subscribed method that threw the exception. */
      public Method getSubscriberMethod() {
        return subscriberMethod;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
            subscriber.getClass().getMethod("throwExceptionOn", String.class),
            handler.context.getSubscriberMethod());
      }
    
    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)
Back to Top