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

Unified Diff: webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc

Issue 2513363004: WebRTC: Replace ProjectRootPath by ResourcePath (Closed)
Patch Set: Created 4 years, 1 month 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: webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc
diff --git a/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc b/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc
index 34e2bb0fbdf1213c0a7682c7e05193500939e4f7..c3dba8397912596b920888f4df6fa8ea063d8261 100644
--- a/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc
+++ b/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.h"
BeforeStreamingFixture::BeforeStreamingFixture()
@@ -15,8 +16,8 @@ BeforeStreamingFixture::BeforeStreamingFixture()
transport_(NULL) {
EXPECT_GE(channel_, 0);
- fake_microphone_input_file_ = resource_manager_.long_audio_file_path();
- EXPECT_FALSE(fake_microphone_input_file_.empty());
+ fake_microphone_input_file_ =
+ webrtc::test::ResourcePath("voice_engine/audio_long16", "pcm");
SetUpLocalPlayback();
RestartFakeMicrophone();

Powered by Google App Engine
This is Rietveld 408576698