- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SubscribesToPrimitive (0.12 sec)
-
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
bus.post("hello"); assertEquals(1, calls.get()); } public void testPrimitiveSubscribeFails() { class SubscribesToPrimitive { @Subscribe public void toInt(int i) {} } assertThrows(IllegalArgumentException.class, () -> bus.register(new SubscribesToPrimitive())); } /** Records thrown exception information. */ private static final class RecordingSubscriberExceptionHandler
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0)