diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-10-28 18:23:44 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-10-28 18:23:44 +0000 |
commit | 501c667016e837ab482081461a41885fb4ac8b1d (patch) | |
tree | f4436352e2750fefc693d7f05f7f6e06279673a2 | |
parent | 13851aacc93f3ce962c5f1180fb03e54e3baf52a (diff) | |
parent | 1fcb67167802ca64533d1211992023d4fb03fa90 (diff) | |
download | bt-501c667016e837ab482081461a41885fb4ac8b1d.tar.gz |
Merge "leaudio: Fix unit tests"
-rw-r--r-- | bta/le_audio/le_audio_client_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bta/le_audio/le_audio_client_test.cc b/bta/le_audio/le_audio_client_test.cc index 7a0b31858..8158ef299 100644 --- a/bta/le_audio/le_audio_client_test.cc +++ b/bta/le_audio/le_audio_client_test.cc @@ -1847,7 +1847,7 @@ TEST_F(UnicastTestNoInit, LoadStoredEarbudsCsisGrouped) { .Times(1); ON_CALL(mock_btm_interface_, BTM_IsEncrypted(test_address0, _)) .WillByDefault(DoAll(Return(true))); - EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address0, true, _)) + EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address0, false, _)) .Times(1); // Expect stored device1 to connect automatically @@ -1856,7 +1856,7 @@ TEST_F(UnicastTestNoInit, LoadStoredEarbudsCsisGrouped) { .Times(1); ON_CALL(mock_btm_interface_, BTM_IsEncrypted(test_address1, _)) .WillByDefault(DoAll(Return(true))); - EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address1, true, _)) + EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address1, false, _)) .Times(1); ON_CALL(mock_groups_module_, GetGroupId(_, _)) @@ -1942,7 +1942,7 @@ TEST_F(UnicastTestNoInit, LoadStoredEarbudsCsisGroupedDifferently) { .Times(1); ON_CALL(mock_btm_interface_, BTM_IsEncrypted(test_address0, _)) .WillByDefault(DoAll(Return(true))); - EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address0, true, _)) + EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address0, false, _)) .Times(1); // Expect stored device1 to NOT connect automatically @@ -1951,7 +1951,7 @@ TEST_F(UnicastTestNoInit, LoadStoredEarbudsCsisGroupedDifferently) { .Times(0); ON_CALL(mock_btm_interface_, BTM_IsEncrypted(test_address1, _)) .WillByDefault(DoAll(Return(true))); - EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address1, true, _)) + EXPECT_CALL(mock_gatt_interface_, Open(gatt_if, test_address1, false, _)) .Times(0); // Initialize |