chromium/third_party/blink/renderer/core/editing/finder/find_buffer_test.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 "third_party/blink/renderer/core/editing/finder/find_buffer.h"

#include "build/build_config.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.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/html/forms/text_control_element.h"

namespace blink {

class FindBufferTest : public EditingTestBase {};

TEST_F(FindBufferTest, FindInline) {}

TEST_F(FindBufferTest, RangeFromBufferIndex) {}

TEST_F(FindBufferTest, FindBetweenPositionsSameNode) {}

TEST_F(FindBufferTest, FindBetweenPositionsDifferentNodes) {}

TEST_F(FindBufferTest, FindBetweenPositionsSkippedNodes) {}

TEST_F(FindBufferTest, FindMatchInRange) {}

// https://issues.chromium.org/issues/327017912
TEST_F(FindBufferTest, FindMatchInRangeIgnoreNonSearchable) {}

class FindBufferBlockTest : public FindBufferTest,
                            public testing::WithParamInterface<std::string> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(FindBufferBlockTest, FindBlock) {}

class FindBufferSeparatorTest
    : public FindBufferTest,
      public testing::WithParamInterface<std::string> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(FindBufferSeparatorTest, FindSeparatedElements) {}

TEST_P(FindBufferSeparatorTest, FindBRSeparatedElements) {}

TEST_F(FindBufferTest, WhiteSpaceCollapsingPreWrap) {}

TEST_F(FindBufferTest, WhiteSpaceCollapsingPre) {}

TEST_F(FindBufferTest, WhiteSpaceCollapsingPreLine) {}

TEST_F(FindBufferTest, BidiTest) {}

TEST_F(FindBufferTest, KanaSmallVsNormal) {}

TEST_F(FindBufferTest, KanaDakuten) {}

TEST_F(FindBufferTest, KanaHalfFull) {}

TEST_F(FindBufferTest, WholeWordTest) {}

TEST_F(FindBufferTest, KanaDecomposed) {}

TEST_F(FindBufferTest, FindPlainTextInvalidTarget1) {}

TEST_F(FindBufferTest, FindPlainTextInvalidTarget2) {}

TEST_F(FindBufferTest, FindPlainTextInvalidTarget3) {}

TEST_F(FindBufferTest, DisplayInline) {}

TEST_F(FindBufferTest, DisplayBlock) {}

TEST_F(FindBufferTest, DisplayContents) {}

TEST_F(FindBufferTest, WBRTest) {}

TEST_F(FindBufferTest, InputTest) {}

TEST_F(FindBufferTest, SelectMultipleTest) {}

TEST_F(FindBufferTest, NullRange) {}

TEST_F(FindBufferTest, FindObjectReplacementCharacter) {}

TEST_F(FindBufferTest,
       FindMaxCodepointWithReplacedElementAndMaxCodepointUTF32) {}

TEST_F(FindBufferTest, FindMaxCodepointNormalTextUTF32) {}

TEST_F(FindBufferTest, FindMaxCodepointWithReplacedElementUTF32) {}

TEST_F(FindBufferTest,
       FindMaxCodepointWithReplacedElementAndMaxCodepointUTF16) {}

TEST_F(FindBufferTest, FindMaxCodepointNormalTextUTF16) {}

TEST_F(FindBufferTest, FindMaxCodepointWithReplacedElementUTF16) {}

// Tests that a suggested value is not found by searches.
TEST_F(FindBufferTest, DoNotSearchInSuggestedValues) {}

TEST_F(FindBufferTest, FindInTable) {}

TEST_F(FindBufferTest, IsInSameUninterruptedBlock) {}

TEST_F(FindBufferTest, IsInSameUninterruptedBlock_input) {}

TEST_F(FindBufferTest, IsInSameUninterruptedBlock_table) {}

TEST_F(FindBufferTest, IsInSameUninterruptedBlock_comment) {}

TEST_F(FindBufferTest, GetFirstBlockLevelAncestorInclusive) {}

}  // namespace blink