Merge "Update ConnectivityDiagnosticsCallback function name." into rvc-dev am: ed28f2db59

Change-Id: I42c78c2626d1592bd5a0da215579f55bf04dc088
This commit is contained in:
Automerger Merge Worker
2020-03-17 15:48:00 +00:00
4 changed files with 12 additions and 11 deletions

View File

@@ -304,12 +304,12 @@ public class ConnectivityDiagnosticsManagerTest {
}
@Test
public void testConnectivityDiagnosticsCallbackOnConnectivityReport() {
mBinder.onConnectivityReport(createSampleConnectivityReport());
public void testConnectivityDiagnosticsCallbackOnConnectivityReportAvailable() {
mBinder.onConnectivityReportAvailable(createSampleConnectivityReport());
// The callback will be invoked synchronously by inline executor. Immediately check the
// latch without waiting.
verify(mCb).onConnectivityReport(eq(createSampleConnectivityReport()));
verify(mCb).onConnectivityReportAvailable(eq(createSampleConnectivityReport()));
}
@Test