Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: Source/core/animation/AnimationClockTest.cpp

Issue 1164413003: Fix unit test style in core/{animation,css,fetch,frame,layout,style,timing}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: anonymous Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/animation/AnimationEffectTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationClockTest.cpp
diff --git a/Source/core/animation/AnimationClockTest.cpp b/Source/core/animation/AnimationClockTest.cpp
index 6711971d614b1a236c6f33ed2468c91215885376..f28a927b0e5750819a417d0509f0de80c30d6f51 100644
--- a/Source/core/animation/AnimationClockTest.cpp
+++ b/Source/core/animation/AnimationClockTest.cpp
@@ -34,17 +34,16 @@
#include "wtf/OwnPtr.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class AnimationAnimationClockTest : public ::testing::Test {
public:
AnimationAnimationClockTest()
: animationClock(mockTimeFunction)
{ }
+
protected:
- virtual void SetUp()
+ void SetUp() override
{
mockTime = 0;
animationClock.resetTimeForTesting();
@@ -140,4 +139,4 @@ TEST_F(AnimationAnimationClockTest, CurrentTimeUpdatesTask)
EXPECT_EQ(100, animationClock.currentTime());
}
-}
+} // namespace blink
« no previous file with comments | « no previous file | Source/core/animation/AnimationEffectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698