| Index: Source/core/animation/PlayerTest.cpp
|
| diff --git a/Source/core/animation/PlayerTest.cpp b/Source/core/animation/PlayerTest.cpp
|
| index 7034a8cbccb87a43abcd2ee893d0ea93f0c10bae..d9546787174b5bf5dda0f2168d94fb5388df3d08 100644
|
| --- a/Source/core/animation/PlayerTest.cpp
|
| +++ b/Source/core/animation/PlayerTest.cpp
|
| @@ -113,6 +113,19 @@ TEST_F(AnimationPlayerTest, InitialState)
|
| }
|
|
|
|
|
| +TEST_F(AnimationPlayerTest, CurrentTimeDoesNotSetOutdated)
|
| +{
|
| + EXPECT_FALSE(player->outdated());
|
| + EXPECT_EQ(0, player->currentTime());
|
| + EXPECT_FALSE(player->outdated());
|
| + // FIXME: We should split updateTimeline into a version that doesn't update
|
| + // the player and one that does, as most of the tests don't require update()
|
| + // to be called.
|
| + document->animationClock().updateTime(10);
|
| + EXPECT_EQ(10, player->currentTime());
|
| + EXPECT_FALSE(player->outdated());
|
| +}
|
| +
|
| TEST_F(AnimationPlayerTest, SetCurrentTime)
|
| {
|
| player->setCurrentTime(10);
|
|
|