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

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

Issue 2963673002: Disable some Opus tests pending an update (Closed)
Patch Set: Created 3 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 | « webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc ('k') | no next file » | 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
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 464 }
465 465
466 #if !defined(WEBRTC_IOS) && !defined(WEBRTC_ANDROID) && \ 466 #if !defined(WEBRTC_IOS) && !defined(WEBRTC_ANDROID) && \
467 defined(WEBRTC_NETEQ_UNITTEST_BITEXACT) && \ 467 defined(WEBRTC_NETEQ_UNITTEST_BITEXACT) && \
468 defined(WEBRTC_CODEC_OPUS) && \ 468 defined(WEBRTC_CODEC_OPUS) && \
469 !WEBRTC_OPUS_SUPPORT_120MS_PTIME 469 !WEBRTC_OPUS_SUPPORT_120MS_PTIME
470 #define MAYBE_TestOpusBitExactness TestOpusBitExactness 470 #define MAYBE_TestOpusBitExactness TestOpusBitExactness
471 #else 471 #else
472 #define MAYBE_TestOpusBitExactness DISABLED_TestOpusBitExactness 472 #define MAYBE_TestOpusBitExactness DISABLED_TestOpusBitExactness
473 #endif 473 #endif
474 TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) { 474 TEST_F(NetEqDecodingTest, DISABLED_TestOpusBitExactness) {
475 const std::string input_rtp_file = 475 const std::string input_rtp_file =
476 webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp"); 476 webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp");
477 477
478 const std::string output_checksum = PlatformChecksum( 478 const std::string output_checksum = PlatformChecksum(
479 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", 479 "6237dd113ad80d7764fe4c90b55b2ec035eae64e",
480 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", 480 "6237dd113ad80d7764fe4c90b55b2ec035eae64e",
481 "6237dd113ad80d7764fe4c90b55b2ec035eae64e", 481 "6237dd113ad80d7764fe4c90b55b2ec035eae64e",
482 "6237dd113ad80d7764fe4c90b55b2ec035eae64e"); 482 "6237dd113ad80d7764fe4c90b55b2ec035eae64e");
483 483
484 const std::string network_stats_checksum = 484 const std::string network_stats_checksum =
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 // Pull out data once. 1626 // Pull out data once.
1627 AudioFrame output; 1627 AudioFrame output;
1628 bool muted; 1628 bool muted;
1629 ASSERT_EQ(0, neteq_->GetAudio(&output, &muted)); 1629 ASSERT_EQ(0, neteq_->GetAudio(&output, &muted));
1630 1630
1631 EXPECT_EQ(std::vector<uint32_t>({kRtpTimestamp1, kRtpTimestamp2}), 1631 EXPECT_EQ(std::vector<uint32_t>({kRtpTimestamp1, kRtpTimestamp2}),
1632 neteq_->LastDecodedTimestamps()); 1632 neteq_->LastDecodedTimestamps());
1633 } 1633 }
1634 1634
1635 } // namespace webrtc 1635 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698