Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getTestSubscriberMethod (0.22 seconds)

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

      }
    
      public void testCreate() {
        Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod"));
        assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class);
    
        // a thread-safe method should not create a synchronized subscriber
        Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod"));
        assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      }
    
      public void testCreate() {
        Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod"));
        assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class);
    
        // a thread-safe method should not create a synchronized subscriber
        Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod"));
        assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top