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

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

Issue 27664002: Web Animations: Regularise unit test names (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to head Created 7 years, 2 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
Index: Source/core/animation/DocumentTimelineTest.cpp
diff --git a/Source/core/animation/DocumentTimelineTest.cpp b/Source/core/animation/DocumentTimelineTest.cpp
index 9c2bf18eef13f53985878340ad732858c49a63f3..203c53b2f41a06e58d9dd62d4499ee8684bd9a7e 100644
--- a/Source/core/animation/DocumentTimelineTest.cpp
+++ b/Source/core/animation/DocumentTimelineTest.cpp
@@ -44,7 +44,7 @@ using namespace WebCore;
namespace {
-class DocumentTimelineTest : public ::testing::Test {
+class CoreAnimationDocumentTimelineTest : public ::testing::Test {
protected:
virtual void SetUp()
{
@@ -61,7 +61,7 @@ protected:
Timing timing;
};
-TEST_F(DocumentTimelineTest, EmptyKeyframeAnimation)
+TEST_F(CoreAnimationDocumentTimelineTest, EmptyKeyframeAnimation)
{
RefPtr<KeyframeAnimationEffect> effect = KeyframeAnimationEffect::create(KeyframeAnimationEffect::KeyframeVector());
RefPtr<Animation> anim = Animation::create(element.get(), effect, timing);
@@ -76,7 +76,7 @@ TEST_F(DocumentTimelineTest, EmptyKeyframeAnimation)
EXPECT_FLOAT_EQ(100, timeline->currentTime());
}
-TEST_F(DocumentTimelineTest, ZeroTimeAsPerfTime)
+TEST_F(CoreAnimationDocumentTimelineTest, ZeroTimeAsPerfTime)
{
timeline = DocumentTimeline::create(document.get());
@@ -94,7 +94,7 @@ TEST_F(DocumentTimelineTest, ZeroTimeAsPerfTime)
EXPECT_EQ(100, timeline->currentTime());
}
-TEST_F(DocumentTimelineTest, PauseForTesting)
+TEST_F(CoreAnimationDocumentTimelineTest, PauseForTesting)
{
float seekTime = 1;
RefPtr<Animation> anim1 = Animation::create(element.get(), KeyframeAnimationEffect::create(KeyframeAnimationEffect::KeyframeVector()), timing);
@@ -107,7 +107,7 @@ TEST_F(DocumentTimelineTest, PauseForTesting)
EXPECT_FLOAT_EQ(seekTime, player2->currentTime());
}
-TEST_F(DocumentTimelineTest, NumberOfActiveAnimations)
+TEST_F(CoreAnimationDocumentTimelineTest, NumberOfActiveAnimations)
{
Timing timingForwardFill;
timingForwardFill.hasIterationDuration = true;
« no previous file with comments | « Source/core/animation/AnimatableValueTestHelperTest.cpp ('k') | Source/core/animation/KeyframeAnimationEffectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698