| Index: webrtc/modules/audio_device/android/audio_device_unittest.cc
|
| diff --git a/webrtc/modules/audio_device/android/audio_device_unittest.cc b/webrtc/modules/audio_device/android/audio_device_unittest.cc
|
| index 087bb2d3868c3680d69351bbd33e9f87fd9a51fd..f93763b0841df23ab92fde076bf76183803b4458 100644
|
| --- a/webrtc/modules/audio_device/android/audio_device_unittest.cc
|
| +++ b/webrtc/modules/audio_device/android/audio_device_unittest.cc
|
| @@ -831,6 +831,15 @@ TEST_F(AudioDeviceTest, StartStopPlayout) {
|
| StopPlayout();
|
| }
|
|
|
| +// Tests that recording can be initiated, started and stopped. No audio callback
|
| +// is registered in this test.
|
| +TEST_F(AudioDeviceTest, StartStopRecording) {
|
| + StartRecording();
|
| + StopRecording();
|
| + StartRecording();
|
| + StopRecording();
|
| +}
|
| +
|
| // Verify that calling StopPlayout() will leave us in an uninitialized state
|
| // which will require a new call to InitPlayout(). This test does not call
|
| // StartPlayout() while being uninitialized since doing so will hit a
|
|
|