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

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: 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 8b93e65ba764ae82d04113ba1a2e41690dd909fa..29990368d87136daf2a0588dac82db2b86e15845 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_));

Powered by Google App Engine
This is Rietveld 408576698