Merge "Update api name"

am: f82f807e03

Change-Id: I20240365a45eb27bcfed019ac77e4e6bfe09d24d
This commit is contained in:
hughchen
2020-01-19 20:25:49 -08:00
committed by android-build-merger
5 changed files with 6 additions and 7 deletions

View File

@@ -22,7 +22,6 @@ import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyBoolean;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
@@ -103,7 +102,7 @@ public class BluetoothDetailsButtonsControllerTest extends BluetoothDetailsContr
verify(mButtonsPref).setButton2Text(R.string.bluetooth_device_context_connect);
mConnectButton.callOnClick();
verify(mCachedDevice).connect(eq(true));
verify(mCachedDevice).connect();
}
@Test
@@ -119,7 +118,7 @@ public class BluetoothDetailsButtonsControllerTest extends BluetoothDetailsContr
// Click the button and make sure that connect (not disconnect) gets called.
mConnectButton.callOnClick();
verify(mCachedDevice).connect(eq(true));
verify(mCachedDevice).connect();
}
@Test

View File

@@ -121,6 +121,6 @@ public class SavedBluetoothDeviceUpdaterTest {
public void onClick_Preference_setConnect() {
mBluetoothDeviceUpdater.onPreferenceClick(mPreference);
verify(mCachedBluetoothDevice).connect(true);
verify(mCachedBluetoothDevice).connect();
}
}