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

Side by Side Diff: webrtc/test/testsupport/gtest_disable.h

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 unified diff | Download patch
« no previous file with comments | « webrtc/modules/video_processing/main/test/unit_test/video_processing_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 #ifndef TEST_TESTSUPPORT_INCLUDE_GTEST_DISABLE_H_ 10 #ifndef TEST_TESTSUPPORT_INCLUDE_GTEST_DISABLE_H_
(...skipping 18 matching lines...) Expand all
29 #else 29 #else
30 #define DISABLED_ON_MAC(test) test 30 #define DISABLED_ON_MAC(test) test
31 #endif 31 #endif
32 32
33 #ifdef _WIN32 33 #ifdef _WIN32
34 #define DISABLED_ON_WIN(test) DISABLED_##test 34 #define DISABLED_ON_WIN(test) DISABLED_##test
35 #else 35 #else
36 #define DISABLED_ON_WIN(test) test 36 #define DISABLED_ON_WIN(test) test
37 #endif 37 #endif
38 38
39 // Using some extra magic here to be able to chain Android and iOS macros.
40 // http://stackoverflow.com/questions/8231966/why-do-i-need-double-layer-of-indi rection-for-macros
39 #ifdef WEBRTC_ANDROID 41 #ifdef WEBRTC_ANDROID
40 #define DISABLED_ON_ANDROID(test) DISABLED_##test 42 #define DISABLED_ON_ANDROID_HIDDEN(test) DISABLED_##test
43 #define DISABLED_ON_ANDROID(test) DISABLED_ON_ANDROID_HIDDEN(test)
41 #else 44 #else
42 #define DISABLED_ON_ANDROID(test) test 45 #define DISABLED_ON_ANDROID_HIDDEN(test) test
46 #define DISABLED_ON_ANDROID(test) DISABLED_ON_ANDROID_HIDDEN(test)
47 #endif
48
49 #ifdef WEBRTC_IOS
50 #define DISABLED_ON_IOS_HIDDEN(test) DISABLED_##test
51 #define DISABLED_ON_IOS(test) DISABLED_ON_IOS_HIDDEN(test)
52 #else
53 #define DISABLED_ON_IOS_HIDDEN(test) test
54 #define DISABLED_ON_IOS(test) DISABLED_ON_IOS_HIDDEN(test)
43 #endif 55 #endif
44 56
45 #endif // TEST_TESTSUPPORT_INCLUDE_GTEST_DISABLE_H_ 57 #endif // TEST_TESTSUPPORT_INCLUDE_GTEST_DISABLE_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_processing/main/test/unit_test/video_processing_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698