Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdf_formfill_embeddertest.cpp File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include <vector>
#include "build/build_config.h"
#include "constants/ascii.h"
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "public/cpp/fpdf_scopers.h"
#include "public/fpdf_formfill.h"
#include "public/fpdf_fwlevent.h"
#include "public/fpdf_progressive.h"
#include "testing/embedder_test.h"
#include "testing/embedder_test_constants.h"
#include "testing/embedder_test_mock_delegate.h"
#include "testing/embedder_test_timer_handling_delegate.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/base/check.h"
#include "third_party/base/check_op.h"
+ Include dependency graph for fpdf_formfill_embeddertest.cpp:

Go to the source code of this file.

Classes

class  FPDFFormFillInteractiveEmbedderTest
 
class  FPDFFormFillTextFormEmbedderTest
 
class  FPDFFormFillComboBoxFormEmbedderTest
 
class  FPDFFormFillListBoxFormEmbedderTest
 
class  FPDFFormFillTextFormEmbedderTestVersion2
 
class  DoURIActionBlockedDelegate
 
class  FPDFXFAFormBug1055869EmbedderTest
 
class  FPDFXFAFormBug1058653EmbedderTest
 
class  FPDFFormFillActionUriTest
 
class  FPDFFormFillActionUriTestVersion2
 

Typedefs

using FPDFFormFillEmbedderTest = EmbedderTest
 

