chromium/cc/animation/scroll_offset_animation_curve_unittest.cc

// Copyright 2013 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/scroll_offset_animation_curve.h"

#include "base/time/time.h"
#include "cc/animation/scroll_offset_animation_curve_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/animation/keyframe/timing_function.h"
#include "ui/gfx/geometry/test/geometry_util.h"

DurationBehavior;

const double kConstantDuration =;
const double kDurationDivisor =;
const double kInverseDeltaMaxDuration =;

namespace cc {
namespace {

// This is the value of the default Impulse bezier curve when t = 0.5
constexpr double halfway_through_default_impulse_curve =;

}  // namespace

TEST(ScrollOffsetAnimationCurveTest, DeltaBasedDuration) {}

TEST(ScrollOffsetAnimationCurveTest, GetValue) {}

// Verify that a clone behaves exactly like the original.
TEST(ScrollOffsetAnimationCurveTest, Clone) {}

TEST(ScrollOffsetAnimationCurveTest, EaseInOutUpdateTarget) {}

TEST(ScrollOffsetAnimationCurveTest, ImpulseUpdateTarget) {}

TEST(ScrollOffsetAnimationCurveTest, ImpulseUpdateTargetSwitchDirections) {}

TEST(ScrollOffsetAnimationCurveTest, InverseDeltaDuration) {}

TEST(ScrollOffsetAnimationCurveTest, LinearAnimation) {}

TEST(ScrollOffsetAnimationCurveTest, ImpulseDuration) {}

TEST(ScrollOffsetAnimationCurveTest, CurveWithDelay) {}

TEST(ScrollOffsetAnimationCurveTest, CurveWithLargeDelay) {}

// This test verifies that if the last segment duration is zero, ::UpdateTarget
// simply updates the total animation duration see crbug.com/645317.
TEST(ScrollOffsetAnimationCurveTest, UpdateTargetZeroLastSegmentDuration) {}
}  // namespace cc