diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 17:04:28 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 17:04:28 +0000 |
commit | 35dabb168a48a717d9ba0ecabff33295abf9f073 (patch) | |
tree | 36a182c2ff5868c6c0d07c9c8b73ce0a73b72b5e /base/message_loop_unittest.cc | |
parent | 8be50f06b56d45e148a0f84118ba0f8c2aa61db0 (diff) | |
download | chromium_src-35dabb168a48a717d9ba0ecabff33295abf9f073.zip chromium_src-35dabb168a48a717d9ba0ecabff33295abf9f073.tar.gz chromium_src-35dabb168a48a717d9ba0ecabff33295abf9f073.tar.bz2 |
base: Use TEST() macro when possible.
There is no need to inherit from testing::Test and then have to use TEST_F(),
if you aren't overridding SetUp() or TearDow(). So if you don't need to customize
it, you can use TEST() macro directly and it does that for us automagically.
Fix all the cases found with the following command line:
$ git grep -n1 "public testing::Test" base/ | grep "};"
TEST=base_unittests
R=willchan@chromium.org
Review URL: https://codereview.chromium.org/11308261
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop_unittest.cc')
-rw-r--r-- | base/message_loop_unittest.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc index 62721d3..ba37b2f 100644 --- a/base/message_loop_unittest.cc +++ b/base/message_loop_unittest.cc @@ -33,8 +33,6 @@ using base::TimeTicks; namespace { -class MessageLoopTest : public testing::Test {}; - class Foo : public base::RefCounted<Foo> { public: Foo() : test_count_(0) { |