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

Commit 9a30ec87 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

audio VTS: A follow-up to latency mode APIs tests

Provide instantiation statements for the new tests.

Bug: 210803914
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: I4ed95be6e50a9dcd1362a87ec120e66abea659b6
parent 079315ba
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ TEST_P(AudioHidlDeviceTest, SetConnectedState_7_1) {
    // initial state. To workaround this, destroy the HAL at the end of this test.
    ASSERT_TRUE(resetDevice());
}

class LatencyModeOutputStreamTest : public OutputStreamTest {
  protected:
    void SetUp() override {
@@ -95,3 +96,8 @@ TEST_P(LatencyModeOutputStreamTest, SetLatencyModeCallback) {
    EXPECT_OK(stream->setLatencyModeCallback(new MockOutLatencyModeCallback));
    EXPECT_OK(stream->setLatencyModeCallback(nullptr));
}

INSTANTIATE_TEST_CASE_P(LatencyModeOutputStream, LatencyModeOutputStreamTest,
                        ::testing::ValuesIn(getOutputDeviceSingleConfigParameters()),
                        &DeviceConfigParameterToString);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(LatencyModeOutputStreamTest);