Functions

 TEST_F (FPDFFormFillEmbedderTest, FirstTest)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_487928)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_507316)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_514690)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_900552)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_901654)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_901654_2)
 
 TEST_F (FPDFFormFillEmbedderTest, GetFocusedAnnotation)
 
 TEST_F (FPDFFormFillEmbedderTest, SetFocusedAnnotation)
 
 TEST_F (FPDFFormFillEmbedderTest, FormFillFirstTab)
 
 TEST_F (FPDFFormFillEmbedderTest, FormFillFirstShiftTab)
 
 TEST_F (FPDFFormFillEmbedderTest, FormFillContinuousTab)
 
 TEST_F (FPDFFormFillEmbedderTest, FormFillContinuousShiftTab)
 
 TEST_F (FPDFFormFillEmbedderTest, TabWithModifiers)
 
 TEST_F (FPDFFormFillEmbedderTest, KeyPressWithNoFocusedAnnot)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_851821)
 
 TEST_F (FPDFFormFillEmbedderTest, CheckReadOnlyInCheckbox)
 
 TEST_F (FPDFFormFillEmbedderTest, CheckReadOnlyInRadiobutton)
 
 TEST_F (FPDFFormFillEmbedderTest, FormText)
 
 TEST_F (FPDFFormFillEmbedderTest, BUG_1281)
 
 TEST_F (FPDFFormFillEmbedderTest, Bug1302455RenderOnly)
 
 TEST_F (FPDFFormFillEmbedderTest, Bug1302455EditFirstForm)
 
 TEST_F (FPDFFormFillEmbedderTest, Bug1302455EditSecondForm)
 
 TEST_F (FPDFFormFillEmbedderTest, Bug1302455EditBothForms)
 
 TEST_F (FPDFFormFillEmbedderTest, RemoveFormFieldHighlight)
 
 TEST_F (FPDFFormFillEmbedderTest, HasFormInfoNone)
 
 TEST_F (FPDFFormFillEmbedderTest, HasFormInfoAcroForm)
 
 TEST_F (FPDFFormFillEmbedderTest, HasFormInfoXFAFull)
 
 TEST_F (FPDFFormFillEmbedderTest, HasFormInfoXFAForeground)
 
 TEST_F (FPDFFormFillEmbedderTest, BadApiInputsText)
 
 TEST_F (FPDFFormFillEmbedderTest, BadApiInputsComboBox)
 
 TEST_F (FPDFFormFillEmbedderTest, BadApiInputsListBox)
 
 TEST_F (FPDFFormFillEmbedderTest, HasFormFieldAtPointForXFADoc)
 
 TEST_F (FPDFFormFillEmbedderTest, SelectAllText)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, GetSelectedTextEmptyAndBasicKeyboard)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, GetSelectedTextEmptyAndBasicMouse)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, GetSelectedTextFragmentsKeyBoard)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, GetSelectedTextFragmentsMouse)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, GetSelectedTextEmptyAndBasicNormalComboBox)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, GetSelectedTextEmptyAndBasicEditableComboBoxKeyboard)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, GetSelectedTextEmptyAndBasicEditableComboBoxMouse)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, GetSelectedTextFragmentsNormalComboBox)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, GetSelectedTextFragmentsEditableComboBoxKeyboard)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, GetSelectedTextFragmentsEditableComboBoxMouse)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, SetSelectionProgrammaticallyNonEditableField)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, SetSelectionProgrammaticallyEditableField)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, CheckIfIndexSelectedNonEditableField)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, CheckIfIndexSelectedEditableField)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, DeleteTextFieldEntireSelection)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, DeleteTextFieldSelectionMiddle)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, DeleteTextFieldSelectionLeft)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, DeleteTextFieldSelectionRight)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, DeleteEmptyTextFieldSelection)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, DeleteEditableComboBoxEntireSelection)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, DeleteEditableComboBoxSelectionMiddle)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, DeleteEditableComboBoxSelectionLeft)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, DeleteEditableComboBoxSelectionRight)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, DeleteEmptyEditableComboBoxSelection)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInEmptyTextField)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInPopulatedTextFieldLeft)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInPopulatedTextFieldMiddle)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInPopulatedTextFieldRight)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedTextFieldWhole)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedTextFieldLeft)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedTextFieldMiddle)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedTextFieldRight)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextInEmptyEditableComboBox)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextInPopulatedEditableComboBoxLeft)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextInPopulatedEditableComboBoxMiddle)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextInPopulatedEditableComboBoxRight)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedEditableComboBoxWhole)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedEditableComboBoxLeft)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedEditableComboBoxMiddle)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedEditableComboBoxRight)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, CheckIfEnterAndSpaceKeyAreHandled)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, CheckIfEnterAndSpaceKeyAreHandledOnEditableFormField)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInEmptyCharLimitTextFieldOverflow)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInEmptyCharLimitTextFieldFit)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInPopulatedCharLimitTextFieldLeft)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInPopulatedCharLimitTextFieldMiddle)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextInPopulatedCharLimitTextFieldRight)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldWhole)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldLeft)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldMiddle)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldRight)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, DoubleClickInTextField)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, FocusAnnotationUpdateToEmbedder)
 
 TEST_F (FPDFFormFillTextFormEmbedderTestVersion2, FocusAnnotationUpdateToEmbedder)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, FocusChanges)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, FocusChanges)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, UndoRedo)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, SetIndexSelectedShouldFailGracefully)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, IsIndexSelectedShouldFailGracefully)
 
 TEST_F (FPDFFormFillComboBoxFormEmbedderTest, UndoRedo)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, CheckIfIndexSelectedSingleSelectField)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, CheckIfIndexSelectedMultiSelectField)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, SetSelectionProgrammaticallySingleSelectField)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, SetSelectionProgrammaticallyMultiSelectField)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, CheckIfMultipleSelectedIndices)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, CheckIfMultipleSelectedValues)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, CheckIfMultipleSelectedMismatch)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, CheckIfVerticalScrollIsAtFirstSelected)
 
 TEST_F (FPDFFormFillListBoxFormEmbedderTest, CheckForNoOverscroll)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, ReplaceAndKeepSelection)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, ContinuouslyReplaceAndKeepSelection)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, ReplaceSelection)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, ContinuouslyReplaceSelection)
 
 TEST_F (FPDFFormFillTextFormEmbedderTest, SelectAllWithKeyboardShortcut)
 
 TEST_F (FPDFXFAFormBug1055869EmbedderTest, Paste)
 
 TEST_F (FPDFXFAFormBug1058653EmbedderTest, Paste)
 
 TEST_F (FPDFFormFillActionUriTest, ButtonActionInvokeTest)
 
 TEST_F (FPDFFormFillActionUriTest, LinkActionInvokeTest)
 
 TEST_F (FPDFFormFillActionUriTest, InternalLinkActionInvokeTest)
 
 TEST_F (FPDFFormFillActionUriTestVersion2, LinkActionInvokeTest)
 

