#include "cc/animation/animation.h"
#include <memory>
#include "base/strings/stringprintf.h"
#include "base/test/gtest_util.h"
#include "base/time/time.h"
#include "cc/animation/animation_delegate.h"
#include "cc/animation/animation_host.h"
#include "cc/animation/animation_id_provider.h"
#include "cc/animation/animation_timeline.h"
#include "cc/animation/element_animations.h"
#include "cc/animation/keyframe_effect.h"
#include "cc/test/animation_test_common.h"
#include "cc/test/animation_timelines_test_common.h"
#include "cc/trees/property_tree.h"
namespace cc {
namespace {
class AnimationTest : public AnimationTimelinesTest { … };
TEST_F(AnimationTest, AttachDetachLayerIfTimelineAttached) { … }
TEST_F(AnimationTest, AttachDetachTimelineIfLayerAttached) { … }
TEST_F(AnimationTest, HaveInvalidationAndNativePropertyAnimations) { … }
TEST_F(AnimationTest, HasInvalidationAnimation) { … }
TEST_F(AnimationTest, HasNativePropertyAnimation) { … }
TEST_F(AnimationTest, PropertiesMutate) { … }
TEST_F(AnimationTest, AttachTwoAnimationsToOneLayer) { … }
TEST_F(AnimationTest, AddRemoveAnimationToNonAttachedAnimation) { … }
AnimationDeathTest;
TEST_F(AnimationDeathTest, RemoveAddInSameFrame) { … }
TEST_F(AnimationTest, AddRemoveAnimationCausesSetNeedsCommit) { … }
TEST_F(AnimationTest, SwitchToLayer) { … }
TEST_F(AnimationTest, ToString) { … }
TEST_F(AnimationTest, AnimationReplacementDeletesKeyframeModels) { … }
}
}