chromium/third_party/blink/renderer/core/page/focusgroup_controller_test.cc

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

#include "third_party/blink/renderer/core/page/focusgroup_controller.h"

#include <memory>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_keyboard_event.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/events/keyboard_event.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/page/focusgroup_controller_utils.h"
#include "third_party/blink/renderer/core/page/grid_focusgroup_structure_info.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"
#include "ui/events/keycodes/dom/dom_key.h"

namespace blink {

utils;
NoCellFoundAtIndexBehavior;

class FocusgroupControllerTest : public PageTestBase {};

TEST_F(FocusgroupControllerTest, FocusgroupDirectionForEventValid) {}

TEST_F(FocusgroupControllerTest, IsDirectionBackward) {}

TEST_F(FocusgroupControllerTest, IsDirectionForward) {}

TEST_F(FocusgroupControllerTest, IsDirectionInline) {}

TEST_F(FocusgroupControllerTest, IsDirectionBlock) {}

TEST_F(FocusgroupControllerTest, IsAxisSupported) {}

TEST_F(FocusgroupControllerTest, WrapsInDirection) {}

TEST_F(FocusgroupControllerTest, FocusgroupExtendsInAxis) {}

TEST_F(FocusgroupControllerTest, FindNearestFocusgroupAncestor) {}

TEST_F(FocusgroupControllerTest, NextElement) {}

TEST_F(FocusgroupControllerTest, PreviousElement) {}

TEST_F(FocusgroupControllerTest, LastElementWithin) {}

TEST_F(FocusgroupControllerTest, IsFocusgroupItem) {}

TEST_F(FocusgroupControllerTest, CellAtIndexInRowBehaviorOnNoCellFound) {}

TEST_F(FocusgroupControllerTest, DontMoveFocusWhenNoFocusedElement) {}

TEST_F(FocusgroupControllerTest, DontMoveFocusWhenModifierKeyIsSet) {}

TEST_F(FocusgroupControllerTest, DontMoveFocusWhenItAlreadyMoved) {}

}  // namespace blink