Typedef Documentation

◆ FPDFFormFillEmbedderTest

Function Documentation

◆ TEST_F() [1/114]

TEST_F ( FPDFFormFillActionUriTest ,
ButtonActionInvokeTest  )

Definition at line 3514 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Tab, and pdfium::ascii::kReturn.

◆ TEST_F() [2/114]

◆ TEST_F() [3/114]

◆ TEST_F() [4/114]

◆ TEST_F() [5/114]

◆ TEST_F() [6/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
CheckIfEnterAndSpaceKeyAreHandledOnEditableFormField  )

◆ TEST_F() [7/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
CheckIfIndexSelectedEditableField  )

Definition at line 2059 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [8/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
CheckIfIndexSelectedNonEditableField  )

Definition at line 2043 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [9/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
DeleteEditableComboBoxEntireSelection  )

Definition at line 2144 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [10/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
DeleteEditableComboBoxSelectionLeft  )

Definition at line 2174 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [11/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
DeleteEditableComboBoxSelectionMiddle  )

Definition at line 2159 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [12/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
DeleteEditableComboBoxSelectionRight  )

Definition at line 2188 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [13/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
DeleteEmptyEditableComboBoxSelection  )

Definition at line 2202 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [14/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
FocusChanges  )

Definition at line 2857 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [15/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
GetSelectedTextEmptyAndBasicEditableComboBoxKeyboard  )

Definition at line 1836 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [16/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
GetSelectedTextEmptyAndBasicEditableComboBoxMouse  )

Definition at line 1854 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [17/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
GetSelectedTextEmptyAndBasicNormalComboBox  )

Definition at line 1819 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [18/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
GetSelectedTextFragmentsEditableComboBoxKeyboard  )

Definition at line 1904 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left, and FWL_VKEY_Right.

◆ TEST_F() [19/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
GetSelectedTextFragmentsEditableComboBoxMouse  )

Definition at line 1938 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [20/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
GetSelectedTextFragmentsNormalComboBox  )

Definition at line 1870 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [21/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedEditableComboBoxLeft  )

Definition at line 2461 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [22/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedEditableComboBoxMiddle  )

Definition at line 2481 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [23/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedEditableComboBoxRight  )

Definition at line 2501 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [24/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedEditableComboBoxWhole  )

Definition at line 2441 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [25/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextInEmptyEditableComboBox  )

Definition at line 2369 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [26/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextInPopulatedEditableComboBoxLeft  )

Definition at line 2386 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [27/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextInPopulatedEditableComboBoxMiddle  )

Definition at line 2404 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [28/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
InsertTextInPopulatedEditableComboBoxRight  )

Definition at line 2423 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [29/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
SetSelectionProgrammaticallyEditableField  )

Definition at line 1999 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [30/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
SetSelectionProgrammaticallyNonEditableField  )

Definition at line 1964 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [31/114]

TEST_F ( FPDFFormFillComboBoxFormEmbedderTest ,
UndoRedo  )

Definition at line 2988 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [32/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BadApiInputsComboBox  )

Definition at line 1663 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [33/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BadApiInputsListBox  )

Definition at line 1676 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [34/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BadApiInputsText  )

Definition at line 1646 of file fpdf_formfill_embeddertest.cpp.

References FORM_IsIndexSelected(), and FORM_SetIndexSelected().

+ Here is the call graph for this function:

◆ TEST_F() [35/114]

TEST_F ( FPDFFormFillEmbedderTest ,
Bug1302455EditBothForms  )

