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

Side by Side Diff: Source/core/animation/AnimationPlayerTest.cpp

Issue 717933002: Clean up after getPropertyCSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase / fix debug compile? Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « Source/core/animation/AnimationPlayer.cpp ('k') | Source/core/animation/AnimationTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "core/animation/AnimationPlayer.h" 32 #include "core/animation/AnimationPlayer.h"
33 33
34 #include "core/animation/ActiveAnimations.h" 34 #include "core/animation/ActiveAnimations.h"
35 #include "core/animation/Animation.h" 35 #include "core/animation/Animation.h"
36 #include "core/animation/AnimationClock.h" 36 #include "core/animation/AnimationClock.h"
37 #include "core/animation/AnimationTimeline.h" 37 #include "core/animation/AnimationTimeline.h"
38 #include "core/dom/Document.h" 38 #include "core/dom/Document.h"
39 #include "core/dom/ExceptionCode.h"
39 #include "core/dom/QualifiedName.h" 40 #include "core/dom/QualifiedName.h"
40 #include "platform/weborigin/KURL.h" 41 #include "platform/weborigin/KURL.h"
41 #include <gtest/gtest.h> 42 #include <gtest/gtest.h>
42 43
43 using namespace blink; 44 using namespace blink;
44 45
45 namespace { 46 namespace {
46 47
47 class AnimationAnimationPlayerTest : public ::testing::Test { 48 class AnimationAnimationPlayerTest : public ::testing::Test {
48 protected: 49 protected:
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 EXPECT_EQ(AnimationPlayer::Idle, player->playStateInternal()); 883 EXPECT_EQ(AnimationPlayer::Idle, player->playStateInternal());
883 EXPECT_TRUE(std::isnan(player->currentTime())); 884 EXPECT_TRUE(std::isnan(player->currentTime()));
884 EXPECT_TRUE(std::isnan(player->startTime())); 885 EXPECT_TRUE(std::isnan(player->startTime()));
885 player->pause(); 886 player->pause();
886 EXPECT_EQ(AnimationPlayer::Idle, player->playStateInternal()); 887 EXPECT_EQ(AnimationPlayer::Idle, player->playStateInternal());
887 EXPECT_TRUE(std::isnan(player->currentTime())); 888 EXPECT_TRUE(std::isnan(player->currentTime()));
888 EXPECT_TRUE(std::isnan(player->startTime())); 889 EXPECT_TRUE(std::isnan(player->startTime()));
889 } 890 }
890 891
891 } 892 }
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationPlayer.cpp ('k') | Source/core/animation/AnimationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698