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

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

Issue 2730713002: Fix WebRtcAudioDebugRecordingsBrowserTest. (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc
diff --git a/content/browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc b/content/browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc
index 4a8c1dd96b98fb99e68676b4c2d88f8f2715babc..12a74d52cb29de2bccda83d35865f7cb3670df1f 100644
--- a/content/browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc
+++ b/content/browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc
@@ -153,7 +153,7 @@ IN_PROC_BROWSER_TEST_F(WebRtcAudioDebugRecordingsBrowserTest,
int64_t file_size = 0;
EXPECT_TRUE(base::GetFileSize(file_path, &file_size));
EXPECT_GT(file_size, 0);
- EXPECT_TRUE(base::DeleteFile(file_path, false));
+ base::DeleteFile(file_path, false);
// Verify that the expected input audio file exists and contains some data.
file_path = GetExpectedInputAudioFileName(base_file_path, render_process_id);
@@ -161,7 +161,7 @@ IN_PROC_BROWSER_TEST_F(WebRtcAudioDebugRecordingsBrowserTest,
file_size = 0;
EXPECT_TRUE(base::GetFileSize(file_path, &file_size));
EXPECT_GT(file_size, kWaveHeaderSizeBytes);
- EXPECT_TRUE(base::DeleteFile(file_path, false));
+ base::DeleteFile(file_path, false);
// Verify that the expected output audio files exists and contains some data.
// Two files are expected, one for each peer in the call.
@@ -172,12 +172,12 @@ IN_PROC_BROWSER_TEST_F(WebRtcAudioDebugRecordingsBrowserTest,
file_size = 0;
EXPECT_TRUE(base::GetFileSize(file_path, &file_size));
EXPECT_GT(file_size, kWaveHeaderSizeBytes);
- EXPECT_TRUE(base::DeleteFile(file_path, false));
+ base::DeleteFile(file_path, false);
}
// Verify that no other files exist and remove temp dir.
EXPECT_TRUE(base::IsDirectoryEmpty(temp_dir_path));
- EXPECT_TRUE(base::DeleteFile(temp_dir_path, false));
+ base::DeleteFile(temp_dir_path, false);
base::ThreadRestrictions::SetIOAllowed(prev_io_allowed);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698