#include "third_party/blink/renderer/core/editing/markers/suggestion_marker_list_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/editing/markers/marker_test_utilities.h"
#include "third_party/blink/renderer/core/editing/markers/suggestion_marker.h"
#include "third_party/blink/renderer/core/editing/markers/suggestion_marker_properties.h"
#include "third_party/blink/renderer/core/editing/markers/suggestion_marker_replacement_scope.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
namespace blink {
class SuggestionMarkerListImplTest : public testing::Test { … };
TEST_F(SuggestionMarkerListImplTest, MarkerType) { … }
TEST_F(SuggestionMarkerListImplTest, AddOverlapping) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForSuggestionReplacement_ReturnsFalseWhenNoShift) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForSuggestionReplacement_MarkersUpdateProperly) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_DeleteFromMiddle) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_InsertIntoMiddle) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_PrependLetter) { … }
TEST_F(
SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_PrependSurrogatePairLetter) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_PrependDigit) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_PrependSurrogatePairDigit) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_PrependNonAlphanumeric) { … }
TEST_F(
SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_PrependSurrogatePairNonAlphanumeric) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_AppendLetter) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_AppendSurrogatePairLetter) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_AppendDigit) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_AppendSurrogatePairDigit) { … }
TEST_F(SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_AppendNonAlphanumeric) { … }
TEST_F(
SuggestionMarkerListImplTest,
ShiftMarkersForNonSuggestionEditingOperation_AppendSurrogatePairNonAlphanumeric) { … }
TEST_F(SuggestionMarkerListImplTest, RemoveMarkerByTag_NotFound) { … }
TEST_F(SuggestionMarkerListImplTest, RemoveMarkerByTag_Found) { … }
TEST_F(SuggestionMarkerListImplTest, RemoveMarkerByType_NotFound) { … }
TEST_F(SuggestionMarkerListImplTest, RemoveMarkerByType_Found) { … }
}