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

// Copyright 2024 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/editing/commands/split_element_command.h"

#include "third_party/blink/renderer/core/editing/commands/editing_state.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"

namespace blink {

class SplitElementCommandTest : public EditingTestBase {};

// Tests that SplitElementCommand works. It splits an element at the
// passed child.
TEST_F(SplitElementCommandTest, Basic) {}

// Tests that SplitElementCommand doesn't insert a cloned element
// when it doesn't have any children.
TEST_F(SplitElementCommandTest, NotCloneElementWithoutChildren) {}

}  // namespace blink