Definition at line 1542 of file fpdf_formfill_embeddertest.cpp.

References CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [36/114]

TEST_F ( FPDFFormFillEmbedderTest ,
Bug1302455EditFirstForm  )

Definition at line 1462 of file fpdf_formfill_embeddertest.cpp.

References CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [37/114]

TEST_F ( FPDFFormFillEmbedderTest ,
Bug1302455EditSecondForm  )

Definition at line 1502 of file fpdf_formfill_embeddertest.cpp.

References CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [38/114]

TEST_F ( FPDFFormFillEmbedderTest ,
Bug1302455RenderOnly  )

Definition at line 1440 of file fpdf_formfill_embeddertest.cpp.

References CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [39/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_1281  )

Definition at line 1417 of file fpdf_formfill_embeddertest.cpp.

References pdfium::Bug890322Checksum(), and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [40/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_487928  )

Definition at line 613 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTestTimerHandlingDelegate::AdvanceTime().

+ Here is the call graph for this function:

◆ TEST_F() [41/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_507316  )

Definition at line 625 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTestTimerHandlingDelegate::AdvanceTime().

+ Here is the call graph for this function:

◆ TEST_F() [42/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_514690  )

Definition at line 637 of file fpdf_formfill_embeddertest.cpp.

References FORM_OnMouseMove().

+ Here is the call graph for this function:

◆ TEST_F() [43/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_851821  )

Definition at line 1002 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [44/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_900552  )

Definition at line 649 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTestTimerHandlingDelegate::AdvanceTime(), FPDF_RenderPageBitmap_Start(), FPDFBitmap_Create(), and FPDFBitmap_Destroy().

+ Here is the call graph for this function:

◆ TEST_F() [45/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_901654  )

Definition at line 667 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTestTimerHandlingDelegate::AdvanceTime().

+ Here is the call graph for this function:

◆ TEST_F() [46/114]

TEST_F ( FPDFFormFillEmbedderTest ,
BUG_901654_2  )

Definition at line 686 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTestTimerHandlingDelegate::AdvanceTime().

+ Here is the call graph for this function:

◆ TEST_F() [47/114]

TEST_F ( FPDFFormFillEmbedderTest ,
CheckReadOnlyInCheckbox  )

Definition at line 1014 of file fpdf_formfill_embeddertest.cpp.

References FPDFPage_CloseAnnot(), FPDFPage_GetAnnotIndex(), FWL_EVENTFLAG_ShiftKey, FWL_VKEY_Tab, pdfium::ascii::kReturn, and pdfium::ascii::kSpace.

+ Here is the call graph for this function:

◆ TEST_F() [48/114]

TEST_F ( FPDFFormFillEmbedderTest ,
CheckReadOnlyInRadiobutton  )

Definition at line 1049 of file fpdf_formfill_embeddertest.cpp.

References FPDFPage_CloseAnnot(), FPDFPage_GetAnnotIndex(), FWL_VKEY_Tab, pdfium::ascii::kReturn, and pdfium::ascii::kSpace.

+ Here is the call graph for this function:

◆ TEST_F() [49/114]

TEST_F ( FPDFFormFillEmbedderTest ,
FirstTest  )

Definition at line 595 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [50/114]

TEST_F ( FPDFFormFillEmbedderTest ,
FormFillContinuousShiftTab  )

Definition at line 851 of file fpdf_formfill_embeddertest.cpp.

References FPDFPage_CloseAnnot(), FPDFPage_GetAnnotIndex(), FWL_EVENTFLAG_ShiftKey, and FWL_VKEY_Tab.

+ Here is the call graph for this function:

◆ TEST_F() [51/114]

TEST_F ( FPDFFormFillEmbedderTest ,
FormFillContinuousTab  )

Definition at line 827 of file fpdf_formfill_embeddertest.cpp.

References FPDFPage_CloseAnnot(), FPDFPage_GetAnnotIndex(), and FWL_VKEY_Tab.

