Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: pc/test/fakeaudiocapturemodule_unittest.cc

Issue 3020493002: Remove AudioDeviceObserver and make ADM not inherit from the Module interface.
Patch Set: linux build error Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pc/test/fakeaudiocapturemodule_unittest.cc
diff --git a/pc/test/fakeaudiocapturemodule_unittest.cc b/pc/test/fakeaudiocapturemodule_unittest.cc
index 312c4e8f969c3078864ff67e78031b76aaa3ea3a..0e7574f4c64a593334435d59ad3ac3c91051aa3d 100644
--- a/pc/test/fakeaudiocapturemodule_unittest.cc
+++ b/pc/test/fakeaudiocapturemodule_unittest.cc
@@ -133,14 +133,6 @@ class FakeAdmTest : public testing::Test,
size_t rec_buffer_bytes_;
};
-TEST_F(FakeAdmTest, TestProcess) {
- // Next process call must be some time in the future (or now).
- EXPECT_LE(0, fake_audio_capture_module_->TimeUntilNextProcess());
- // Process call updates TimeUntilNextProcess() but there are no guarantees on
- // timing so just check that Process can be called successfully.
- fake_audio_capture_module_->Process();
-}
-
TEST_F(FakeAdmTest, PlayoutTest) {
EXPECT_EQ(0, fake_audio_capture_module_->RegisterAudioCallback(this));

Powered by Google App Engine
This is Rietveld 408576698