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

Unified Diff: webrtc/modules/audio_processing/vad/pitch_based_vad_unittest.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. 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
Index: webrtc/modules/audio_processing/vad/pitch_based_vad_unittest.cc
diff --git a/webrtc/modules/audio_processing/vad/pitch_based_vad_unittest.cc b/webrtc/modules/audio_processing/vad/pitch_based_vad_unittest.cc
index 5d820951351fc06d738455ed34ab473882506e05..43e027a49a72806502fb12d72dc8fe41c994df3f 100644
--- a/webrtc/modules/audio_processing/vad/pitch_based_vad_unittest.cc
+++ b/webrtc/modules/audio_processing/vad/pitch_based_vad_unittest.cc
@@ -24,22 +24,22 @@ TEST(PitchBasedVadTest, VoicingProbabilityTest) {
std::string spectral_peak_file_name =
test::ResourcePath("audio_processing/agc/agc_spectral_peak", "dat");
FILE* spectral_peak_file = fopen(spectral_peak_file_name.c_str(), "rb");
- ASSERT_TRUE(spectral_peak_file != NULL);
+ ASSERT_TRUE(spectral_peak_file != nullptr);
std::string pitch_gain_file_name =
test::ResourcePath("audio_processing/agc/agc_pitch_gain", "dat");
FILE* pitch_gain_file = fopen(pitch_gain_file_name.c_str(), "rb");
- ASSERT_TRUE(pitch_gain_file != NULL);
+ ASSERT_TRUE(pitch_gain_file != nullptr);
std::string pitch_lag_file_name =
test::ResourcePath("audio_processing/agc/agc_pitch_lag", "dat");
FILE* pitch_lag_file = fopen(pitch_lag_file_name.c_str(), "rb");
- ASSERT_TRUE(pitch_lag_file != NULL);
+ ASSERT_TRUE(pitch_lag_file != nullptr);
std::string voicing_prob_file_name =
test::ResourcePath("audio_processing/agc/agc_voicing_prob", "dat");
FILE* voicing_prob_file = fopen(voicing_prob_file_name.c_str(), "rb");
- ASSERT_TRUE(voicing_prob_file != NULL);
+ ASSERT_TRUE(voicing_prob_file != nullptr);
PitchBasedVad vad_;

Powered by Google App Engine
This is Rietveld 408576698