diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-27 14:10:07 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-27 14:10:07 +0000 |
commit | 2f8fc8d74b575345ac4375a30a49ab69233aa7f4 (patch) | |
tree | 73e24be9c2544e3cde5c13b887b27e60e470df22 /ui/base/animation | |
parent | ddcaa6f54a024b45007f44ec3ac7bb5559e5c7cb (diff) | |
download | chromium_src-2f8fc8d74b575345ac4375a30a49ab69233aa7f4.zip chromium_src-2f8fc8d74b575345ac4375a30a49ab69233aa7f4.tar.gz chromium_src-2f8fc8d74b575345ac4375a30a49ab69233aa7f4.tar.bz2 |
ui: Remove unnecessary typedefs of testing::Test.
The TEST() macro is used to define and name a test function, the first argument
is the test case name and thus doesn't need to be a typedef of testing::Test.
BUG=None
TEST=ui_unittests
R=phajdan.jr@chromium.org
Review URL: http://codereview.chromium.org/7262022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/animation')
-rw-r--r-- | ui/base/animation/multi_animation_unittest.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ui/base/animation/multi_animation_unittest.cc b/ui/base/animation/multi_animation_unittest.cc index 9e0c339..2c77ed7 100644 --- a/ui/base/animation/multi_animation_unittest.cc +++ b/ui/base/animation/multi_animation_unittest.cc @@ -8,9 +8,7 @@ namespace ui { -typedef testing::Test MultiAnimationTest; - -TEST_F(MultiAnimationTest, Basic) { +TEST(MultiAnimationTest, Basic) { // Create a MultiAnimation with two parts. MultiAnimation::Parts parts; parts.push_back(MultiAnimation::Part(100, Tween::LINEAR)); @@ -38,7 +36,7 @@ TEST_F(MultiAnimationTest, Basic) { animation.GetCurrentValue()); } -TEST_F(MultiAnimationTest, DifferingStartAndEnd) { +TEST(MultiAnimationTest, DifferingStartAndEnd) { // Create a MultiAnimation with two parts. MultiAnimation::Parts parts; parts.push_back(MultiAnimation::Part(200, Tween::LINEAR)); @@ -61,7 +59,7 @@ TEST_F(MultiAnimationTest, DifferingStartAndEnd) { } // Makes sure multi-animation stops if cycles is false. -TEST_F(MultiAnimationTest, DontCycle) { +TEST(MultiAnimationTest, DontCycle) { MultiAnimation::Parts parts; parts.push_back(MultiAnimation::Part(200, Tween::LINEAR)); MultiAnimation animation(parts); @@ -77,7 +75,7 @@ TEST_F(MultiAnimationTest, DontCycle) { } // Makes sure multi-animation cycles correctly. -TEST_F(MultiAnimationTest, Cycle) { +TEST(MultiAnimationTest, Cycle) { MultiAnimation::Parts parts; parts.push_back(MultiAnimation::Part(200, Tween::LINEAR)); MultiAnimation animation(parts); |