Chromium Code Reviews| Index: base/gtest_prod_util.h |
| diff --git a/base/gtest_prod_util.h b/base/gtest_prod_util.h |
| index 2db5853aa974451b5e9dceaf6dc6be4a23bd9310..2ca5a0a90d660e0edaade3f65aef2df7890462d8 100644 |
| --- a/base/gtest_prod_util.h |
| +++ b/base/gtest_prod_util.h |
| @@ -41,11 +41,11 @@ |
| // } |
| // |
| // Unless you forward declare MyClassTest::TestMethod outside of namespace foo. |
| -// Use FORWARD_DECLARE_TEST_ALL_PREFIXES to do so for all possible prefixes. |
| +// Use FORWARD_DECLARE_TEST to do so for all possible prefixes. |
| // |
| // Example usage: |
| // |
| -// FORWARD_DECLARE_TEST_ALL_PREFIXES(MyClassTest, TestMethod); |
| +// FORWARD_DECLARE_TEST(MyClassTest, TestMethod); |
| // |
| // namespace foo { |
| // class MyClass { |
| @@ -61,12 +61,9 @@ |
| // } |
| #define FORWARD_DECLARE_TEST(test_case_name, test_name) \ |
| -class test_case_name##_##test_name##_Test\ |
| - |
| -#define FORWARD_DECLARE_TEST_ALL_PREFIXES(test_case_name, test_name) \ |
| - FORWARD_DECLARE_TEST(test_case_name, test_name); \ |
| - FORWARD_DECLARE_TEST(test_case_name, DISABLED_##test_name); \ |
| - FORWARD_DECLARE_TEST(test_case_name, FLAKY_##test_name); \ |
| - FORWARD_DECLARE_TEST(test_case_name, FAILS_##test_name) |
| +class test_case_name##_##test_name##_Test; \ |
|
brettw
2012/02/13 22:22:12
Normally these would be indented 4 spaces.
dpapad
2012/02/13 22:30:04
In the same file at the top they are indented only
|
| +class test_case_name##_##DISABLED_##test_name##_Test; \ |
| +class test_case_name##_##FLAKY_##test_name##_Test; \ |
| +class test_case_name##_##FAILS_##test_name##_Test |
| #endif // BASE_GTEST_PROD_UTIL_H_ |