Ensures that modules_unittests runs on iOS

BUG=4752
R=tkchin@chromium.org

Review URL: https://codereview.webrtc.org/1171033002.

Cr-Commit-Position: refs/heads/master@{#9408}
This commit is contained in:
henrika
2015-06-10 13:24:48 +02:00
parent f4baca50bb
commit a2c79405b4
23 changed files with 139 additions and 83 deletions

View File

@ -18,6 +18,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/test/testsupport/gtest_disable.h"
namespace webrtc {
@ -60,13 +61,13 @@ void RunAnalysisTest(const std::string& audio_filename,
fclose(data_file);
}
TEST(AudioClassifierTest, DoAnalysisMono) {
TEST(AudioClassifierTest, DISABLED_ON_IOS(DoAnalysisMono)) {
RunAnalysisTest(test::ResourcePath("short_mixed_mono_48", "pcm"),
test::ResourcePath("short_mixed_mono_48", "dat"),
1);
}
TEST(AudioClassifierTest, DoAnalysisStereo) {
TEST(AudioClassifierTest, DISABLED_ON_IOS(DoAnalysisStereo)) {
RunAnalysisTest(test::ResourcePath("short_mixed_stereo_48", "pcm"),
test::ResourcePath("short_mixed_stereo_48", "dat"),
2);