diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 05:55:10 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 05:55:10 +0000 |
commit | ab820df141e6ab45fd8a095d2f57f91df44e6c9c (patch) | |
tree | 20ae83601c4a484cd74c908b62bc9d702ef27996 /chrome/common/animation_unittest.cc | |
parent | 4d9bdfafcd1393385860bc9fe947e0c07719c0f4 (diff) | |
download | chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.zip chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.tar.gz chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.tar.bz2 |
Chrome changes corresponding to my message_loop_type CL.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/animation_unittest.cc')
-rw-r--r-- | chrome/common/animation_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/animation_unittest.cc b/chrome/common/animation_unittest.cc index e4429cd..3f9da3c 100644 --- a/chrome/common/animation_unittest.cc +++ b/chrome/common/animation_unittest.cc @@ -11,6 +11,8 @@ using namespace std; namespace { class AnimationTest: public testing::Test { + private: + MessageLoopForUI message_loop_; }; }; @@ -81,7 +83,7 @@ class TestAnimationDelegate : public AnimationDelegate { bool canceled_; }; -TEST(AnimationTest, RunCase) { +TEST_F(AnimationTest, RunCase) { TestAnimationDelegate ad; RunAnimation a1(150, &ad); a1.SetDuration(2000); @@ -92,7 +94,7 @@ TEST(AnimationTest, RunCase) { EXPECT_FALSE(ad.canceled()); } -TEST(AnimationTest, CancelCase) { +TEST_F(AnimationTest, CancelCase) { TestAnimationDelegate ad; CancelAnimation a2(2000, 150, &ad); a2.Start(); |