chromium/cc/input/snap_fling_controller_unittest.cc

// Copyright 2018 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/input/snap_fling_controller.h"

#include <utility>

#include "cc/input/snap_fling_curve.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cc {
namespace test {
namespace {

class MockSnapFlingClient : public SnapFlingClient {};

class MockSnapFlingCurve : public SnapFlingCurve {};

}  // namespace

class SnapFlingControllerTest : public testing::Test {};

TEST_F(SnapFlingControllerTest, DoesNotFilterGSBWhenIdle) {}

TEST_F(SnapFlingControllerTest, FiltersGSUAndGSEDependingOnState) {}

TEST_F(SnapFlingControllerTest, CreatesAndAnimatesCurveOnFirstInertialGSU) {}

TEST_F(SnapFlingControllerTest, ScrollEndWhenHasEqualOffsetsOnInertialGSU) {}

TEST_F(SnapFlingControllerTest, DoesNotHandleNonInertialGSU) {}

TEST_F(SnapFlingControllerTest, AnimatesTheCurve) {}

TEST_F(SnapFlingControllerTest, FinishesTheCurve) {}

TEST_F(SnapFlingControllerTest, GSBNotFilteredAndResetsStateWhenActive) {}

}  // namespace test
}  // namespace cc