#include "ui/views/controls/textarea/textarea.h"
#include <memory>
#include <string>
#include <vector>
#include "base/format_macros.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "ui/base/ui_base_features.h"
#include "ui/events/event.h"
#include "ui/gfx/render_text.h"
#include "ui/gfx/render_text_test_api.h"
#include "ui/strings/grit/ui_strings.h"
#include "ui/views/controls/textfield/textfield_test_api.h"
#include "ui/views/controls/textfield/textfield_unittest.h"
#include "ui/views/style/platform_style.h"
#include "ui/views/widget/widget.h"
namespace {
const char16_t kHebrewLetterSamekh = …;
}
namespace views {
namespace {
class TextareaTest : public test::TextfieldTest { … };
}
#if BUILDFLAG(USE_XKBCOMMON)
#define MAYBE_InsertNewlineTest …
#else
#define MAYBE_InsertNewlineTest …
#endif
TEST_F(TextareaTest, MAYBE_InsertNewlineTest) { … }
TEST_F(TextareaTest, PasteNewlineTest) { … }
TEST_F(TextareaTest, DISABLED_CursorMovement) { … }
TEST_F(TextareaTest, CursorViewBounds) { … }
TEST_F(TextareaTest, LineSelection) { … }
#if BUILDFLAG(IS_MAC)
#define MAYBE_MoveUpDownAndModifySelection …
#else
#define MAYBE_MoveUpDownAndModifySelection …
#endif
TEST_F(TextareaTest, MAYBE_MoveUpDownAndModifySelection) { … }
TEST_F(TextareaTest, MovePageUpDownAndModifySelection) { … }
TEST_F(TextareaTest, OverflowTest) { … }
TEST_F(TextareaTest, OverflowInRTLTest) { … }
TEST_F(TextareaTest, OnBlurTest) { … }
TEST_F(TextareaTest, MoveRangeSelectionExtentExpandByWord) { … }
TEST_F(TextareaTest, MoveRangeSelectionExtentShrinkByCharacter) { … }
}