From d047b2e7f6e5cc38dbb02c606ac7b0ac09f983a8 Mon Sep 17 00:00:00 2001 From: "henrik.lundin@webrtc.org" Date: Wed, 4 Jan 2012 16:10:23 +0000 Subject: [PATCH] Enabling NetEQ unittest for more platforms Removing platform limitations for NetEqDecodingTest:TestBitExactness and NetEqDecodingTest:TestNetworkStatistics. New reference files where provided in revision 6 of the resources, which allows us to enable these tests. BUG= TEST=neteq_unittests linux32/64, win32/64, mac32 Review URL: http://webrtc-codereview.appspot.com/329027 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1332 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc b/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc index 2fabceab70..04bfb35612 100644 --- a/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc +++ b/src/modules/audio_coding/neteq/webrtc_neteq_unittest.cc @@ -346,7 +346,6 @@ void NetEqDecodingTest::PopulateRtpInfo(int frame_index, rtp_info->markerBit = 0; } -#if defined(WEBRTC_LINUX) && defined(WEBRTC_ARCH_64_BITS) TEST_F(NetEqDecodingTest, TestBitExactness) { const std::string kInputRtpFile = webrtc::test::ProjectRootPath() + "resources/neteq_universal.rtp"; @@ -354,10 +353,7 @@ TEST_F(NetEqDecodingTest, TestBitExactness) { webrtc::test::ResourcePath("neteq_universal_ref", "pcm"); DecodeAndCompare(kInputRtpFile, kInputRefFile); } -#endif // defined(WEBRTC_LINUX) && defined(WEBRTC_ARCH_64_BITS) -#ifndef _WIN32 -// TODO(hlundin): Enable this test for windows. TEST_F(NetEqDecodingTest, TestNetworkStatistics) { const std::string kInputRtpFile = webrtc::test::ProjectRootPath() + "resources/neteq_universal.rtp"; @@ -367,7 +363,6 @@ TEST_F(NetEqDecodingTest, TestNetworkStatistics) { webrtc::test::ResourcePath("neteq_rtcp_stats", "dat"); DecodeAndCheckStats(kInputRtpFile, kNetworkStatRefFile, kRtcpStatRefFile); } -#endif // _WIN32 TEST_F(NetEqDecodingTest, TestFrameWaitingTimeStatistics) { // Use fax mode to avoid time-scaling. This is to simplify the testing of