Home
last modified time | relevance | path

Searched refs:catcher2 (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java196 StringCatcher catcher2 = new StringCatcher(); in testUnregister() local
206 bus.register(catcher2); in testUnregister()
216 "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents()); in testUnregister()
223 assertEquals("Two correct events should be delivered.", expectedEvents, catcher2.getEvents()); in testUnregister()
232 bus.unregister(catcher2); in testUnregister()
237 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); in testUnregister()
/external/guava/android/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java196 StringCatcher catcher2 = new StringCatcher(); in testUnregister() local
206 bus.register(catcher2); in testUnregister()
216 "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents()); in testUnregister()
223 assertEquals("Two correct events should be delivered.", expectedEvents, catcher2.getEvents()); in testUnregister()
232 bus.unregister(catcher2); in testUnregister()
237 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents()); in testUnregister()