chromium/ui/gfx/animation/keyframe/keyframe_animation_unittest.cc

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

#include "ui/gfx/animation/keyframe/keyframe_effect.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/animation/keyframe/animation_curve.h"
#include "ui/gfx/animation/keyframe/keyframed_animation_curve.h"
#include "ui/gfx/animation/keyframe/test/animation_utils.h"
#include "ui/gfx/geometry/test/geometry_util.h"

namespace gfx {

static constexpr float kNoise =;
static constexpr float kEpsilon =;

// Tests client-specific property ids.
static constexpr int kLayoutOffsetPropertyId =;
static constexpr int kBackgroundColorPropertyId =;
static constexpr int kOpacityPropertyId =;
static constexpr int kBoundsPropertyId =;
static constexpr int kTransformPropertyId =;
static constexpr int kRectPropertyId =;

class TestAnimationTarget : public SizeAnimationCurve::Target,
                            public TransformAnimationCurve::Target,
                            public FloatAnimationCurve::Target,
                            public ColorAnimationCurve::Target,
                            public RectAnimationCurve::Target {};

TEST(KeyframeAnimationTest, AddRemoveKeyframeModels) {}

TEST(KeyframeAnimationTest, AnimationLifecycle) {}

TEST(KeyframeAnimationTest, AnimationQueue) {}

TEST(KeyframeAnimationTest, FinishedTransition) {}

TEST(KeyframeAnimationTest, OpacityTransitions) {}

TEST(KeyframeAnimationTest, ReversedOpacityTransitions) {}

TEST(KeyframeAnimationTest, RetargetOpacityTransition) {}

TEST(KeyframeAnimationTest, RetargetTransitionBeforeLastKeyframe) {}

TEST(KeyframeAnimationTest, LayoutOffsetTransitions) {}

TEST(KeyframeAnimationTest, TransformTransitions) {}

TEST(KeyframeAnimationTest, ReversedTransformTransitions) {}

TEST(KeyframeAnimationTest, RetargetTransformTransition) {}

TEST(KeyframeAnimationTest, BoundsTransitions) {}

TEST(KeyframeAnimationTest, RetargetSizeTransition) {}

TEST(KeyframeAnimationTest, ReversedBoundsTransitions) {}

TEST(KeyframeAnimationTest, BackgroundColorTransitions) {}

TEST(KeyframeAnimationTest, ReversedBackgroundColorTransitions) {}

TEST(KeyframeAnimationTest, RetargetColorTransition) {}

TEST(KeyframeAnimationTest, DoubleReversedTransitions) {}

TEST(KeyframeAnimationTest, RedundantTransition) {}

TEST(KeyframeAnimationTest, TransitionToSameValue) {}

TEST(KeyframeAnimationTest, CorrectTargetValue) {}

TEST(KeyframeAnimationTest, RetargetRectTransition) {}

}  // namespace gfx