#include "fpdfsdk/pwl/cpwl_edit.h"
#include <utility>
#include "fpdfsdk/cpdfsdk_annotiterator.h"
#include "fpdfsdk/cpdfsdk_formfillenvironment.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "fpdfsdk/cpdfsdk_widget.h"
#include "fpdfsdk/formfiller/cffl_formfield.h"
#include "fpdfsdk/formfiller/cffl_interactiveformfiller.h"
#include "public/fpdf_fwlevent.h"
#include "testing/embedder_test.h"
#include "testing/gtest/include/gtest/gtest.h"
class CPWLEditEmbedderTest : public EmbedderTest { … };
TEST_F(CPWLEditEmbedderTest, TypeText) { … }
TEST_F(CPWLEditEmbedderTest, GetSelectedTextEmptyAndBasic) { … }
TEST_F(CPWLEditEmbedderTest, GetSelectedTextFragments) { … }
TEST_F(CPWLEditEmbedderTest, DeleteEntireTextSelection) { … }
TEST_F(CPWLEditEmbedderTest, DeleteTextSelectionMiddle) { … }
TEST_F(CPWLEditEmbedderTest, DeleteTextSelectionLeft) { … }
TEST_F(CPWLEditEmbedderTest, DeleteTextSelectionRight) { … }
TEST_F(CPWLEditEmbedderTest, DeleteEmptyTextSelection) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInEmptyTextField) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInPopulatedTextFieldLeft) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInPopulatedTextFieldMiddle) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInPopulatedTextFieldRight) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedTextFieldWhole) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedTextFieldLeft) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedTextFieldMiddle) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedTextFieldRight) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInEmptyCharLimitTextFieldOverflow) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInEmptyCharLimitTextFieldFit) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInPopulatedCharLimitTextFieldLeft) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInPopulatedCharLimitTextFieldMiddle) { … }
TEST_F(CPWLEditEmbedderTest, InsertTextInPopulatedCharLimitTextFieldRight) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldWhole) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldLeft) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldMiddle) { … }
TEST_F(CPWLEditEmbedderTest,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldRight) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithEndCarriageFeed) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithEndNewline) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithEndCarriageFeedAndNewLine) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithEndNewLineAndCarriageFeed) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithBodyCarriageFeed) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithBodyNewline) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithBodyCarriageFeedAndNewLine) { … }
TEST_F(CPWLEditEmbedderTest, SetTextWithBodyNewLineAndCarriageFeed) { … }
TEST_F(CPWLEditEmbedderTest, ReplaceAndKeepSelection) { … }