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

Unified Diff: webrtc/modules/audio_coding/codecs/isac/main/source/isac_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/codecs/isac/main/source/isac_unittest.cc
diff --git a/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc
index a751c2479215b3966d4a90233c3f5659ebe6d7ff..73efee12800e6c3f35ee13766d124782cb0411ad 100644
--- a/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc
+++ b/webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc
@@ -12,6 +12,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h"
#include "webrtc/test/testsupport/fileutils.h"
+#include "webrtc/test/testsupport/gtest_disable.h"
struct WebRtcISACStruct;
@@ -54,24 +55,24 @@ void IsacTest::SetUp() {
}
// Test failing Create.
-TEST_F(IsacTest, IsacCreateFail) {
+TEST_F(IsacTest, DISABLED_ON_IOS(IsacCreateFail)) {
// Test to see that an invalid pointer is caught.
EXPECT_EQ(-1, WebRtcIsac_Create(NULL));
}
// Test failing Free.
-TEST_F(IsacTest, IsacFreeFail) {
+TEST_F(IsacTest, DISABLED_ON_IOS(IsacFreeFail)) {
// Test to see that free function doesn't crash.
EXPECT_EQ(0, WebRtcIsac_Free(NULL));
}
// Test normal Create and Free.
-TEST_F(IsacTest, IsacCreateFree) {
+TEST_F(IsacTest, DISABLED_ON_IOS(IsacCreateFree)) {
EXPECT_EQ(0, WebRtcIsac_Create(&isac_codec_));
EXPECT_TRUE(isac_codec_ != NULL);
EXPECT_EQ(0, WebRtcIsac_Free(isac_codec_));}
-TEST_F(IsacTest, IsacUpdateBWE) {
+TEST_F(IsacTest, DISABLED_ON_IOS(IsacUpdateBWE)) {
// Create encoder memory.
EXPECT_EQ(0, WebRtcIsac_Create(&isac_codec_));
« no previous file with comments | « webrtc/modules/audio_coding/codecs/cng/cng_unittest.cc ('k') | webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698