Searched refs:networkEvents (Results 1 – 3 of 3) sorted by relevance
309 private void verifyNetworkLogs(List<NetworkEvent> networkEvents, int eventsExpected) { in verifyNetworkLogs() argument311 + ((networkEvents == null) ? "null" : String.valueOf(networkEvents.size()))); in verifyNetworkLogs()313 assertTrue(Math.abs(eventsExpected - networkEvents.size()) <= 150); in verifyNetworkLogs()319 for (int i = 0; i < networkEvents.size(); i++) { in verifyNetworkLogs()320 final NetworkEvent currentEvent = networkEvents.get(i); in verifyNetworkLogs()323 assertTrue(currentEvent.getTimestamp() >= networkEvents.get(i - 1).getTimestamp()); in verifyNetworkLogs()327 assertTrue(currentEvent.getId() == (networkEvents.get(i - 1).getId() + 1)); in verifyNetworkLogs()
118 private void verifyNetworkLogs(List<NetworkEvent> networkEvents) { in verifyNetworkLogs() argument121 for (final NetworkEvent currentEvent : networkEvents) { in verifyNetworkLogs()
136 private void verifyNetworkLogs(List<NetworkEvent> networkEvents) { in verifyNetworkLogs() argument139 for (final NetworkEvent currentEvent : networkEvents) { in verifyNetworkLogs()