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

Side by Side Diff: content/browser/media/webrtc_browsertest.cc

Issue 401073002: Repair WebRtcBrowserTest names in drmemory exclusions file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually fix exclusions file Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/process/process_handle.h" 7 #include "base/process/process_handle.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/threading/platform_thread.h" 10 #include "base/threading/platform_thread.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 #define MAYBE_CanSetupDefaultVideoCall CanSetupDefaultVideoCall 108 #define MAYBE_CanSetupDefaultVideoCall CanSetupDefaultVideoCall
109 #endif 109 #endif
110 110
111 // These tests will make a complete PeerConnection-based call and verify that 111 // These tests will make a complete PeerConnection-based call and verify that
112 // video is playing for the call. 112 // video is playing for the call.
113 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_CanSetupDefaultVideoCall) { 113 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_CanSetupDefaultVideoCall) {
114 MakeTypicalPeerConnectionCall( 114 MakeTypicalPeerConnectionCall(
115 "callAndExpectResolution({video: true}, 640, 480);"); 115 "callAndExpectResolution({video: true}, 640, 480);");
116 } 116 }
117 117
118 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, CanSetupVideoCallWith1To1AspecRatio) { 118 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
119 CanSetupVideoCallWith1To1AspectRatio) {
119 const std::string javascript = 120 const std::string javascript =
120 "callAndExpectResolution({video: {mandatory: {minWidth: 320," 121 "callAndExpectResolution({video: {mandatory: {minWidth: 320,"
121 " maxWidth: 320, minHeight: 320, maxHeight: 320}}}, 320, 320);"; 122 " maxWidth: 320, minHeight: 320, maxHeight: 320}}}, 320, 320);";
122 MakeTypicalPeerConnectionCall(javascript); 123 MakeTypicalPeerConnectionCall(javascript);
123 } 124 }
124 125
125 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, 126 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
126 CanSetupVideoCallWith16To9AspecRatio) { 127 CanSetupVideoCallWith16To9AspectRatio) {
127 const std::string javascript = 128 const std::string javascript =
128 "callAndExpectResolution({video: {mandatory: {minWidth: 640," 129 "callAndExpectResolution({video: {mandatory: {minWidth: 640,"
129 " maxWidth: 640, minAspectRatio: 1.777}}}, 640, 360);"; 130 " maxWidth: 640, minAspectRatio: 1.777}}}, 640, 360);";
130 MakeTypicalPeerConnectionCall(javascript); 131 MakeTypicalPeerConnectionCall(javascript);
131 } 132 }
132 133
133 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, 134 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
134 CanSetupVideoCallWith4To3AspecRatio) { 135 CanSetupVideoCallWith4To3AspectRatio) {
135 const std::string javascript = 136 const std::string javascript =
136 "callAndExpectResolution({video: {mandatory: {minWidth: 960," 137 "callAndExpectResolution({video: {mandatory: {minWidth: 960,"
137 "maxAspectRatio: 1.333}}}, 960, 720);"; 138 "maxAspectRatio: 1.333}}}, 960, 720);";
138 MakeTypicalPeerConnectionCall(javascript); 139 MakeTypicalPeerConnectionCall(javascript);
139 } 140 }
140 141
141 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) 142 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY)
142 // Timing out on ARM linux, see http://crbug.com/240376 143 // Timing out on ARM linux, see http://crbug.com/240376
143 #define MAYBE_CanSetupAudioAndVideoCall DISABLED_CanSetupAudioAndVideoCall 144 #define MAYBE_CanSetupAudioAndVideoCall DISABLED_CanSetupAudioAndVideoCall
144 #else 145 #else
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 EXPECT_TRUE(base::PathExists(unique_dump_file)); 529 EXPECT_TRUE(base::PathExists(unique_dump_file));
529 int64 file_size = 0; 530 int64 file_size = 0;
530 EXPECT_TRUE(base::GetFileSize(unique_dump_file, &file_size)); 531 EXPECT_TRUE(base::GetFileSize(unique_dump_file, &file_size));
531 EXPECT_GT(file_size, 0); 532 EXPECT_GT(file_size, 0);
532 533
533 base::DeleteFile(unique_dump_file, false); 534 base::DeleteFile(unique_dump_file, false);
534 } 535 }
535 } 536 }
536 537
537 } // namespace content 538 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698