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

Unified Diff: trunk/src/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc

Issue 217553002: Revert 260213 "Relanding Switched main WebRTC browser tests to u..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc (revision 260283)
+++ trunk/src/chrome/browser/media/chrome_webrtc_audio_quality_browsertest.cc (working copy)
@@ -94,7 +94,7 @@
public:
WebRtcAudioQualityBrowserTest() {}
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
- test::PeerConnectionServerRunner::KillAllPeerConnectionServers();
+ PeerConnectionServerRunner::KillAllPeerConnectionServersOnCurrentSystem();
DetectErrorsInJavaScript(); // Look for errors in our rather complex js.
}
@@ -137,10 +137,10 @@
ExecuteJavascript("negotiateCall()", from_tab));
// Ensure the call gets up on both sides.
- EXPECT_TRUE(test::PollingWaitUntil("getPeerConnectionReadyState()",
- "active", from_tab));
- EXPECT_TRUE(test::PollingWaitUntil("getPeerConnectionReadyState()",
- "active", to_tab));
+ EXPECT_TRUE(PollingWaitUntil("getPeerConnectionReadyState()",
+ "active", from_tab));
+ EXPECT_TRUE(PollingWaitUntil("getPeerConnectionReadyState()",
+ "active", to_tab));
}
base::FilePath CreateTemporaryWaveFile() {
@@ -152,7 +152,7 @@
return wav_filename;
}
- test::PeerConnectionServerRunner peerconnection_server_;
+ PeerConnectionServerRunner peerconnection_server_;
};
class AudioRecorder {
@@ -419,7 +419,7 @@
// because the ready state is ok on both sides. We sleep a bit between call
// establishment and playing to avoid cutting of the beginning of the audio
// file.
- test::SleepInJavascript(left_tab, 2000);
+ SleepInJavascript(left_tab, 2000);
base::FilePath recording = CreateTemporaryWaveFile();

Powered by Google App Engine
This is Rietveld 408576698