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

Unified Diff: webrtc/modules/audio_coding/neteq/neteq_external_decoder_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_external_decoder_unittest.cc
diff --git a/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc
index f0158b972c31b795a876fbc41fd959e0d059eb36..729dbf6c136a2bff88eb70acb226dd42ebea7152 100644
--- a/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc
+++ b/webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc
@@ -17,6 +17,7 @@
#include "webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h"
#include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h"
#include "webrtc/test/testsupport/fileutils.h"
+#include "webrtc/test/testsupport/gtest_disable.h"
namespace webrtc {
@@ -233,7 +234,7 @@ class NetEqExternalVsInternalDecoderTest : public NetEqExternalDecoderUnitTest,
int16_t output_[kMaxBlockSize];
};
-TEST_F(NetEqExternalVsInternalDecoderTest, RunTest) {
+TEST_F(NetEqExternalVsInternalDecoderTest, DISABLED_ON_IOS(RunTest)) {
RunTest(100); // Run 100 laps @ 10 ms each in the test loop.
}
@@ -328,7 +329,7 @@ class LargeTimestampJumpTest : public NetEqExternalDecoderUnitTest,
int16_t output_[kMaxBlockSize];
};
-TEST_F(LargeTimestampJumpTest, JumpLongerThanHalfRange) {
+TEST_F(LargeTimestampJumpTest, DISABLED_ON_IOS(JumpLongerThanHalfRange)) {
// Set the timestamp series to start at 2880, increase to 7200, then jump to
// 2869342376. The sequence numbers start at 42076 and increase by 1 for each
// packet, also when the timestamp jumps.
@@ -352,7 +353,8 @@ TEST_F(LargeTimestampJumpTest, JumpLongerThanHalfRange) {
EXPECT_EQ(kRecovered, test_state_);
}
-TEST_F(LargeTimestampJumpTest, JumpLongerThanHalfRangeAndWrap) {
+TEST_F(LargeTimestampJumpTest,
+ DISABLED_ON_IOS(JumpLongerThanHalfRangeAndWrap)) {
// Make a jump larger than half the 32-bit timestamp range. Set the start
// timestamp such that the jump will result in a wrap around.
static const uint16_t kStartSeqeunceNumber = 42076;
@@ -411,7 +413,7 @@ class ShortTimestampJumpTest : public LargeTimestampJumpTest {
}
};
-TEST_F(ShortTimestampJumpTest, JumpShorterThanHalfRange) {
+TEST_F(ShortTimestampJumpTest, DISABLED_ON_IOS(JumpShorterThanHalfRange)) {
// Make a jump shorter than half the 32-bit timestamp range. Set the start
// timestamp such that the jump will not result in a wrap around.
static const uint16_t kStartSeqeunceNumber = 42076;
@@ -435,7 +437,8 @@ TEST_F(ShortTimestampJumpTest, JumpShorterThanHalfRange) {
EXPECT_EQ(kRecovered, test_state_);
}
-TEST_F(ShortTimestampJumpTest, JumpShorterThanHalfRangeAndWrap) {
+TEST_F(ShortTimestampJumpTest,
+ DISABLED_ON_IOS(JumpShorterThanHalfRangeAndWrap)) {
// Make a jump shorter than half the 32-bit timestamp range. Set the start
// timestamp such that the jump will result in a wrap around.
static const uint16_t kStartSeqeunceNumber = 42076;
« no previous file with comments | « webrtc/modules/audio_coding/neteq/audio_classifier_unittest.cc ('k') | webrtc/modules/audio_coding/neteq/neteq_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698