src/media/audio/drivers/test/admin_test.cc
// Verify that no position notifications arrive if notifications_per_ring is 0.
Verify that no position notifications arrive if notifications_per_ring is 0.
Verify that no position notifications arrive if notifications_per_ring is 0 .
TEST_P(AdminTest, PositionNotifyNone) {
  RequestFormats();
  UseMaxFormat();
  RequestBuffer(8000, 0);
  SetFailingPositionNotification();
  RequestStart();
  zx::nanosleep(zx::deadline_after(zx::msec(250)));
  RunLoopUntilIdle();
}
TEST_P ( AdminTest , PositionNotifyNone ) { RequestFormats ( ) ; UseMaxFormat ( ) ; RequestBuffer ( 8000 , 0 ) ; SetFailingPositionNotification ( ) ; RequestStart ( ) ; zx :: nanosleep ( zx :: deadline_after ( zx :: msec ( 250 ) ) ) ; RunLoopUntilIdle ( ) ; }
Verify that no position notifications arrive if notifications_per_ring is 0.
Verify that no position notifications arrive if notifications_per_ring is 0 .
// We should NOT receive any position notifications. Wait a bit to give them a chance to run.