chromium/content/browser/renderer_host/input/stylus_text_selector_unittest.cc

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

#include "content/browser/renderer_host/input/stylus_text_selector.h"

#include <memory>
#include <string>
#include <vector>

#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/event_constants.h"
#include "ui/events/test/motion_event_test_utils.h"
#include "ui/events/velocity_tracker/motion_event.h"
#include "ui/gfx/geometry/rect_f.h"

MotionEvent;
MockMotionEvent;

namespace content {

class StylusTextSelectorTest : public testing::Test,
                               public StylusTextSelectorClient {};

TEST_F(StylusTextSelectorTest, ShouldStartTextSelection) {}

TEST_F(StylusTextSelectorTest, FingerTouch) {}

// The following Tests cover BUTTON_SECONDARY case, which is the stylus button
// pressed state for Android version < M.
TEST_F(StylusTextSelectorTest, PenDraggingButtonSecondary) {}

TEST_F(StylusTextSelectorTest, PenDraggingButtonSecondaryNotPressed) {}

TEST_F(StylusTextSelectorTest, TapTriggersLongPressSelection) {}
// End of Tests for BUTTON_SECONDARY case.

// The following Tests cover BUTTON_STYLUS_PRIMARY case, which is the stylus
// button pressed state from Android M.
TEST_F(StylusTextSelectorTest, PenDraggingButtonStylusPrimary) {}

TEST_F(StylusTextSelectorTest, PenDraggingButtonStylusPrimaryNotPressed) {}

TEST_F(StylusTextSelectorTest, TapTriggersLongPressSelection2) {}
// End of tests for BUTTON_STLUS_PRIMARY case.

}  // namespace content