Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java195 StringCatcher catcher1 = new StringCatcher(); in testUnregister() local
198 bus.unregister(catcher1); in testUnregister()
204 bus.register(catcher1); in testUnregister()
213 assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents()); in testUnregister()
218 bus.unregister(catcher1); in testUnregister()
222 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()
226 bus.unregister(catcher1); in testUnregister()
235 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()
/external/guava/android/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java195 StringCatcher catcher1 = new StringCatcher(); in testUnregister() local
198 bus.unregister(catcher1); in testUnregister()
204 bus.register(catcher1); in testUnregister()
213 assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents()); in testUnregister()
218 bus.unregister(catcher1); in testUnregister()
222 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()
226 bus.unregister(catcher1); in testUnregister()
235 "Shouldn't catch any more events when unregistered.", expectedEvents, catcher1.getEvents()); in testUnregister()