chromium/third_party/blink/renderer/core/editing/commands/editing_command_test.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/public/mojom/input/focus_type.mojom-blink.h"
#include "third_party/blink/renderer/core/dom/focus_params.h"
#include "third_party/blink/renderer/core/dom/static_range.h"
#include "third_party/blink/renderer/core/editing/commands/editing_command_type.h"
#include "third_party/blink/renderer/core/editing/commands/editor_command.h"
#include "third_party/blink/renderer/core/editing/commands/editor_command_names.h"
#include "third_party/blink/renderer/core/editing/editor.h"
#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

namespace blink {

namespace {

struct CommandNameEntry {};

const CommandNameEntry kCommandNameEntries[] =;
// Test all commands except EditingCommandType::Invalid.
static_assert;

}  // anonymous namespace

class EditingCommandTest : public EditingTestBase {};

TEST_F(EditingCommandTest, EditorCommandOrder) {}

TEST_F(EditingCommandTest, CreateCommandFromString) {}

TEST_F(EditingCommandTest, CreateCommandFromStringCaseFolding) {}

TEST_F(EditingCommandTest, CreateCommandFromInvalidString) {}

TEST_F(EditingCommandTest, EnabledVisibleSelection) {}

TEST_F(EditingCommandTest, EnabledVisibleSelectionAndMark) {}

TEST_F(EditingCommandTest, EnabledInEditableTextOrCaretBrowsing) {}

TEST_F(EditingCommandTest, DeleteSoftLineBackwardTargetRanges) {}

}  // namespace blink