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

Unified Diff: webrtc/modules/audio_coding/neteq/neteq_unittest.cc

Issue 1171033002: Ensures that modules_unittests runs on iOS (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebased Created 5 years, 6 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_coding/neteq/neteq_unittest.cc
diff --git a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc
index b3d6f25f8910e778c522ce188a8d51a1b90b5cc5..3bdaa69b4f1a231959a8d1ff8e5117d0d9a3f91f 100644
--- a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc
+++ b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc
@@ -437,7 +437,10 @@ void NetEqDecodingTest::PopulateCng(int frame_index,
*payload_len = 1; // Only noise level, no spectral parameters.
}
-TEST_F(NetEqDecodingTest, DISABLED_ON_ANDROID(TestBitExactness)) {
+// TODO(henrika): add support for IOS for all tests in this file.
+// See https://code.google.com/p/webrtc/issues/detail?id=4752 for details.
+TEST_F(NetEqDecodingTest,
+ DISABLED_ON_IOS(DISABLED_ON_ANDROID(TestBitExactness))) {
const std::string input_rtp_file = webrtc::test::ProjectRootPath() +
"resources/audio_coding/neteq_universal_new.rtp";
// Note that neteq4_universal_ref.pcm and neteq4_universal_ref_win_32.pcm
@@ -1052,19 +1055,19 @@ class NetEqBgnTestFade : public NetEqBgnTest {
}
};
-TEST_F(NetEqBgnTestOn, RunTest) {
+TEST_F(NetEqBgnTestOn, DISABLED_ON_IOS(RunTest)) {
CheckBgn(8000);
CheckBgn(16000);
CheckBgn(32000);
}
-TEST_F(NetEqBgnTestOff, RunTest) {
+TEST_F(NetEqBgnTestOff, DISABLED_ON_IOS(RunTest)) {
CheckBgn(8000);
CheckBgn(16000);
CheckBgn(32000);
}
-TEST_F(NetEqBgnTestFade, RunTest) {
+TEST_F(NetEqBgnTestFade, DISABLED_ON_IOS(RunTest)) {
CheckBgn(8000);
CheckBgn(16000);
CheckBgn(32000);

Powered by Google App Engine
This is Rietveld 408576698