Searched refs:expectedNumOfEvents (Results 1 – 2 of 2) sorted by relevance
1570 int expectedNumOfEvents = 3; in testSendSatelliteDatagram_failure() local1571 assertTrue(callback.waitUntilOnSendDatagramStateChanged(expectedNumOfEvents)); in testSendSatelliteDatagram_failure()1572 assertThat(callback.getNumOfSendDatagramStateChanges()).isEqualTo(expectedNumOfEvents); in testSendSatelliteDatagram_failure()1661 int expectedNumOfEvents = 1; in testSendMultipleSatelliteDatagrams_success() local1662 assertTrue(callback.waitUntilOnSendDatagramStateChanged(expectedNumOfEvents)); in testSendMultipleSatelliteDatagrams_success()1686 expectedNumOfEvents = 2; in testSendMultipleSatelliteDatagrams_success()1687 assertTrue(callback.waitUntilOnSendDatagramStateChanged(expectedNumOfEvents)); in testSendMultipleSatelliteDatagrams_success()1712 expectedNumOfEvents = 3; in testSendMultipleSatelliteDatagrams_success()1713 assertTrue(callback.waitUntilOnSendDatagramStateChanged(expectedNumOfEvents)); in testSendMultipleSatelliteDatagrams_success()1957 int expectedNumOfEvents = 2; in testReceiveMultipleSatelliteDatagrams() local[all …]
363 public boolean waitForModeChanged(int expectedNumOfEvents) { in waitForModeChanged() argument364 for (int i = 0; i < expectedNumOfEvents; i++) { in waitForModeChanged()