src/media/audio/drivers/test/admin_test.cc
// Verify that no position notifications arrive after stop.
Verify that no position notifications arrive after stop.
Verify that no position notifications arrive after stop .
TEST_P(AdminTest, NoPositionNotifyAfterStop) {
  RequestFormats();
  UseMaxFormat();
  RequestBuffer(8000, 32);
  SetPositionNotification();
  RequestStart();
  ExpectPositionNotifyCount(3);
  RequestStopAndExpectNoPositionNotifications();
}
TEST_P ( AdminTest , NoPositionNotifyAfterStop ) { RequestFormats ( ) ; UseMaxFormat ( ) ; RequestBuffer ( 8000 , 32 ) ; SetPositionNotification ( ) ; RequestStart ( ) ; ExpectPositionNotifyCount ( 3 ) ; RequestStopAndExpectNoPositionNotifications ( ) ; }
Verify that no position notifications arrive after stop.
Verify that no position notifications arrive after stop .
// After Stop is called, no position notification should be received. // To validate this without any race windows: from within the next position notification itself, // we call Stop and register a position notification that FAILs if called.