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

Side by Side Diff: webrtc/modules/audio_coding/neteq/neteq_unittest.cc

Issue 1922103002: Remove "This file includes unit tests" comments. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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 | webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 /*
12 * This file includes unit tests for NetEQ.
13 */
14
15 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" 11 #include "webrtc/modules/audio_coding/neteq/include/neteq.h"
16 12
17 #include <math.h> 13 #include <math.h>
18 #include <stdlib.h> 14 #include <stdlib.h>
19 #include <string.h> // memset 15 #include <string.h> // memset
20 16
21 #include <algorithm> 17 #include <algorithm>
22 #include <memory> 18 #include <memory>
23 #include <set> 19 #include <set>
24 #include <string> 20 #include <string>
(...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 timestamp += kSamples; 1571 timestamp += kSamples;
1576 1572
1577 // Pull audio once. 1573 // Pull audio once.
1578 ASSERT_EQ(0, neteq_->GetAudio(&out_frame_)); 1574 ASSERT_EQ(0, neteq_->GetAudio(&out_frame_));
1579 ASSERT_EQ(kBlockSize16kHz, out_frame_.samples_per_channel_); 1575 ASSERT_EQ(kBlockSize16kHz, out_frame_.samples_per_channel_);
1580 } 1576 }
1581 // Verify speech output. 1577 // Verify speech output.
1582 EXPECT_EQ(AudioFrame::kNormalSpeech, out_frame_.speech_type_); 1578 EXPECT_EQ(AudioFrame::kNormalSpeech, out_frame_.speech_type_);
1583 } 1579 }
1584 } // namespace webrtc 1580 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_packet_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698