+ Here is the call graph for this function:

◆ TEST_F() [52/114]

TEST_F ( FPDFFormFillEmbedderTest ,
FormFillFirstShiftTab  )

Definition at line 808 of file fpdf_formfill_embeddertest.cpp.

References FPDFPage_CloseAnnot(), FPDFPage_GetAnnotIndex(), FWL_EVENTFLAG_ShiftKey, and FWL_VKEY_Tab.

+ Here is the call graph for this function:

◆ TEST_F() [53/114]

TEST_F ( FPDFFormFillEmbedderTest ,
FormFillFirstTab  )

Definition at line 790 of file fpdf_formfill_embeddertest.cpp.

References FPDFPage_CloseAnnot(), FPDFPage_GetAnnotIndex(), and FWL_VKEY_Tab.

+ Here is the call graph for this function:

◆ TEST_F() [54/114]

TEST_F ( FPDFFormFillEmbedderTest ,
FormText  )

Definition at line 1335 of file fpdf_formfill_embeddertest.cpp.

References pdfium::TextFormChecksum(), and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [55/114]

TEST_F ( FPDFFormFillEmbedderTest ,
GetFocusedAnnotation  )

Definition at line 705 of file fpdf_formfill_embeddertest.cpp.

References FORM_GetFocusedAnnot(), and FPDFPage_CloseAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [56/114]

TEST_F ( FPDFFormFillEmbedderTest ,
HasFormFieldAtPointForXFADoc  )

Definition at line 1689 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [57/114]

TEST_F ( FPDFFormFillEmbedderTest ,
HasFormInfoAcroForm  )

Definition at line 1631 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [58/114]

TEST_F ( FPDFFormFillEmbedderTest ,
HasFormInfoNone  )

Definition at line 1626 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [59/114]

TEST_F ( FPDFFormFillEmbedderTest ,
HasFormInfoXFAForeground  )

Definition at line 1641 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [60/114]

TEST_F ( FPDFFormFillEmbedderTest ,
HasFormInfoXFAFull  )

Definition at line 1636 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [61/114]

◆ TEST_F() [62/114]

TEST_F ( FPDFFormFillEmbedderTest ,
RemoveFormFieldHighlight  )

Definition at line 1589 of file fpdf_formfill_embeddertest.cpp.

References pdfium::TextFormChecksum(), and CFX_DefaultRenderDevice::UseSkiaRenderer().

+ Here is the call graph for this function:

◆ TEST_F() [63/114]

TEST_F ( FPDFFormFillEmbedderTest ,
SelectAllText  )

Definition at line 1707 of file fpdf_formfill_embeddertest.cpp.

References FORM_SelectAllText(), and GetPlatformString().

+ Here is the call graph for this function:

◆ TEST_F() [64/114]

TEST_F ( FPDFFormFillEmbedderTest ,
SetFocusedAnnotation  )

Definition at line 750 of file fpdf_formfill_embeddertest.cpp.

References FORM_SetFocusedAnnot(), and FPDFPage_CloseAnnot().

+ Here is the call graph for this function:

◆ TEST_F() [65/114]

◆ TEST_F() [66/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
CheckForNoOverscroll  )

Definition at line 3241 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [67/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
CheckIfIndexSelectedMultiSelectField  )

Definition at line 3037 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [68/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
CheckIfIndexSelectedSingleSelectField  )

Definition at line 3023 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [69/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
CheckIfMultipleSelectedIndices  )

Definition at line 3196 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [70/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
CheckIfMultipleSelectedMismatch  )

Definition at line 3216 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [71/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
CheckIfMultipleSelectedValues  )

Definition at line 3206 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [72/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
CheckIfVerticalScrollIsAtFirstSelected  )

Definition at line 3226 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [73/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
SetSelectionProgrammaticallyMultiSelectField  )

Definition at line 3123 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [74/114]

TEST_F ( FPDFFormFillListBoxFormEmbedderTest ,
SetSelectionProgrammaticallySingleSelectField  )

