Merge "Update ConnectivityDiagnosticsCallback function name." into rvc-dev am: ed28f2db59
Change-Id: I42c78c2626d1592bd5a0da215579f55bf04dc088
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user