| Index: webrtc/base/gtest_prod_util.h
|
| diff --git a/webrtc/base/gtest_prod_util.h b/webrtc/base/gtest_prod_util.h
|
| index f0cb1145f9d1d9fc492621fef716180c777a64c3..0c25943f2c557e5795a373fc7f513c12291ad6f8 100644
|
| --- a/webrtc/base/gtest_prod_util.h
|
| +++ b/webrtc/base/gtest_prod_util.h
|
| @@ -11,28 +11,9 @@
|
| #ifndef WEBRTC_BASE_GTEST_PROD_UTIL_H_
|
| #define WEBRTC_BASE_GTEST_PROD_UTIL_H_
|
|
|
| -// Define our own version of FRIEND_TEST here rather than including
|
| -// gtest_prod.h to avoid depending on any part of GTest in production code.
|
| -#define FRIEND_TEST_WEBRTC(test_case_name, test_name)\
|
| -friend class test_case_name##_##test_name##_Test
|
|
|
| -// This file is a plain copy of Chromium's base/gtest_prod_util.h.
|
| -//
|
| -// This is a wrapper for gtest's FRIEND_TEST macro that friends
|
| -// test with all possible prefixes. This is very helpful when changing the test
|
| -// prefix, because the friend declarations don't need to be updated.
|
| -//
|
| -// Example usage:
|
| -//
|
| -// class MyClass {
|
| -// private:
|
| -// void MyMethod();
|
| -// FRIEND_TEST_ALL_PREFIXES(MyClassTest, MyMethod);
|
| -// };
|
| -#define FRIEND_TEST_ALL_PREFIXES(test_case_name, test_name) \
|
| - FRIEND_TEST_WEBRTC(test_case_name, test_name); \
|
| - FRIEND_TEST_WEBRTC(test_case_name, DISABLED_##test_name); \
|
| - FRIEND_TEST_WEBRTC(test_case_name, FLAKY_##test_name); \
|
| - FRIEND_TEST_WEBRTC(test_case_name, FAILS_##test_name)
|
| +// This header is deprecated and is just left here temporarily during
|
| +// refactoring. See https://bugs.webrtc.org/7634 for more details.
|
| +#include "webrtc/rtc_base/gtest_prod_util.h"
|
|
|
| #endif // WEBRTC_BASE_GTEST_PROD_UTIL_H_
|
|
|