diff --git a/DEPS b/DEPS index 34985734c5..2895c4c53c 100644 --- a/DEPS +++ b/DEPS @@ -14,7 +14,7 @@ vars = { # External resources like video and audio files used for testing purposes. # Downloaded on demand when needed. - "webrtc_resources_revision": "1", + "webrtc_resources_revision": "2", } # NOTE: Prefer revision numbers to tags for svn deps. diff --git a/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc b/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc index 45f5b9613b..b3a83d2500 100644 --- a/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc +++ b/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc @@ -335,13 +335,21 @@ void NetEqDecodingTest::DecodeAndCheckStats(const std::string &rtp_file, #if defined(WEBRTC_LINUX) && defined(WEBRTC_ARCH_64_BITS) TEST_F(NetEqDecodingTest, TestBitExactness) { const std::string kInputRtpFile = webrtc::test::ProjectRootPath() + - "test/data/audio_coding/universal.rtp"; + "resources/neteq_universal.rtp"; const std::string kInputRefFile = webrtc::test::ProjectRootPath() + - "test/data/audio_coding/universal_ref.pcm"; + "resources/neteq_universal_ref_linux_64.pcm"; DecodeAndCompare(kInputRtpFile, kInputRefFile); } #endif // defined(WEBRTC_LINUX) && defined(WEBRTC_ARCH_64_BITS) -//TODO(hlundin): Add test target NetEqDecodingTest::TestNetworkStatistics. +TEST_F(NetEqDecodingTest, TestNetworkStatistics) { + const std::string kInputRtpFile = webrtc::test::ProjectRootPath() + + "resources/neteq_universal.rtp"; + const std::string kNetworkStatRefFile = webrtc::test::ProjectRootPath() + + "resources/neteq_network_stats.dat"; + const std::string kRtcpStatRefFile = webrtc::test::ProjectRootPath() + + "resources/neteq_rtcp_stats.dat"; + DecodeAndCheckStats(kInputRtpFile, kNetworkStatRefFile, kRtcpStatRefFile); +} } // namespace