OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 } | 496 } |
497 } | 497 } |
498 return false; | 498 return false; |
499 } | 499 } |
500 | 500 |
501 int last_packet_number_; | 501 int last_packet_number_; |
502 std::vector<uint8_t> last_payload_vec_; | 502 std::vector<uint8_t> last_payload_vec_; |
503 test::AudioLoop audio_loop_; | 503 test::AudioLoop audio_loop_; |
504 }; | 504 }; |
505 | 505 |
506 TEST_F(AcmIsacMtTest, DoTest) { | 506 #if defined(WEBRTC_IOS) |
| 507 // See https://code.google.com/p/webrtc/issues/detail?id=4752 for details. |
| 508 #define MAYBE_DoTest DISABLED_DoTest |
| 509 #else |
| 510 #define MAYBE_DoTest DoTest |
| 511 #endif |
| 512 TEST_F(AcmIsacMtTest, MAYBE_DoTest) { |
507 EXPECT_EQ(kEventSignaled, RunTest()); | 513 EXPECT_EQ(kEventSignaled, RunTest()); |
508 } | 514 } |
509 | 515 |
| 516 // Disabling all of these tests on iOS until file support has been added. |
| 517 // See https://code.google.com/p/webrtc/issues/detail?id=4752 for details. |
| 518 #if !defined(WEBRTC_IOS) |
| 519 |
510 class AcmReceiverBitExactness : public ::testing::Test { | 520 class AcmReceiverBitExactness : public ::testing::Test { |
511 public: | 521 public: |
512 static std::string PlatformChecksum(std::string win64, | 522 static std::string PlatformChecksum(std::string win64, |
513 std::string android, | 523 std::string android, |
514 std::string others) { | 524 std::string others) { |
515 #if defined(_WIN32) && defined(WEBRTC_ARCH_64_BITS) | 525 #if defined(_WIN32) && defined(WEBRTC_ARCH_64_BITS) |
516 return win64; | 526 return win64; |
517 #elif defined(WEBRTC_ANDROID) | 527 #elif defined(WEBRTC_ANDROID) |
518 return android; | 528 return android; |
519 #else | 529 #else |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 "1e1a0fce893fef2d66886a7f09e2ebce", | 966 "1e1a0fce893fef2d66886a7f09e2ebce", |
957 "855041f2490b887302bce9d544731849"), | 967 "855041f2490b887302bce9d544731849"), |
958 AcmReceiverBitExactness::PlatformChecksum( | 968 AcmReceiverBitExactness::PlatformChecksum( |
959 "d781cce1ab986b618d0da87226cdde30", | 969 "d781cce1ab986b618d0da87226cdde30", |
960 "1a1fe04dd12e755949987c8d729fb3e0", | 970 "1a1fe04dd12e755949987c8d729fb3e0", |
961 "d781cce1ab986b618d0da87226cdde30"), | 971 "d781cce1ab986b618d0da87226cdde30"), |
962 50, | 972 50, |
963 test::AcmReceiveTest::kStereoOutput); | 973 test::AcmReceiveTest::kStereoOutput); |
964 } | 974 } |
965 | 975 |
| 976 #endif |
| 977 |
966 } // namespace webrtc | 978 } // namespace webrtc |
OLD | NEW |