Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 182428d0 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Fix unit test

Make sure test is acurate to the name.
Handling post merge review comment of
3a9f0171 leaudio: Improve some unit tests

Bug: 230107540
Test: atest BluetoothInstrumentationTests
Tag: #feature
Merged-In: Ifc426777cb5f42f459491fbd4683404ebd8ea233
Change-Id: Ifc426777cb5f42f459491fbd4683404ebd8ea233
(cherry picked from commit db3c1564)
parent 4675db11
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@
                "VND_SingleDev_TwoChanStereoSnk_TwoChanStereoSrc_32khz_60oct_R3_L22_1",
                "DualDev_OneChanMonoSnk_16_2_Server_Preferred",
                "SingleDev_OneChanStereoSnk_16_2_Server_Preferred",
                "SingleDev_TwoChanStereoSnk_16_2_Server_Preferred",
                "SingleDev_OneChanMonoSnk_16_2_Server_Preferred"
            ]
        },
+4 −4
Original line number Diff line number Diff line
@@ -726,10 +726,10 @@ class LeAudioAseConfigurationTest : public Test {
};

TEST_F(LeAudioAseConfigurationTest, test_mono_speaker_ringtone) {
  LeAudioDevice* mono_speaker = AddTestDevice(1, 1);
  LeAudioDevice* mono_speaker = AddTestDevice(1, 0);
  TestGroupAseConfigurationData data(
      {mono_speaker, kLeAudioCodecLC3ChannelCountSingleChannel,
       kLeAudioCodecLC3ChannelCountSingleChannel, 1, 1});
       kLeAudioCodecLC3ChannelCountSingleChannel, 1, 0});

  TestGroupAseConfiguration(LeAudioContextType::RINGTONE, &data, 1);
}
@@ -753,10 +753,10 @@ TEST_F(LeAudioAseConfigurationTest, test_mono_speaker_media) {
}

TEST_F(LeAudioAseConfigurationTest, test_bounded_headphones_ringtone) {
  LeAudioDevice* bounded_headphones = AddTestDevice(2, 1);
  LeAudioDevice* bounded_headphones = AddTestDevice(2, 0);
  TestGroupAseConfigurationData data(
      {bounded_headphones, kLeAudioCodecLC3ChannelCountTwoChannel,
       kLeAudioCodecLC3ChannelCountSingleChannel, 2, 1});
       kLeAudioCodecLC3ChannelCountSingleChannel, 2, 0});

  TestGroupAseConfiguration(LeAudioContextType::RINGTONE, &data, 1);
}