chromium/cc/animation/animation_unittest.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {};
// See element_animations_unittest.cc for active/pending observers tests.

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) {}

// If main-thread animation switches to another layer within one frame then
// impl-thread animation must be switched as well.
TEST_F(AnimationTest, SwitchToLayer) {}

TEST_F(AnimationTest, ToString) {}

TEST_F(AnimationTest, AnimationReplacementDeletesKeyframeModels) {}

}  // namespace
}  // namespace cc