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

Unified Diff: content/browser/webrtc/webrtc_audio_browsertest.cc

Issue 2204773004: Rename webrtc_browsertest_{audio, data} to agree with the class name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | content/browser/webrtc/webrtc_browsertest_audio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webrtc/webrtc_audio_browsertest.cc
diff --git a/content/browser/webrtc/webrtc_browsertest_audio.cc b/content/browser/webrtc/webrtc_audio_browsertest.cc
similarity index 84%
rename from content/browser/webrtc/webrtc_browsertest_audio.cc
rename to content/browser/webrtc/webrtc_audio_browsertest.cc
index cb7213a02869a1d6ec95cbe17baefc32efea20da..2253e905c7ee3b041cd94265ef670526e22134a0 100644
--- a/content/browser/webrtc/webrtc_browsertest_audio.cc
+++ b/content/browser/webrtc/webrtc_audio_browsertest.cc
@@ -21,17 +21,17 @@ namespace content {
#if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER)
// Renderer crashes under Android ASAN: https://crbug.com/408496.
-#define MAYBE_WebRtcBrowserAudioTest DISABLED_WebRtcBrowserAudioTest
+#define MAYBE_WebRtcAudioBrowserTest DISABLED_WebRtcAudioBrowserTest
#else
-#define MAYBE_WebRtcBrowserAudioTest WebRtcBrowserAudioTest
+#define MAYBE_WebRtcAudioBrowserTest WebRtcAudioBrowserTest
#endif
// This class tests the scenario when permission to access mic or camera is
// granted.
-class MAYBE_WebRtcBrowserAudioTest : public WebRtcContentBrowserTest {
+class MAYBE_WebRtcAudioBrowserTest : public WebRtcContentBrowserTest {
public:
- MAYBE_WebRtcBrowserAudioTest() {}
- ~MAYBE_WebRtcBrowserAudioTest() override {}
+ MAYBE_WebRtcAudioBrowserTest() {}
+ ~MAYBE_WebRtcAudioBrowserTest() override {}
void SetUpCommandLine(base::CommandLine* command_line) override {
WebRtcContentBrowserTest::SetUpCommandLine(command_line);
@@ -62,55 +62,55 @@ class MAYBE_WebRtcBrowserAudioTest : public WebRtcContentBrowserTest {
}
};
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
CanMakeVideoCallAndThenRenegotiateToAudio) {
MakeAudioDetectingPeerConnectionCall(
"callAndRenegotiateToAudio({audio: true, video:true}, {audio: true});");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndEnsureAudioIsPlaying) {
MakeAudioDetectingPeerConnectionCall(
"callAndEnsureAudioIsPlaying({audio:true, video:true});");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EstablishAudioOnlyCallAndEnsureAudioIsPlaying) {
MakeAudioDetectingPeerConnectionCall(
"callAndEnsureAudioIsPlaying({audio:true});");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EstablishIsac16KCallAndEnsureAudioIsPlaying) {
MakeAudioDetectingPeerConnectionCall(
"callWithIsac16KAndEnsureAudioIsPlaying({audio:true});");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndVerifyRemoteMutingWorks) {
MakeAudioDetectingPeerConnectionCall(
"callAndEnsureRemoteAudioTrackMutingWorks();");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndVerifyLocalMutingWorks) {
MakeAudioDetectingPeerConnectionCall(
"callAndEnsureLocalAudioTrackMutingWorks();");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EnsureLocalVideoMuteDoesntMuteAudio) {
MakeAudioDetectingPeerConnectionCall(
"callAndEnsureLocalVideoMutingDoesntMuteAudio();");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EnsureRemoteVideoMuteDoesntMuteAudio) {
MakeAudioDetectingPeerConnectionCall(
"callAndEnsureRemoteVideoMutingDoesntMuteAudio();");
}
-IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserAudioTest,
+IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioBrowserTest,
EstablishAudioVideoCallAndVerifyUnmutingWorks) {
MakeAudioDetectingPeerConnectionCall(
"callAndEnsureAudioTrackUnmutingWorks();");
« no previous file with comments | « no previous file | content/browser/webrtc/webrtc_browsertest_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698