diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-01 14:30:51 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-01 14:30:51 +0000 |
commit | a918f877c38b7a0bc684a2963fba4a4341a243e8 (patch) | |
tree | b58938b92989fa1a75e8e2b0b62c21944d4cd3bb /chrome/browser/renderer_host/resource_dispatcher_host.h | |
parent | be4d55fe8d843628223a7b40162007ab734d1402 (diff) | |
download | chromium_src-a918f877c38b7a0bc684a2963fba4a4341a243e8.zip chromium_src-a918f877c38b7a0bc684a2963fba4a4341a243e8.tar.gz chromium_src-a918f877c38b7a0bc684a2963fba4a4341a243e8.tar.bz2 |
[GTTF] Add FRIEND_TEST_ALL_PREFIXES, a FRIEND_TEST replacement
that works with all test prefixes (DISABLED, FLAKY, FAILS).
TEST=none
BUG=44549
Review URL: http://codereview.chromium.org/2439001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/resource_dispatcher_host.h')
-rw-r--r-- | chrome/browser/renderer_host/resource_dispatcher_host.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.h b/chrome/browser/renderer_host/resource_dispatcher_host.h index bce21e8..2ff2cce 100644 --- a/chrome/browser/renderer_host/resource_dispatcher_host.h +++ b/chrome/browser/renderer_host/resource_dispatcher_host.h @@ -17,6 +17,7 @@ #include <vector> #include "base/basictypes.h" +#include "base/gtest_prod_util.h" #include "base/logging.h" #include "base/observer_list.h" #include "base/process.h" @@ -269,15 +270,16 @@ class ResourceDispatcherHost : public URLRequest::Delegate { } private: - FRIEND_TEST(ResourceDispatcherHostTest, TestBlockedRequestsProcessDies); - FRIEND_TEST(ResourceDispatcherHostTest, - IncrementOutstandingRequestsMemoryCost); - FRIEND_TEST(ResourceDispatcherHostTest, - CalculateApproximateMemoryCost); - FRIEND_TEST(ApplyExtensionLocalizationFilterTest, WrongScheme); - FRIEND_TEST(ApplyExtensionLocalizationFilterTest, GoodScheme); - FRIEND_TEST(ApplyExtensionLocalizationFilterTest, - GoodSchemeWrongResourceType); + FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest, + TestBlockedRequestsProcessDies); + FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest, + IncrementOutstandingRequestsMemoryCost); + FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest, + CalculateApproximateMemoryCost); + FRIEND_TEST_ALL_PREFIXES(ApplyExtensionLocalizationFilterTest, WrongScheme); + FRIEND_TEST_ALL_PREFIXES(ApplyExtensionLocalizationFilterTest, GoodScheme); + FRIEND_TEST_ALL_PREFIXES(ApplyExtensionLocalizationFilterTest, + GoodSchemeWrongResourceType); class ShutdownTask; |