- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testSubscriber (0.24 sec)
-
android/guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java
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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java
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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 1.6K bytes - Viewed (0) -
internal/pubsub/pubsub_test.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package pubsub import ( "testing" "time" ) func TestSubscribe(t *testing.T) { ps := New[Maskable, Mask](2) ch1 := make(chan Maskable, 1) ch2 := make(chan Maskable, 1) doneCh := make(chan struct{}) defer close(doneCh)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (0)