src/media/audio/audio_core/test/api/audio_capturer_test.cc
// DiscardAllPacketsNoReply should fail, if async capture is in the process of stopping
DiscardAllPacketsNoReply should fail, if async capture is in the process of stopping
DiscardAllPacketsNoReply should fail if async capture is in the process of stopping
TEST_F(AudioCapturerTest, DISABLED_DiscardAllNoReply_AsyncCaptureStoppingShouldDisconnect) {
  SetFormat();
  SetUpPayloadBuffer();
  audio_capturer_.events().OnPacketProduced = AddCallback("OnPacketProduced");
  audio_capturer_->StartAsyncCapture(1600);
  ExpectCallback();
  audio_capturer_->StopAsyncCaptureNoReply();
  audio_capturer_->DiscardAllPacketsNoReply();
  ExpectDisconnect(audio_capturer_);
}
TEST_F ( AudioCapturerTest , DISABLED_DiscardAllNoReply_AsyncCaptureStoppingShouldDisconnect ) { SetFormat ( ) ; SetUpPayloadBuffer ( ) ; audio_capturer_ . events ( ) . OnPacketProduced = AddCallback ( " " ) ; audio_capturer_ -> StartAsyncCapture ( 1600 ) ; ExpectCallback ( ) ; audio_capturer_ -> StopAsyncCaptureNoReply ( ) ; audio_capturer_ -> DiscardAllPacketsNoReply ( ) ; ExpectDisconnect ( audio_capturer_ ) ; }
DiscardAllPacketsNoReply should fail, if async capture is in the process of stopping
DiscardAllPacketsNoReply should fail if async capture is in the process of stopping