Definition at line 3057 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [75/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
ContinuouslyReplaceAndKeepSelection  )

Definition at line 3293 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [76/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
ContinuouslyReplaceSelection  )

Definition at line 3376 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [77/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
DeleteEmptyTextFieldSelection  )

Definition at line 2132 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [78/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
DeleteTextFieldEntireSelection  )

Definition at line 2073 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [79/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
DeleteTextFieldSelectionLeft  )

Definition at line 2104 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [80/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
DeleteTextFieldSelectionMiddle  )

Definition at line 2089 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [81/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
DeleteTextFieldSelectionRight  )

Definition at line 2118 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [82/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
DoubleClickInTextField  )

Definition at line 2784 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [83/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
FocusAnnotationUpdateToEmbedder  )

Definition at line 2800 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [84/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
FocusChanges  )

Definition at line 2824 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [85/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
GetSelectedTextEmptyAndBasicKeyboard  )

Definition at line 1745 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [86/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
GetSelectedTextEmptyAndBasicMouse  )

Definition at line 1757 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [87/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
GetSelectedTextFragmentsKeyBoard  )

Definition at line 1769 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left, and FWL_VKEY_Right.

◆ TEST_F() [88/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
GetSelectedTextFragmentsMouse  )

Definition at line 1795 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [89/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldLeft  )

Definition at line 2724 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [90/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldMiddle  )

Definition at line 2744 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [91/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldRight  )

Definition at line 2764 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [92/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedCharLimitTextFieldWhole  )

Definition at line 2704 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [93/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedTextFieldLeft  )

Definition at line 2308 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [94/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedTextFieldMiddle  )

Definition at line 2329 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [95/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedTextFieldRight  )

Definition at line 2349 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [96/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextAndReplaceSelectionInPopulatedTextFieldWhole  )

Definition at line 2287 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left.

◆ TEST_F() [97/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInEmptyCharLimitTextFieldFit  )

Definition at line 2623 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [98/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInEmptyCharLimitTextFieldOverflow  )

Definition at line 2596 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [99/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInEmptyTextField  )

Definition at line 2214 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [100/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInPopulatedCharLimitTextFieldLeft  )

Definition at line 2648 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [101/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInPopulatedCharLimitTextFieldMiddle  )

Definition at line 2664 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [102/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInPopulatedCharLimitTextFieldRight  )

Definition at line 2686 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [103/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInPopulatedTextFieldLeft  )

Definition at line 2231 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [104/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInPopulatedTextFieldMiddle  )

Definition at line 2251 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [105/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
InsertTextInPopulatedTextFieldRight  )

Definition at line 2269 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [106/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
IsIndexSelectedShouldFailGracefully  )

Definition at line 2978 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [107/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
ReplaceAndKeepSelection  )

Definition at line 3260 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Left, and FWL_VKEY_Right.

◆ TEST_F() [108/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
ReplaceSelection  )

Definition at line 3328 of file fpdf_formfill_embeddertest.cpp.

References FWL_VKEY_Right.

◆ TEST_F() [109/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
SelectAllWithKeyboardShortcut  )

◆ TEST_F() [110/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
SetIndexSelectedShouldFailGracefully  )

Definition at line 2963 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [111/114]

TEST_F ( FPDFFormFillTextFormEmbedderTest ,
UndoRedo  )

Definition at line 2931 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [112/114]

TEST_F ( FPDFFormFillTextFormEmbedderTestVersion2 ,
FocusAnnotationUpdateToEmbedder  )

Definition at line 2814 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [113/114]

TEST_F ( FPDFXFAFormBug1055869EmbedderTest ,
Paste  )

Definition at line 3452 of file fpdf_formfill_embeddertest.cpp.

◆ TEST_F() [114/114]

TEST_F ( FPDFXFAFormBug1058653EmbedderTest ,
Paste  )

Definition at line 3468 of file fpdf_formfill_embeddertest.cpp.