Flutter Engine
The Flutter Engine
|
Namespaces | |
namespace | win |
Typedefs | |
using | TestPositionType = std::unique_ptr< AXPosition< AXNodePosition, AXNode > > |
using | TestPositionRange = AXRange< AXPosition< AXNodePosition, AXNode > > |
using | TestPositionInstance = std::unique_ptr< AXPosition< AXNodePosition, AXNode > > |
using | AXTreeUpdate = AXTreeUpdateBase< AXNodeData, AXTreeData > |
using | UniqueIdMap = std::unordered_map< int32_t, AXPlatformNode * > |
using | TextAttribute = std::pair< std::string, std::string > |
using | TextAttributeList = std::vector< TextAttribute > |
using | TextAttributeMap = std::map< int, TextAttributeList > |
Enumerations | |
enum class | AXClippingBehavior { kUnclipped , kClipped } |
enum class | AXCoordinateSystem { kScreenPhysicalPixels , kScreenDIPs , kRootFrame , kFrame } |
enum class | AXOffscreenResult { kOnscreen , kOffscreen } |
enum class | AXPositionKind { NULL_POSITION , TREE_POSITION , TEXT_POSITION } |
enum class | AXBoundaryBehavior { CrossBoundary , StopAtAnchorBoundary , StopIfAlreadyAtBoundary , StopAtLastAnchorBoundary } |
enum class | AXBoundaryType { kNone , kUnitBoundary , kDocumentStart , kDocumentEnd } |
enum class | AXPositionAdjustmentBehavior { kMoveBackward , kMoveForward } |
enum class | AXRangeExpandBehavior { kLeftFirst , kRightFirst } |
enum class | AXEmbeddedObjectBehavior { kExposeCharacter , kSuppressCharacter } |
enum class | AXTextConcatenationBehavior { kAsInnerText , kAsTextContent } |
enum class | AXTreePendingStructureStatus { kNotStarted , kComputing , kComplete , kFailed } |
Functions | |
std::optional< int32_t > | GetActivePopupAxUniqueId () |
void | SetActivePopupAxUniqueId (std::optional< int32_t > ax_unique_id) |
void | ClearActivePopupAxUniqueId () |
const char * | ToString (ax::mojom::Event event) |
ax::mojom::Event | ParseEvent (const char *event) |
const char * | ToString (ax::mojom::Role role) |
ax::mojom::Role | ParseRole (const char *role) |
const char * | ToString (ax::mojom::State state) |
ax::mojom::State | ParseState (const char *state) |
const char * | ToString (ax::mojom::Action action) |
ax::mojom::Action | ParseAction (const char *action) |
const char * | ToString (ax::mojom::ActionFlags action_flags) |
ax::mojom::ActionFlags | ParseActionFlags (const char *action_flags) |
const char * | ToString (ax::mojom::ScrollAlignment scroll_alignment) |
ax::mojom::ScrollAlignment | ParseScrollAlignment (const char *scroll_alignment) |
const char * | ToString (ax::mojom::DefaultActionVerb default_action_verb) |
ax::mojom::DefaultActionVerb | ParseDefaultActionVerb (const char *default_action_verb) |
const char * | ToString (ax::mojom::Mutation mutation) |
ax::mojom::Mutation | ParseMutation (const char *mutation) |
const char * | ToString (ax::mojom::StringAttribute string_attribute) |
ax::mojom::StringAttribute | ParseStringAttribute (const char *string_attribute) |
const char * | ToString (ax::mojom::IntAttribute int_attribute) |
ax::mojom::IntAttribute | ParseIntAttribute (const char *int_attribute) |
const char * | ToString (ax::mojom::FloatAttribute float_attribute) |
ax::mojom::FloatAttribute | ParseFloatAttribute (const char *float_attribute) |
const char * | ToString (ax::mojom::BoolAttribute bool_attribute) |
ax::mojom::BoolAttribute | ParseBoolAttribute (const char *bool_attribute) |
const char * | ToString (ax::mojom::IntListAttribute int_list_attribute) |
ax::mojom::IntListAttribute | ParseIntListAttribute (const char *int_list_attribute) |
const char * | ToString (ax::mojom::StringListAttribute string_list_attribute) |
ax::mojom::StringListAttribute | ParseStringListAttribute (const char *string_list_attribute) |
const char * | ToString (ax::mojom::ListStyle list_style) |
ax::mojom::ListStyle | ParseListStyle (const char *list_style) |
const char * | ToString (ax::mojom::MarkerType marker_type) |
ax::mojom::MarkerType | ParseMarkerType (const char *marker_type) |
const char * | ToString (ax::mojom::MoveDirection move_direction) |
ax::mojom::MoveDirection | ParseMoveDirection (const char *move_direction) |
const char * | ToString (ax::mojom::Command command) |
ax::mojom::Command | ParseCommand (const char *command) |
const char * | ToString (ax::mojom::TextBoundary text_boundary) |
ax::mojom::TextBoundary | ParseTextBoundary (const char *text_boundary) |
const char * | ToString (ax::mojom::TextDecorationStyle text_decoration_style) |
ax::mojom::TextDecorationStyle | ParseTextDecorationStyle (const char *text_decoration_style) |
const char * | ToString (ax::mojom::TextAlign text_align) |
ax::mojom::TextAlign | ParseTextAlign (const char *text_align) |
const char * | ToString (ax::mojom::WritingDirection text_direction) |
ax::mojom::WritingDirection | ParseTextDirection (const char *text_direction) |
const char * | ToString (ax::mojom::TextPosition text_position) |
ax::mojom::TextPosition | ParseTextPosition (const char *text_position) |
const char * | ToString (ax::mojom::TextStyle text_style) |
ax::mojom::TextStyle | ParseTextStyle (const char *text_style) |
const char * | ToString (ax::mojom::AriaCurrentState aria_current_state) |
ax::mojom::AriaCurrentState | ParseAriaCurrentState (const char *aria_current_state) |
const char * | ToString (ax::mojom::HasPopup has_popup) |
ax::mojom::HasPopup | ParseHasPopup (const char *has_popup) |
const char * | ToString (ax::mojom::InvalidState invalid_state) |
ax::mojom::InvalidState | ParseInvalidState (const char *invalid_state) |
const char * | ToString (ax::mojom::Restriction restriction) |
ax::mojom::Restriction | ParseRestriction (const char *restriction) |
const char * | ToString (ax::mojom::CheckedState checked_state) |
ax::mojom::CheckedState | ParseCheckedState (const char *checked_state) |
const char * | ToString (ax::mojom::SortDirection sort_direction) |
ax::mojom::SortDirection | ParseSortDirection (const char *sort_direction) |
const char * | ToString (ax::mojom::NameFrom name_from) |
ax::mojom::NameFrom | ParseNameFrom (const char *name_from) |
const char * | ToString (ax::mojom::DescriptionFrom description_from) |
ax::mojom::DescriptionFrom | ParseDescriptionFrom (const char *description_from) |
const char * | ToString (ax::mojom::EventFrom event_from) |
ax::mojom::EventFrom | ParseEventFrom (const char *event_from) |
const char * | ToString (ax::mojom::Gesture gesture) |
ax::mojom::Gesture | ParseGesture (const char *gesture) |
const char * | ToString (ax::mojom::TextAffinity text_affinity) |
ax::mojom::TextAffinity | ParseTextAffinity (const char *text_affinity) |
const char * | ToString (ax::mojom::TreeOrder tree_order) |
ax::mojom::TreeOrder | ParseTreeOrder (const char *tree_order) |
const char * | ToString (ax::mojom::ImageAnnotationStatus status) |
ax::mojom::ImageAnnotationStatus | ParseImageAnnotationStatus (const char *status) |
const char * | ToString (ax::mojom::Dropeffect dropeffect) |
ax::mojom::Dropeffect | ParseDropeffect (const char *dropeffect) |
AX_BASE_EXPORT std::string | ToLocalizedString (ax::mojom::DefaultActionVerb action_verb) |
template<typename T > | |
void | TestEnumStringConversion (T(ParseFunction)(const char *), int32_t(step)(int32_t)=[](int32_t val) { return val+1;}) |
template<typename T , typename U > | |
void | TestAXNodeDataSetter (void(AXNodeData::*Setter)(T, const U &), const U &value) |
template<typename T , typename U > | |
void | TestAXNodeDataSetter (void(AXNodeData::*Setter)(T, U), U value) |
TEST (AXEnumUtilTest, Event) | |
TEST (AXEnumUtilTest, Role) | |
TEST (AXEnumUtilTest, State) | |
TEST (AXEnumUtilTest, Action) | |
TEST (AXEnumUtilTest, ActionFlags) | |
TEST (AXEnumUtilTest, DefaultActionVerb) | |
TEST (AXEnumUtilTest, Mutation) | |
TEST (AXEnumUtilTest, StringAttribute) | |
TEST (AXEnumUtilTest, IntAttribute) | |
TEST (AXEnumUtilTest, FloatAttribute) | |
TEST (AXEnumUtilTest, BoolAttribute) | |
TEST (AXEnumUtilTest, IntListAttribute) | |
TEST (AXEnumUtilTest, StringListAttribute) | |
TEST (AXEnumUtilTest, MarkerType) | |
TEST (AXEnumUtilTest, Text_Decoration_Style) | |
TEST (AXEnumUtilTest, ListStyle) | |
TEST (AXEnumUtilTest, MoveDirection) | |
TEST (AXEnumUtilTest, Command) | |
TEST (AXEnumUtilTest, TextAlign) | |
TEST (AXEnumUtilTest, TextBoundary) | |
TEST (AXEnumUtilTest, TextDirection) | |
TEST (AXEnumUtilTest, TextPosition) | |
TEST (AXEnumUtilTest, TextStyle) | |
TEST (AXEnumUtilTest, AriaCurrentState) | |
TEST (AXEnumUtilTest, HasPopup) | |
TEST (AXEnumUtilTest, InvalidState) | |
TEST (AXEnumUtilTest, Restriction) | |
TEST (AXEnumUtilTest, CheckedState) | |
TEST (AXEnumUtilTest, SortDirection) | |
TEST (AXEnumUtilTest, NameFrom) | |
TEST (AXEnumUtilTest, DescriptionFrom) | |
TEST (AXEnumUtilTest, EventFrom) | |
TEST (AXEnumUtilTest, Gesture) | |
TEST (AXEnumUtilTest, TextAffinity) | |
TEST (AXEnumUtilTest, TreeOrder) | |
TEST (AXEnumUtilTest, ImageAnnotationStatus) | |
TEST (AXEnumUtilTest, Dropeffect) | |
std::ostream & | operator<< (std::ostream &os, AXEventGenerator::Event event) |
const char * | ToString (AXEventGenerator::Event event) |
TEST (AXEventGeneratorTest, LoadCompleteSameTree) | |
TEST (AXEventGeneratorTest, LoadCompleteNewTree) | |
TEST (AXEventGeneratorTest, LoadStart) | |
TEST (AXEventGeneratorTest, DocumentSelectionChanged) | |
TEST (AXEventGeneratorTest, DocumentTitleChanged) | |
TEST (AXEventGeneratorTest, FocusIdUnchanged) | |
TEST (AXEventGeneratorTest, FocusIdChanged) | |
TEST (AXEventGeneratorTest, ExpandedAndRowCount) | |
TEST (AXEventGeneratorTest, SelectedAndSelectedChildren) | |
TEST (AXEventGeneratorTest, StringValueChanged) | |
TEST (AXEventGeneratorTest, FloatValueChanged) | |
TEST (AXEventGeneratorTest, InvalidStatusChanged) | |
TEST (AXEventGeneratorTest, AddLiveRegionAttribute) | |
TEST (AXEventGeneratorTest, CheckedStateChanged) | |
TEST (AXEventGeneratorTest, ActiveDescendantChanged) | |
TEST (AXEventGeneratorTest, CreateAlertAndLiveRegion) | |
TEST (AXEventGeneratorTest, LiveRegionChanged) | |
TEST (AXEventGeneratorTest, LiveRegionOnlyTextChanges) | |
TEST (AXEventGeneratorTest, BusyLiveRegionChanged) | |
TEST (AXEventGeneratorTest, AddChild) | |
TEST (AXEventGeneratorTest, RemoveChild) | |
TEST (AXEventGeneratorTest, ReorderChildren) | |
TEST (AXEventGeneratorTest, ScrollHorizontalPositionChanged) | |
TEST (AXEventGeneratorTest, ScrollVerticalPositionChanged) | |
TEST (AXEventGeneratorTest, TextAttributeChanged) | |
TEST (AXEventGeneratorTest, ObjectAttributeChanged) | |
TEST (AXEventGeneratorTest, OtherAttributeChanged) | |
TEST (AXEventGeneratorTest, NameChanged) | |
TEST (AXEventGeneratorTest, DescriptionChanged) | |
TEST (AXEventGeneratorTest, RoleChanged) | |
TEST (AXEventGeneratorTest, MenuItemSelected) | |
TEST (AXEventGeneratorTest, NodeBecomesIgnored) | |
TEST (AXEventGeneratorTest, NodeBecomesIgnored2) | |
TEST (AXEventGeneratorTest, NodeBecomesUnignored) | |
TEST (AXEventGeneratorTest, NodeBecomesUnignored2) | |
TEST (AXEventGeneratorTest, SubtreeBecomesUnignored) | |
TEST (AXEventGeneratorTest, TwoNodesSwapIgnored) | |
TEST (AXEventGeneratorTest, TwoNodesSwapIgnored2) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly1) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly2) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly3) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly4) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly5) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly6) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly7) | |
TEST (AXEventGeneratorTest, IgnoredChangedFiredOnAncestorOnly8) | |
TEST (AXEventGeneratorTest, ActiveDescendantChangeOnDescendant) | |
TEST (AXEventGeneratorTest, ImageAnnotationChanged) | |
TEST (AXEventGeneratorTest, ImageAnnotationStatusChanged) | |
TEST (AXEventGeneratorTest, StringPropertyChanges) | |
TEST (AXEventGeneratorTest, IntPropertyChanges) | |
TEST (AXEventGeneratorTest, IntListPropertyChanges) | |
TEST (AXEventGeneratorTest, AriaBusyChanged) | |
TEST (AXEventGeneratorTest, MultiselectableStateChanged) | |
TEST (AXEventGeneratorTest, RequiredStateChanged) | |
TEST (AXEventGeneratorTest, FlowToChanged) | |
TEST (AXEventGeneratorTest, ControlsChanged) | |
TEST (AXEventGeneratorTest, AtomicChanged) | |
TEST (AXEventGeneratorTest, DropeffectChanged) | |
TEST (AXEventGeneratorTest, GrabbedChanged) | |
TEST (AXEventGeneratorTest, HasPopupChanged) | |
TEST (AXEventGeneratorTest, LiveRelevantChanged) | |
TEST (AXEventGeneratorTest, MultilineStateChanged) | |
bool | operator== (const AXEventIntent &a, const AXEventIntent &b) |
bool | operator!= (const AXEventIntent &a, const AXEventIntent &b) |
std::ostream & | operator<< (std::ostream &stream, const AXMode &mode) |
static constexpr AXMode | kAXModeWebContentsOnly (AXMode::kWebContents|AXMode::kInlineTextBoxes|AXMode::kScreenReader|AXMode::kHTML) |
static constexpr AXMode | kAXModeComplete (AXMode::kNativeAPIs|AXMode::kWebContents|AXMode::kInlineTextBoxes|AXMode::kScreenReader|AXMode::kHTML) |
std::ostream & | operator<< (std::ostream &stream, const AXNode &node) |
bool | IsNodeIdIntAttribute (ax::mojom::IntAttribute attr) |
bool | IsNodeIdIntListAttribute (ax::mojom::IntListAttribute attr) |
TEST (AXNodeDataTest, GetAndSetCheckedState) | |
TEST (AXNodeDataTest, TextAttributes) | |
TEST (AXNodeDataTest, IsButtonPressed) | |
TEST (AXNodeDataTest, IsClickable) | |
TEST (AXNodeDataTest, IsInvocable) | |
TEST (AXNodeDataTest, IsMenuButton) | |
TEST (AXNodeDataTest, SupportsExpandCollapse) | |
TEST (AXNodeDataTest, BitFieldsSanityCheck) | |
TEST_F (AXPositionTest, Clone) | |
TEST_F (AXPositionTest, Serialize) | |
TEST_F (AXPositionTest, ToString) | |
TEST_F (AXPositionTest, IsIgnored) | |
TEST_F (AXPositionTest, GetTextFromNullPosition) | |
TEST_F (AXPositionTest, GetTextFromRoot) | |
TEST_F (AXPositionTest, GetTextFromButton) | |
TEST_F (AXPositionTest, GetTextFromCheckbox) | |
TEST_F (AXPositionTest, GetTextFromTextField) | |
TEST_F (AXPositionTest, GetTextFromStaticText) | |
TEST_F (AXPositionTest, GetTextFromInlineTextBox) | |
TEST_F (AXPositionTest, GetTextFromLineBreak) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromNullPosition) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromRoot) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromButton) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromCheckbox) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromTextfield) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromStaticText) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromInlineTextBox) | |
TEST_F (AXPositionTest, GetMaxTextOffsetFromLineBreak) | |
TEST_F (AXPositionTest, GetMaxTextOffsetUpdate) | |
TEST_F (AXPositionTest, GetMaxTextOffsetAndGetTextWithGeneratedContent) | |
TEST_F (AXPositionTest, AtStartOfAnchorWithNullPosition) | |
TEST_F (AXPositionTest, AtStartOfAnchorWithTreePosition) | |
TEST_F (AXPositionTest, AtStartOfAnchorWithTextPosition) | |
TEST_F (AXPositionTest, AtEndOfAnchorWithNullPosition) | |
TEST_F (AXPositionTest, AtEndOfAnchorWithTreePosition) | |
TEST_F (AXPositionTest, AtEndOfAnchorWithTextPosition) | |
TEST_F (AXPositionTest, AtStartOfLineWithTextPosition) | |
TEST_F (AXPositionTest, AtStartOfLineStaticTextExtraPrecedingSpace) | |
TEST_F (AXPositionTest, AtEndOfLineWithTextPosition) | |
TEST_F (AXPositionTest, AtStartOfBlankLine) | |
TEST_F (AXPositionTest, AtEndOfBlankLine) | |
TEST_F (AXPositionTest, AtStartAndEndOfLineWhenAtEndOfTextSpan) | |
TEST_F (AXPositionTest, AtStartAndEndOfLineInsideTextField) | |
TEST_F (AXPositionTest, AtStartOfParagraphWithTextPosition) | |
TEST_F (AXPositionTest, AtEndOfParagraphWithTextPosition) | |
TEST_F (AXPositionTest, ParagraphEdgesWithPreservedNewLine) | |
TEST_F (AXPositionTest, PreviousParagraphEndStopAtAnchorBoundaryWithConsecutiveParentChildLineBreakingObjects) | |
TEST_F (AXPositionTest, AtStartOrEndOfParagraphOnAListMarker) | |
TEST_F (AXPositionTest, AtStartOrEndOfParagraphWithLeadingAndTrailingDocumentWhitespace) | |
TEST_F (AXPositionTest, AtStartOrEndOfParagraphWithIgnoredNodes) | |
TEST_F (AXPositionTest, AtStartOrEndOfParagraphWithEmbeddedObjectCharacter) | |
TEST_F (AXPositionTest, LowestCommonAncestor) | |
TEST_F (AXPositionTest, AsTreePositionWithNullPosition) | |
TEST_F (AXPositionTest, AsTreePositionWithTreePosition) | |
TEST_F (AXPositionTest, AsTreePositionWithTextPosition) | |
TEST_F (AXPositionTest, AsTextPositionWithNullPosition) | |
TEST_F (AXPositionTest, AsTextPositionWithTreePosition) | |
TEST_F (AXPositionTest, AsTextPositionWithTextPosition) | |
TEST_F (AXPositionTest, AsLeafTreePositionWithNullPosition) | |
TEST_F (AXPositionTest, AsLeafTreePositionWithTreePosition) | |
TEST_F (AXPositionTest, AsLeafTreePositionWithTextPosition) | |
TEST_F (AXPositionTest, AsLeafTextPositionWithNullPosition) | |
TEST_F (AXPositionTest, AsLeafTextPositionWithTreePosition) | |
TEST_F (AXPositionTest, AsLeafTextPositionWithTextPosition) | |
TEST_F (AXPositionTest, AsLeafTextPositionWithTextPositionAndEmptyTextSandwich) | |
TEST_F (AXPositionTest, AsUnignoredPosition) | |
TEST_F (AXPositionTest, CreatePositionAtTextBoundaryDocumentStartEndIsIgnored) | |
TEST_F (AXPositionTest, CreatePositionAtInvalidGraphemeBoundary) | |
TEST_F (AXPositionTest, CreatePositionAtStartOfAnchorWithNullPosition) | |
TEST_F (AXPositionTest, CreatePositionAtStartOfAnchorWithTreePosition) | |
TEST_F (AXPositionTest, CreatePositionAtStartOfAnchorWithTextPosition) | |
TEST_F (AXPositionTest, CreatePositionAtEndOfAnchorWithNullPosition) | |
TEST_F (AXPositionTest, CreatePositionAtEndOfAnchorWithTreePosition) | |
TEST_F (AXPositionTest, CreatePositionAtEndOfAnchorWithTextPosition) | |
TEST_F (AXPositionTest, CreatePositionAtPreviousFormatStartWithNullPosition) | |
TEST_F (AXPositionTest, CreatePositionAtPreviousFormatStartWithTreePosition) | |
TEST_F (AXPositionTest, CreatePositionAtPreviousFormatStartWithTextPosition) | |
TEST_F (AXPositionTest, CreatePositionAtNextFormatEndWithNullPosition) | |
TEST_F (AXPositionTest, CreatePositionAtNextFormatEndWithTreePosition) | |
TEST_F (AXPositionTest, CreatePositionAtNextFormatEndWithTextPosition) | |
TEST_F (AXPositionTest, CreatePositionAtFormatBoundaryWithTextPosition) | |
TEST_F (AXPositionTest, MoveByFormatWithIgnoredNodes) | |
TEST_F (AXPositionTest, CreatePositionAtPageBoundaryWithTextPosition) | |
TEST_F (AXPositionTest, CreatePositionAtPageBoundaryWithTreePosition) | |
TEST_F (AXPositionTest, CreatePagePositionWithNullPosition) | |
TEST_F (AXPositionTest, CreatePositionAtStartOfDocumentWithNullPosition) | |
TEST_F (AXPositionTest, CreatePagePositionWithNonPaginatedDocument) | |
TEST_F (AXPositionTest, CreatePositionAtStartOfDocumentWithTreePosition) | |
TEST_F (AXPositionTest, CreatePositionAtStartOfDocumentWithTextPosition) | |
TEST_F (AXPositionTest, CreatePositionAtEndOfDocumentWithNullPosition) | |
TEST_F (AXPositionTest, CreatePositionAtEndOfDocumentWithTreePosition) | |
TEST_F (AXPositionTest, CreatePositionAtEndOfDocumentWithTextPosition) | |
TEST_F (AXPositionTest, AtLastNodeInTree) | |
TEST_F (AXPositionTest, CreateChildPositionAtWithNullPosition) | |
TEST_F (AXPositionTest, CreateChildPositionAtWithTreePosition) | |
TEST_F (AXPositionTest, CreateChildPositionAtWithTextPosition) | |
TEST_F (AXPositionTest, CreateParentPositionWithNullPosition) | |
TEST_F (AXPositionTest, CreateParentPositionWithTreePosition) | |
TEST_F (AXPositionTest, CreateParentPositionWithTextPosition) | |
TEST_F (AXPositionTest, CreateNextAndPreviousLeafTextPositionWithNullPosition) | |
TEST_F (AXPositionTest, CreateNextLeafTextPosition) | |
TEST_F (AXPositionTest, CreatePreviousLeafTextPosition) | |
TEST_F (AXPositionTest, CreateNextLeafTreePosition) | |
TEST_F (AXPositionTest, CreatePreviousLeafTreePosition) | |
TEST_F (AXPositionTest, AsLeafTextPositionBeforeAndAfterCharacterWithNullPosition) | |
TEST_F (AXPositionTest, AsLeafTextPositionBeforeAndAfterCharacterAtInvalidGraphemeBoundary) | |
TEST_F (AXPositionTest, AsLeafTextPositionBeforeCharacterNoAdjustment) | |
TEST_F (AXPositionTest, AsLeafTextPositionAfterCharacterNoAdjustment) | |
TEST_F (AXPositionTest, AsLeafTextPositionBeforeCharacter) | |
TEST_F (AXPositionTest, AsLeafTextPositionAfterCharacter) | |
TEST_F (AXPositionTest, CreateNextAndPreviousCharacterPositionWithNullPosition) | |
TEST_F (AXPositionTest, AsValidPosition) | |
TEST_F (AXPositionTest, AsValidPositionInDescendantOfEmptyObject) | |
TEST_F (AXPositionTest, CreateNextCharacterPosition) | |
TEST_F (AXPositionTest, CreatePreviousCharacterPosition) | |
TEST_F (AXPositionTest, CreateNextCharacterPositionAtGraphemeBoundary) | |
TEST_F (AXPositionTest, CreatePreviousCharacterPositionAtGraphemeBoundary) | |
TEST_F (AXPositionTest, ReciprocalCreateNextAndPreviousCharacterPosition) | |
TEST_F (AXPositionTest, CreateNextAndPreviousWordStartPositionWithNullPosition) | |
TEST_F (AXPositionTest, CreateNextAndPreviousWordEndPositionWithNullPosition) | |
TEST_F (AXPositionTest, OperatorEquals) | |
TEST_F (AXPositionTest, OperatorEqualsSameTextOffsetSameAnchorId) | |
TEST_F (AXPositionTest, OperatorEqualsSameTextOffsetDifferentAnchorIdRoot) | |
TEST_F (AXPositionTest, OperatorEqualsSameTextOffsetDifferentAnchorIdLeaf) | |
TEST_F (AXPositionTest, OperatorsLessThanAndGreaterThan) | |
TEST_F (AXPositionTest, Swap) | |
TEST_F (AXPositionTest, CreateNextAnchorPosition) | |
TEST_F (AXPositionTest, CreateLinePositionsMultipleAnchorsInSingleLine) | |
TEST_F (AXPositionTest, CreateNextWordPositionInList) | |
TEST_F (AXPositionTest, CreatePreviousWordPositionInList) | |
TEST_F (AXPositionTest, EmptyObjectReplacedByCharacterTextNavigation) | |
TEST_F (AXPositionTest, TextNavigationWithCollapsedCombobox) | |
TEST_P (AXPositionExpandToEnclosingTextBoundaryTestWithParam, TextPositionBeforeLine2) | |
TEST_P (AXPositionCreatePositionAtTextBoundaryTestWithParam, TextPositionBeforeStaticText) | |
TEST_P (AXPositionTextNavigationTestWithParam, TraverseTreeStartingWithAffinityDownstream) | |
TEST_P (AXPositionTextNavigationTestWithParam, TraverseTreeStartingWithAffinityUpstream) | |
INSTANTIATE_TEST_SUITE_P (ExpandToEnclosingTextBoundary, AXPositionExpandToEnclosingTextBoundaryTestWithParam, testing::Values(ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=8 affinity=downstream " "annotated_text=Line 1\nL<i>ne 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=upstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=upstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=upstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=1 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=9 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=1 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=9 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 affinity=downstream " "annotated_text=Line 1\nLine< >2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 affinity=downstream " "annotated_text=Line 1\nLine< >2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=5 affinity=downstream " "annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 affinity=downstream " "annotated_text=Line 1\nLine <2>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=5 affinity=downstream " "annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=11 affinity=downstream " "annotated_text=Line 1\nLine< >2"})) | |
INSTANTIATE_TEST_SUITE_P (CreatePositionAtTextBoundary, AXPositionCreatePositionAtTextBoundaryTestWithParam, testing::Values(CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=7 text_offset=0 affinity=downstream " "annotated_text=<\n>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=1 affinity=downstream " "annotated_text=L<i>ne 2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=7 text_offset=0 affinity=downstream " "annotated_text=<\n>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=7 text_offset=0 affinity=downstream " "annotated_text=<\n>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "NullPosition"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=0 affinity=downstream " "annotated_text=<L>ine 2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=3 text_offset=0 affinity=downstream " "annotated_text=<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "NullPosition"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=1 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=9 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=6 affinity=downstream " "annotated_text=Line 1<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=4 affinity=downstream " "annotated_text=Line< >2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=5 affinity=downstream " "annotated_text=Line <1>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=5 affinity=downstream " "annotated_text=Line <2>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=5 affinity=downstream " "annotated_text=Line <1>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=4 affinity=downstream " "annotated_text=Line< >2"})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordStartPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordStartPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordStartPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordStartPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordEndPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordEndPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextWordEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordEndPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordEndPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, { "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", }}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousWordEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineStartPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineStartPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineStartPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineStartPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineEndPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineEndPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextLineEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineEndPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 5, {"NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 5, {"NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=7 text_offset=0 " "affinity=downstream annotated_text=<\n>", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineEndPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 12, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 12, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX1_ID, 2, {"NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousLineEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=7 text_offset=0 " "affinity=downstream annotated_text=<\n>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphStartPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphStartPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphStartPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphStartPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphEndPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphEndPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 0, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreateNextParagraphEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphEndPositionWithBoundaryBehaviorCrossBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphEndPositionWithBoundaryBehaviorStopAtAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 12, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 12, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX1_ID, 2, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 0, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}})) | |
INSTANTIATE_TEST_SUITE_P (CreatePreviousParagraphEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary, AXPositionTextNavigationTestWithParam, testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}})) | |
template<class AXPositionType , class AXNodeType > | |
bool | operator== (const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second) |
template<class AXPositionType , class AXNodeType > | |
bool | operator!= (const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second) |
template<class AXPositionType , class AXNodeType > | |
bool | operator< (const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second) |
template<class AXPositionType , class AXNodeType > | |
bool | operator<= (const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second) |
template<class AXPositionType , class AXNodeType > | |
bool | operator> (const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second) |
template<class AXPositionType , class AXNodeType > | |
bool | operator>= (const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second) |
template<class AXPositionType , class AXNodeType > | |
void | swap (AXPosition< AXPositionType, AXNodeType > &first, AXPosition< AXPositionType, AXNodeType > &second) |
template<class AXPositionType , class AXNodeType > | |
std::ostream & | operator<< (std::ostream &stream, const AXPosition< AXPositionType, AXNodeType > &position) |
template<class AXPositionType > | |
std::ostream & | operator<< (std::ostream &stream, const AXRange< AXPositionType > &range) |
TEST_F (AXRangeTest, EqualityOperators) | |
TEST_F (AXRangeTest, AsForwardRange) | |
TEST_F (AXRangeTest, IsCollapsed) | |
TEST_F (AXRangeTest, BeginAndEndIterators) | |
TEST_F (AXRangeTest, LeafTextRangeIteration) | |
TEST_F (AXRangeTest, GetTextWithWholeObjects) | |
TEST_F (AXRangeTest, GetTextWithTextOffsets) | |
TEST_F (AXRangeTest, GetTextWithEmptyRanges) | |
TEST_F (AXRangeTest, GetTextAddingNewlineBetweenParagraphs) | |
TEST_F (AXRangeTest, GetTextWithMaxCount) | |
TEST_F (AXRangeTest, GetTextWithList) | |
TEST_F (AXRangeTest, GetRects) | |
TEST_F (AXRangeTest, GetRectsOffscreen) | |
std::ostream & | operator<< (std::ostream &stream, const AXRelativeBounds &bounds) |
bool | HasPresentationalChildren (const ax::mojom::Role role) |
bool | IsAlert (const ax::mojom::Role role) |
bool | IsButton (const ax::mojom::Role role) |
bool | IsClickable (const ax::mojom::Role role) |
bool | IsCellOrTableHeader (const ax::mojom::Role role) |
bool | IsContainerWithSelectableChildren (const ax::mojom::Role role) |
bool | IsControl (const ax::mojom::Role role) |
bool | IsControlOnAndroid (const ax::mojom::Role role, bool isFocusable) |
bool | IsDocument (const ax::mojom::Role role) |
bool | IsDialog (const ax::mojom::Role role) |
bool | IsForm (const ax::mojom::Role role) |
bool | IsFormatBoundary (const ax::mojom::Role role) |
bool | IsHeading (const ax::mojom::Role role) |
bool | IsHeadingOrTableHeader (const ax::mojom::Role role) |
bool | IsIframe (ax::mojom::Role role) |
bool | IsImageOrVideo (const ax::mojom::Role role) |
bool | IsImage (const ax::mojom::Role role) |
bool | IsItemLike (const ax::mojom::Role role) |
bool | IsLandmark (const ax::mojom::Role role) |
bool | IsLink (const ax::mojom::Role role) |
bool | IsList (const ax::mojom::Role role) |
bool | IsListItem (const ax::mojom::Role role) |
bool | IsMenuItem (ax::mojom::Role role) |
bool | IsMenuRelated (const ax::mojom::Role role) |
bool | IsPresentational (const ax::mojom::Role role) |
bool | IsRadio (const ax::mojom::Role role) |
bool | IsRangeValueSupported (const ax::mojom::Role role) |
bool | IsReadOnlySupported (const ax::mojom::Role role) |
bool | IsRowContainer (const ax::mojom::Role role) |
bool | IsSection (const ax::mojom::Role role) |
bool | IsSectionhead (const ax::mojom::Role role) |
bool | IsSelect (const ax::mojom::Role role) |
bool | IsSetLike (const ax::mojom::Role role) |
bool | IsStaticList (const ax::mojom::Role role) |
bool | IsStructure (const ax::mojom::Role role) |
bool | IsTableColumn (ax::mojom::Role role) |
bool | IsTableHeader (ax::mojom::Role role) |
bool | IsTableLike (const ax::mojom::Role role) |
bool | IsTableRow (ax::mojom::Role role) |
bool | IsText (ax::mojom::Role role) |
bool | SupportsExpandCollapse (const ax::mojom::Role role) |
bool | SupportsHierarchicalLevel (const ax::mojom::Role role) |
bool | SupportsOrientation (const ax::mojom::Role role) |
bool | SupportsSelected (const ax::mojom::Role role) |
bool | SupportsToggle (const ax::mojom::Role role) |
bool | ShouldHaveReadonlyStateByDefault (const ax::mojom::Role role) |
TEST (AXRolePropertiesTest, TestSupportsHierarchicalLevel) | |
TEST (AXRolePropertiesTest, TestSupportsToggle) | |
TEST_F (AXTableInfoTest, SimpleTable) | |
TEST_F (AXTableInfoTest, ComputedTableSizeIncludesSpans) | |
TEST_F (AXTableInfoTest, AuthorRowAndColumnCountsAreRespected) | |
TEST_F (AXTableInfoTest, TableInfoRecomputedOnlyWhenTableChanges) | |
TEST_F (AXTableInfoTest, CellIdsHandlesSpansAndMissingCells) | |
TEST_F (AXTableInfoTest, SkipsGenericAndIgnoredNodes) | |
TEST_F (AXTableInfoTest, HeadersWithSpans) | |
TEST_F (AXTableInfoTest, ExtraMacNodes) | |
TEST_F (AXTableInfoTest, TableWithNoIndices) | |
TEST_F (AXTableInfoTest, TableWithPartialIndices) | |
TEST_F (AXTableInfoTest, BadRowIndicesIgnored) | |
TEST_F (AXTableInfoTest, BadColIndicesIgnored) | |
TEST_F (AXTableInfoTest, AriaIndicesInferred) | |
TEST_F (AXTableInfoTest, TableChanges) | |
TEST_F (AXTableInfoTest, ExtraMacNodesChanges) | |
TEST_F (AXTableInfoTest, RowColumnSpanChanges) | |
bool | operator== (const AXTreeData &lhs, const AXTreeData &rhs) |
bool | operator!= (const AXTreeData &lhs, const AXTreeData &rhs) |
void | swap (AXTreeID &first, AXTreeID &second) |
std::ostream & | operator<< (std::ostream &stream, const AXTreeID &value) |
const AXTreeID & | AXTreeIDUnknown () |
TEST (AXTreeTest, SerializeAXTreeUpdate) | |
TEST (AXTreeTest, LeaveOrphanedDeletedSubtreeFails) | |
TEST (AXTreeTest, LeaveOrphanedNewChildFails) | |
TEST (AXTreeTest, DuplicateChildIdFails) | |
TEST (AXTreeTest, InvalidReparentingFails) | |
TEST (AXTreeTest, NoReparentingOfRootIfNoNewRoot) | |
TEST (AXTreeTest, NoReparentingIfOnlyRemovedAndChangedNotReAdded) | |
TEST (AXTreeTest, NoReparentingIfRemovedMultipleTimesAndNotInFinalTree) | |
TEST (AXTreeTest, ReparentIfRemovedMultipleTimesButExistsInFinalTree) | |
TEST (AXTreeTest, ReparentRootIfRootChanged) | |
TEST (AXTreeTest, ImplicitChildrenDelete) | |
TEST (AXTreeTest, IndexInParentAfterReorder) | |
TEST (AXTreeTest, IndexInParentAfterReorderIgnoredNode) | |
TEST (AXTreeTest, ImplicitAttributeDelete) | |
TEST (AXTreeTest, TreeObserverIsCalled) | |
TEST (AXTreeTest, TreeObserverIsCalledForTreeDataChanges) | |
TEST (AXTreeTest, ReparentingDoesNotTriggerNodeCreated) | |
TEST (AXTreeTest, MultipleIgnoredChangesDoesNotBreakCache) | |
TEST (AXTreeTest, NodeToClearUpdatesParentUnignoredCount) | |
TEST (AXTreeTest, TreeObserverIsNotCalledForReparenting) | |
TEST (AXTreeTest, BogusAXTree) | |
TEST (AXTreeTest, BogusAXTree2) | |
TEST (AXTreeTest, BogusAXTree3) | |
TEST (AXTreeTest, RoleAndStateChangeCallbacks) | |
TEST (AXTreeTest, AttributeChangeCallbacks) | |
TEST (AXTreeTest, IntListChangeCallbacks) | |
TEST (AXTreeTest, GetBoundsBasic) | |
TEST (AXTreeTest, EmptyNodeBoundsIsUnionOfChildren) | |
TEST (AXTreeTest, EmptyNodeNotOffscreenEvenIfAllChildrenOffscreen) | |
TEST (AXTreeTest, GetBoundsWithTransform) | |
TEST (AXTreeTest, GetBoundsWithContainerId) | |
TEST (AXTreeTest, GetBoundsWithScrolling) | |
TEST (AXTreeTest, GetBoundsOfNodeWithZeroSize) | |
TEST (AXTreeTest, GetBoundsEmptyBoundsInheritsFromParent) | |
TEST (AXTreeTest, GetBoundsCropsChildToRoot) | |
TEST (AXTreeTest, GetBoundsSetsOffscreenIfClipsChildren) | |
TEST (AXTreeTest, GetBoundsUpdatesOffscreen) | |
TEST (AXTreeTest, IntReverseRelations) | |
TEST (AXTreeTest, IntListReverseRelations) | |
TEST (AXTreeTest, DeletingNodeUpdatesReverseRelations) | |
TEST (AXTreeTest, ReverseRelationsDoNotKeepGrowing) | |
TEST (AXTreeTest, SkipIgnoredNodes) | |
TEST (AXTreeTest, CachedUnignoredValues) | |
TEST (AXTreeTest, TestRecursionUnignoredChildCount) | |
TEST (AXTreeTest, NullUnignoredChildren) | |
TEST (AXTreeTest, UnignoredChildIteratorIncrementDecrementPastEnd) | |
TEST (AXTreeTest, UnignoredChildIteratorIgnoredContainerSiblings) | |
TEST (AXTreeTest, UnignoredChildIterator) | |
TEST (AXTreeTest, UnignoredAccessors) | |
TEST (AXTreeTest, UnignoredNextPreviousChild) | |
TEST (AXTreeTest, GetSiblingsNoIgnored) | |
TEST (AXTreeTest, GetUnignoredSiblingsChildrenPromoted) | |
TEST (AXTreeTest, GetUnignoredSiblingsIgnoredChildSkipped) | |
TEST (AXTreeTest, GetUnignoredSiblingIgnoredParentIrrelevant) | |
TEST (AXTreeTest, GetUnignoredSiblingsAllIgnored) | |
TEST (AXTreeTest, GetUnignoredSiblingsNestedIgnored) | |
TEST (AXTreeTest, UnignoredSelection) | |
TEST (AXTreeTest, GetChildrenOrSiblings) | |
TEST (AXTreeTest, SetSizePosInSetAssigned) | |
TEST (AXTreeTest, SetSizePosInSetUnassigned) | |
TEST (AXTreeTest, SetSizeAssignedOnContainer) | |
TEST (AXTreeTest, SetSizePosInSetDiverseList) | |
TEST (AXTreeTest, SetSizePosInSetNestedList) | |
TEST (AXTreeTest, PosInSetMissing) | |
TEST (AXTreeTest, SetSizePosInSetMissingDifficult) | |
TEST (AXTreeTest, SetSizeDecreasing) | |
TEST (AXTreeTest, PosInSetDecreasing) | |
TEST (AXTreeTest, PosInSetDuplicates) | |
TEST (AXTreeTest, SetSizePosInSetNestedContainer) | |
TEST (AXTreeTest, SetSizePosInSetDeleteItem) | |
TEST (AXTreeTest, SetSizePosInSetAddItem) | |
TEST (AXTreeTest, OrderedSetReportsSetSize) | |
TEST (AXTreeTest, SetSizePosInSetInvalid) | |
TEST (AXTreeTest, SetSizePosInSetRadioButtons) | |
TEST (AXTreeTest, SetSizePosInSetRadioButtonsInList) | |
TEST (AXTreeTest, SetSizePosInSetFlatTree) | |
TEST (AXTreeTest, SetSizePosInSetFlatTreeLevelsOnly) | |
TEST (AXTreeTest, SetSizePosInSetSubtreeDeleted) | |
TEST (AXTreeTest, SetSizePosInSetIgnoredItem) | |
TEST (AXTreeTest, SetSizePosInSetPopUpButton) | |
TEST (AXTreeTest, SetSizePosInSetUnkown) | |
TEST (AXTreeTest, SetSizePosInSetMenuItemValidChildOfMenuListPopup) | |
TEST (AXTreeTest, SetSizePostInSetListBoxOptionWithGroup) | |
TEST (AXTreeTest, SetSizePosInSetGroup) | |
TEST (AXTreeTest, SetSizePosInSetHidden) | |
TEST (AXTreeTest, SetSizePosInSetControls) | |
TEST (AXTreeTest, SetSizePosInSetLeafPopUpButton) | |
TEST (AXTreeTest, OnNodeWillBeDeletedHasValidUnignoredParent) | |
TEST (AXTreeTest, OnNodeHasBeenDeleted) | |
TEST (AXTreeTest, SingleUpdateDeletesNewlyCreatedChildNode) | |
TEST (AXTreeTest, SingleUpdateReparentsNodeMultipleTimes) | |
TEST (AXTreeTest, SingleUpdateIgnoresNewlyCreatedUnignoredChildNode) | |
TEST (AXTreeTest, SingleUpdateTogglesIgnoredStateAfterCreatingNode) | |
TEST (AXTreeTest, SingleUpdateTogglesIgnoredStateBeforeDestroyingNode) | |
TEST (AXTreeTest, TestIsInListMarker) | |
template<typename AXNodeData , typename AXTreeData > | |
bool | TreeUpdatesCanBeMerged (const AXTreeUpdateBase< AXNodeData, AXTreeData > &u1, const AXTreeUpdateBase< AXNodeData, AXTreeData > &u2) |
TEST_F (AXFragmentRootTest, UIAFindItemByPropertyUniqueId) | |
TEST_F (AXFragmentRootTest, TestUIAGetFragmentRoot) | |
TEST_F (AXFragmentRootTest, DISABLED_TestUIAElementProviderFromPoint) | |
TEST_F (AXFragmentRootTest, TestUIAGetFocus) | |
TEST_F (AXFragmentRootTest, TestUIAErrorHandling) | |
TEST_F (AXFragmentRootTest, TestGetChildCount) | |
TEST_F (AXFragmentRootTest, TestChildAtIndex) | |
TEST_F (AXFragmentRootTest, TestGetParent) | |
TEST_F (AXFragmentRootTest, TestGetPropertyValue) | |
TEST_F (AXFragmentRootTest, TestUIAMultipleFragmentRoots) | |
TEST_F (AXFragmentRootTest, TestFragmentRootMap) | |
std::ostream & | operator<< (std::ostream &stream, AXPlatformNode &node) |
TEST (AXPlatformNodeBaseTest, GetHypertext) | |
TEST (AXPlatformNodeBaseTest, GetHypertextIgnoredContainerSiblings) | |
TEST (AXPlatformNodeBaseTest, InnerTextIgnoresInvisibleAndIgnored) | |
TEST (AXPlatformNodeBaseTest, TestSelectedChildren) | |
TEST (AXPlatformNodeBaseTest, TestSelectedChildrenWithGroup) | |
TEST (AXPlatformNodeBaseTest, TestSelectedChildrenMixed) | |
TEST (AXPlatformNodeBaseTest, CompareTo) | |
bool | IsValuePatternSupported (AXPlatformNodeDelegate *delegate) |
AX_EXPORT bool | IsNameExposedInAXValueForRole (ax::mojom::Role role) |
TEST_F (AXPlatformNodeMacTest, CanGetCocoaPlatformNodeFromTree) | |
TEST_F (AXPlatformNodeMacTest, AccessibilityRangeForPositionDoesntCrash) | |
TEST_F (AXPlatformNodeTextProviderTest, CreateDegenerateRangeFromStart) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderRangeFromChild) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderRangeFromChildMultipleChildren) | |
TEST_F (AXPlatformNodeTextProviderTest, NearestTextIndexToPoint) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderDocumentRange) | |
TEST_F (AXPlatformNodeTextProviderTest, DISABLED_ITextProviderDocumentRangeTrailingIgnored) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderDocumentRangeNested) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderSupportedSelection) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderGetSelection) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderGetActiveComposition) | |
TEST_F (AXPlatformNodeTextProviderTest, ITextProviderGetConversionTarget) | |
static bool | StringSearchBasic (const std::u16string_view search_string, const std::u16string_view find_in, size_t *find_start, size_t *find_length, bool backwards) |
bool | StringSearch (std::u16string_view search_string, std::u16string_view find_in, size_t *find_start, size_t *find_length, bool ignore_case, bool backwards) |
static bool | StringCompareICU (BSTR left, BSTR right) |
static AXNodePosition::AXPositionInstance | CreateTextPosition (const AXNode &anchor, int text_offset, ax::mojom::TextAffinity affinity) |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderClone) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderCompareEndpoints) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderExpandToEnclosingCharacter) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderExpandToEnclosingWord) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderExpandToEnclosingLine) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderExpandToEnclosingParagraph) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderExpandToEnclosingFormat) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderExpandToEnclosingFormatWithEmptyObjects) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderExpandToEnclosingDocument) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderIgnoredForTextNavigation) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderInvalidCalls) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderGetText) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderMoveCharacter) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveFormat) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveWord) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveLine) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveParagraph) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveDocument) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderMove) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderMoveEndpointByDocument) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveEndpointByCharacterMultilingual) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveEndpointByWord) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveEndpointByLine) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveEndpointByUnitTextField) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderMoveEndpointByFormat) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderCompare) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderSelection) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderGetBoundingRectangles) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderGetEnclosingElement) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderGetEnclosingElementRichButton) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderMoveEndpointByRange) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderGetAttributeValue) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderGetAttributeValueAnnotationObjects) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderGetAttributeValueAnnotationObjectsMixed) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderGetAttributeValueNotSupported) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderGetAttributeValueWithAncestorTextPosition) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderSelect) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderSelectListMarker) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderFindText) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, FindTextWithEmbeddedObjectCharacter) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderFindTextBackwards) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestITextRangeProviderFindAttribute) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, ElementNotAvailable) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestITextRangeProviderIgnoredNodes) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestNormalizeTextRangePastEndOfDocument) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestNormalizeTextRangePastEndOfDocumentWithIgnoredNodes) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestNormalizeTextRangeInsideIgnoredNodes) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestNormalizeTextRangeSpanIgnoredNodes) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestNormalizeTextRangeForceSameAnchorOnDegenerateRange) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestValidateStartAndEnd) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestReplaceStartAndEndEndpointNode) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestDeleteSubtreeThatIncludesEndpoints) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestDeleteSubtreeWithIgnoredAncestors) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_TestDeleteSubtreeThatIncludesEndpointsNormalizeMoves) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestDeleteTreePositionPreviousSibling) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, TestReplaceStartAndEndEndpointRepeatRemoval) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, CaretAtEndOfTextFieldReadOnly) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_GeneratedNewlineReturnsCommonAnchorReadonly) | |
TEST_F (AXPlatformNodeTextRangeProviderTest, DISABLED_MoveEndpointToLastIgnoredForTextNavigationNode) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleDetachedObject) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleHitTest) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleHitTestDoesNotLoopForever) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleName) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleDescription) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleAccValue) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleShortcut) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionListBoxOptionNothingSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionListBoxOptionOneSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionListBoxOptionMultipleSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionTableNothingSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionTableRowOneSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionTableRowMultipleSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionTableCellOneSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleSelectionTableCellMultipleSelected) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleRole) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleLocation) | |
TEST_F (AXPlatformNodeWinTest, IAccessibleChildAndParent) | |
TEST_F (AXPlatformNodeWinTest, AccNavigate) | |
TEST_F (AXPlatformNodeWinTest, AnnotatedImageName) | |
TEST_F (AXPlatformNodeWinTest, IGridProviderGetRowCount) | |
TEST_F (AXPlatformNodeWinTest, IGridProviderGetColumnCount) | |
TEST_F (AXPlatformNodeWinTest, IGridProviderGetItem) | |
TEST_F (AXPlatformNodeWinTest, ITableProviderGetColumnHeaders) | |
TEST_F (AXPlatformNodeWinTest, ITableProviderGetColumnHeadersMultipleHeaders) | |
TEST_F (AXPlatformNodeWinTest, ITableProviderGetRowHeaders) | |
TEST_F (AXPlatformNodeWinTest, ITableProviderGetRowOrColumnMajor) | |
TEST_F (AXPlatformNodeWinTest, ITableItemProviderGetColumnHeaderItems) | |
TEST_F (AXPlatformNodeWinTest, ITableItemProviderGetRowHeaderItems) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertySimple) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertyValueClickablePoint) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertyValueIsDialog) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertyValueIsControlElementIgnoredInvisible) | |
TEST_F (AXPlatformNodeWinTest, UIAGetControllerForPropertyId) | |
TEST_F (AXPlatformNodeWinTest, UIAGetDescribedByPropertyId) | |
TEST_F (AXPlatformNodeWinTest, UIAItemStatusPropertyId) | |
TEST_F (AXPlatformNodeWinTest, UIAGetFlowsToPropertyId) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertyValueFlowsFromNone) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertyValueFlowsFromSingle) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertyValueFlowsFromMultiple) | |
TEST_F (AXPlatformNodeWinTest, UIAGetPropertyValueFrameworkId) | |
TEST_F (AXPlatformNodeWinTest, GetPropertyValue_LabeledByTest) | |
TEST_F (AXPlatformNodeWinTest, GetPropertyValue_HelpText) | |
TEST_F (AXPlatformNodeWinTest, GetPropertyValue_LocalizedControlType) | |
TEST_F (AXPlatformNodeWinTest, GetPropertyValue_IsControlElement) | |
TEST_F (AXPlatformNodeWinTest, UIAGetProviderOptions) | |
TEST_F (AXPlatformNodeWinTest, UIAGetHostRawElementProvider) | |
TEST_F (AXPlatformNodeWinTest, UIAGetBoundingRectangle) | |
TEST_F (AXPlatformNodeWinTest, UIAGetFragmentRoot) | |
TEST_F (AXPlatformNodeWinTest, UIAGetEmbeddedFragmentRoots) | |
TEST_F (AXPlatformNodeWinTest, UIAGetRuntimeId) | |
TEST_F (AXPlatformNodeWinTest, UIAIWindowProviderGetIsModalUnset) | |
TEST_F (AXPlatformNodeWinTest, UIAIWindowProviderGetIsModalFalse) | |
TEST_F (AXPlatformNodeWinTest, UIAIWindowProviderGetIsModalTrue) | |
TEST_F (AXPlatformNodeWinTest, UIAIWindowProviderInvalidArgument) | |
TEST_F (AXPlatformNodeWinTest, UIAIWindowProviderNotSupported) | |
TEST_F (AXPlatformNodeWinTest, UIANavigate) | |
TEST_F (AXPlatformNodeWinTest, ISelectionProviderCanSelectMultipleDefault) | |
TEST_F (AXPlatformNodeWinTest, ISelectionProviderCanSelectMultipleTrue) | |
TEST_F (AXPlatformNodeWinTest, ISelectionProviderIsSelectionRequiredDefault) | |
TEST_F (AXPlatformNodeWinTest, ISelectionProviderIsSelectionRequiredTrue) | |
TEST_F (AXPlatformNodeWinTest, ISelectionProviderGetSelectionNoneSelected) | |
TEST_F (AXPlatformNodeWinTest, ISelectionProviderGetSelectionSingleItemSelected) | |
TEST_F (AXPlatformNodeWinTest, ISelectionProviderGetSelectionMultipleItemsSelected) | |
TEST_F (AXPlatformNodeWinTest, ComputeUIAControlType) | |
TEST_F (AXPlatformNodeWinTest, UIALandmarkType) | |
TEST_F (AXPlatformNodeWinTest, UIALocalizedLandmarkType) | |
TEST_F (AXPlatformNodeWinTest, IRawElementProviderSimple2ShowContextMenu) | |
TEST_F (AXPlatformNodeWinTest, UIAErrorHandling) | |
TEST_F (AXPlatformNodeWinTest, GetPatternProviderSupportedPatterns) | |
TEST_F (AXPlatformNodeWinTest, GetPatternProviderExpandCollapsePattern) | |
TEST_F (AXPlatformNodeWinTest, GetPatternProviderInvokePattern) | |
TEST_F (AXPlatformNodeWinTest, IExpandCollapsePatternProviderAction) | |
TEST_F (AXPlatformNodeWinTest, IInvokeProviderInvoke) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderNotSupported) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderDisabled) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderNotSelectable) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderSimple) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderRadioButton) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderMenuItemRadio) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderTable) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderGrid) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderGetSelectionContainer) | |
TEST_F (AXPlatformNodeWinTest, ISelectionItemProviderSelectFollowFocus) | |
TEST_F (AXPlatformNodeWinTest, IValueProvider_GetValue) | |
TEST_F (AXPlatformNodeWinTest, IValueProvider_SetValue) | |
TEST_F (AXPlatformNodeWinTest, IValueProvider_IsReadOnly) | |
TEST_F (AXPlatformNodeWinTest, IScrollProviderSetScrollPercent) | |
TEST_F (AXPlatformNodeWinTest, MojoEventToUIAPropertyTest) | |
base::string16 | GetIA2RelationFromIntAttr (ax::mojom::IntAttribute attribute) |
base::string16 | GetIA2RelationFromIntListAttr (ax::mojom::IntListAttribute attribute) |
base::string16 | GetIA2ReverseRelationFromIntAttr (ax::mojom::IntAttribute attribute) |
base::string16 | GetIA2ReverseRelationFromIntListAttr (ax::mojom::IntListAttribute attribute) |
TEST (AXPlatformUniqueIdTest, IdsAreUnique) | |
TEST (AXPlatformUniqueIdTest, UnassignedIdsAreReused) | |
TEST (AXPlatformUniqueIdTest, DoesCreateCorrectId) | |
std::optional< int32_t > | ComputeAttribute (const ui::AXPlatformNodeDelegate *delegate, ax::mojom::IntAttribute attribute) |
Variables | |
static std::optional< int32_t > | g_active_popup_ax_unique_id |
AXEmbeddedObjectBehavior | g_ax_embedded_object_behavior |
UniqueIdMap | g_unique_id_map |
const uint32_t | kScreenReaderAndHTMLAccessibilityModes |
static const int32_t | kMaxId = 100 |
static const GUID | kUiaEventTestCompleteSentinelGuid |
static const GUID | kUiaPropertyUniqueIdGuid |
using ui::AXTreeUpdate = typedef AXTreeUpdateBase<AXNodeData, AXTreeData> |
Definition at line 86 of file ax_tree_update.h.
using ui::TestPositionInstance = typedef std::unique_ptr<AXPosition<AXNodePosition, AXNode> > |
Definition at line 24 of file ax_range_unittest.cc.
typedef AXRange< AXPosition< AXNodePosition, AXNode > > ui::TestPositionRange |
Definition at line 28 of file ax_node_position_unittest.cc.
using ui::TestPositionType = typedef std::unique_ptr<AXPosition<AXNodePosition, AXNode> > |
Definition at line 27 of file ax_node_position_unittest.cc.
using ui::TextAttribute = typedef std::pair<std::string, std::string> |
Definition at line 39 of file ax_platform_node_delegate.h.
using ui::TextAttributeList = typedef std::vector<TextAttribute> |
Definition at line 40 of file ax_platform_node_delegate.h.
using ui::TextAttributeMap = typedef std::map<int, TextAttributeList> |
Definition at line 46 of file ax_platform_node_delegate.h.
using ui::UniqueIdMap = typedef std::unordered_map<int32_t, AXPlatformNode*> |
Definition at line 62 of file ax_platform_node_base.cc.
|
strong |
Enumerator | |
---|---|
CrossBoundary | |
StopAtAnchorBoundary | |
StopIfAlreadyAtBoundary | |
StopAtLastAnchorBoundary |
Definition at line 43 of file ax_position.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kUnitBoundary | |
kDocumentStart | |
kDocumentEnd |
Definition at line 53 of file ax_position.h.
|
strong |
Enumerator | |
---|---|
kUnclipped | |
kClipped |
Definition at line 16 of file ax_clipping_behavior.h.
|
strong |
Enumerator | |
---|---|
kScreenPhysicalPixels | |
kScreenDIPs | |
kRootFrame | |
kFrame |
Definition at line 28 of file ax_coordinate_system.h.
|
strong |
Enumerator | |
---|---|
kExposeCharacter | |
kSuppressCharacter |
Definition at line 98 of file ax_position.h.
|
strong |
Enumerator | |
---|---|
kOnscreen | |
kOffscreen |
Definition at line 17 of file ax_offscreen_result.h.
|
strong |
Enumerator | |
---|---|
kMoveBackward | |
kMoveForward |
Definition at line 67 of file ax_position.h.
|
strong |
Enumerator | |
---|---|
NULL_POSITION | |
TREE_POSITION | |
TEXT_POSITION |
Definition at line 38 of file ax_position.h.
|
strong |
Enumerator | |
---|---|
kLeftFirst | |
kRightFirst |
Definition at line 79 of file ax_position.h.
|
strong |
Enumerator | |
---|---|
kAsInnerText | |
kAsTextContent |
Definition at line 25 of file ax_range.h.
|
strong |
Enumerator | |
---|---|
kNotStarted | |
kComputing | |
kComplete | |
kFailed |
Definition at line 236 of file ax_tree.cc.
AX_BASE_EXPORT const AXTreeID & ui::AXTreeIDUnknown | ( | ) |
Definition at line 103 of file ax_tree_id.cc.
AX_EXPORT void ui::ClearActivePopupAxUniqueId | ( | ) |
Definition at line 34 of file ax_active_popup.cc.
AX_EXPORT std::optional< int32_t > ui::ComputeAttribute | ( | const ui::AXPlatformNodeDelegate * | delegate, |
ax::mojom::IntAttribute | attribute | ||
) |
Definition at line 98 of file compute_attributes.cc.
|
static |
Definition at line 225 of file ax_platform_node_textrangeprovider_win_unittest.cc.
AX_EXPORT std::optional< int32_t > ui::GetActivePopupAxUniqueId | ( | ) |
Definition at line 17 of file ax_active_popup.cc.
base::string16 ui::GetIA2RelationFromIntAttr | ( | ax::mojom::IntAttribute | attribute | ) |
Definition at line 40 of file ax_platform_relation_win.cc.
base::string16 ui::GetIA2RelationFromIntListAttr | ( | ax::mojom::IntListAttribute | attribute | ) |
Definition at line 58 of file ax_platform_relation_win.cc.
base::string16 ui::GetIA2ReverseRelationFromIntAttr | ( | ax::mojom::IntAttribute | attribute | ) |
Definition at line 77 of file ax_platform_relation_win.cc.
base::string16 ui::GetIA2ReverseRelationFromIntListAttr | ( | ax::mojom::IntListAttribute | attribute | ) |
Definition at line 88 of file ax_platform_relation_win.cc.
AX_BASE_EXPORT bool ui::HasPresentationalChildren | ( | const ax::mojom::Role | role | ) |
Definition at line 23 of file ax_role_properties.cc.
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineEndPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineEndPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineStartPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineStartPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextLineStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphEndPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphEndPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 0, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphStartPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphStartPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextParagraphStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordEndPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordEndPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordStartPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordStartPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=5 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>", "TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>", "TextPosition anchor_id=9 text_offset=6 " "affinity=downstream annotated_text=Line 2<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreateNextWordStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 0, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 0, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 1, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreateNextWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>", "TextPosition anchor_id=9 text_offset=5 " "affinity=downstream annotated_text=Line <2>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePositionAtTextBoundary | , |
AXPositionCreatePositionAtTextBoundaryTestWithParam | , | ||
testing::Values(CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=7 text_offset=0 affinity=downstream " "annotated_text=<\n>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=1 affinity=downstream " "annotated_text=L<i>ne 2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=7 text_offset=0 affinity=downstream " "annotated_text=<\n>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=7 text_offset=0 affinity=downstream " "annotated_text=<\n>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "NullPosition"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=0 affinity=downstream " "annotated_text=<L>ine 2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=3 text_offset=0 affinity=downstream " "annotated_text=<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "NullPosition"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=1 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=9 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=6 affinity=downstream " "annotated_text=Line 1<>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=4 affinity=downstream " "annotated_text=Line< >2"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=5 affinity=downstream " "annotated_text=Line <1>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=5 affinity=downstream " "annotated_text=Line <2>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, ax::mojom::MoveDirection::kBackward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=6 text_offset=5 affinity=downstream " "annotated_text=Line <1>"}, CreatePositionAtTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, ax::mojom::MoveDirection::kForward, AXBoundaryBehavior::CrossBoundary, "TextPosition anchor_id=8 text_offset=4 affinity=downstream " "annotated_text=Line< >2"}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineEndPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 5, {"NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 5, {"NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=7 text_offset=0 " "affinity=downstream annotated_text=<\n>", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineEndPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=7 text_offset=0 " "affinity=downstream annotated_text=<\n>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 12, {"TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 12, {"TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX1_ID, 2, {"NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineStartPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineStartPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousLineStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousLineStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphEndPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphEndPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 5, {"TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 5, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 12, {"TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 12, {"TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=upstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX1_ID, 2, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 0, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 0, {"TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=3 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, LINE_BREAK_ID, 1, {"TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>", "TextPosition anchor_id=7 text_offset=1 " "affinity=downstream annotated_text=\n<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphStartPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphStartPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousParagraphStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousParagraphStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordEndPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordEndPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, { "TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", }}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordEndPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=1 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=1 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=11 " "affinity=downstream annotated_text=Line 1\nLine< >2", "TextPosition anchor_id=4 text_offset=6 " "affinity=downstream annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=4 " "affinity=downstream annotated_text=Line< >1\nLine 2", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=6 text_offset=6 " "affinity=downstream annotated_text=Line 1<>", "TextPosition anchor_id=6 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>", "TextPosition anchor_id=2 text_offset=0 " "affinity=downstream annotated_text=<>"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordEndPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=13 " "affinity=downstream annotated_text=Line 1\nLine 2<>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1", "TextPosition anchor_id=5 text_offset=4 " "affinity=downstream annotated_text=Line< >1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordEndPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=4 " "affinity=downstream annotated_text=Line< >2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordStartPositionWithBoundaryBehaviorCrossBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::CrossBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "NullPosition"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordStartPositionWithBoundaryBehaviorStopAtAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordStartPositionWithBoundaryBehaviorStopAtLastAnchorBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=1 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=1 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=7 " "affinity=downstream annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=5 " "affinity=downstream annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1\nLine 2"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=5 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopAtLastAnchorBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=6 text_offset=5 " "affinity=downstream annotated_text=Line <1>", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1", "TextPosition anchor_id=6 text_offset=0 " "affinity=downstream annotated_text=<L>ine 1"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | CreatePreviousWordStartPositionWithBoundaryBehaviorStopIfAlreadyAtBoundary | , |
AXPositionTextNavigationTestWithParam | , | ||
testing::Values(TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, ROOT_ID, 13, {"TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=1 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, TEXT_FIELD_ID, 13, {"TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>", "TextPosition anchor_id=4 text_offset=12 " "affinity=downstream annotated_text=Line 1\nLine <2>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, STATIC_TEXT1_ID, 5, {"TextPosition anchor_id=5 text_offset=5 " "affinity=downstream annotated_text=Line <1>"}}, TextNavigationTestParam{[](const TestPositionType &position) { return position->CreatePreviousWordStartPosition(AXBoundaryBehavior::StopIfAlreadyAtBoundary);}, INLINE_BOX2_ID, 4, {"TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2", "TextPosition anchor_id=9 text_offset=0 " "affinity=downstream annotated_text=<L>ine 2"}}) | |||
) |
ui::INSTANTIATE_TEST_SUITE_P | ( | ExpandToEnclosingTextBoundary | , |
AXPositionExpandToEnclosingTextBoundaryTestWithParam | , | ||
testing::Values(ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kCharacter, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=8 affinity=downstream " "annotated_text=Line 1\nL<i>ne 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kFormat, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStart, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kLineStartOrEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kObject, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=upstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=upstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStart, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=upstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kParagraphStartOrEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=13 affinity=downstream " "annotated_text=Line 1\nLine 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=1 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=9 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWebPage, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=1 text_offset=0 affinity=downstream " "annotated_text=<L>ine 1\nLine 2", "TextPosition anchor_id=9 text_offset=6 affinity=downstream " "annotated_text=Line 2<>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 affinity=downstream " "annotated_text=Line 1\nLine< >2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2", "TextPosition anchor_id=4 text_offset=11 affinity=downstream " "annotated_text=Line 1\nLine< >2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=5 affinity=downstream " "annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStart, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=12 affinity=downstream " "annotated_text=Line 1\nLine <2>"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, AXRangeExpandBehavior::kLeftFirst, "TextPosition anchor_id=4 text_offset=5 affinity=downstream " "annotated_text=Line <1>\nLine 2", "TextPosition anchor_id=4 text_offset=6 affinity=downstream " "annotated_text=Line 1<\n>Line 2"}, ExpandToEnclosingTextBoundaryTestParam{ ax::mojom::TextBoundary::kWordStartOrEnd, AXRangeExpandBehavior::kRightFirst, "TextPosition anchor_id=4 text_offset=7 affinity=downstream " "annotated_text=Line 1\n<L>ine 2", "TextPosition anchor_id=4 text_offset=11 affinity=downstream " "annotated_text=Line 1\nLine< >2"}) | |||
) |
AX_BASE_EXPORT bool ui::IsAlert | ( | const ax::mojom::Role | role | ) |
Definition at line 46 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsButton | ( | const ax::mojom::Role | role | ) |
Definition at line 56 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsCellOrTableHeader | ( | const ax::mojom::Role | role | ) |
Definition at line 110 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsClickable | ( | const ax::mojom::Role | role | ) |
Definition at line 69 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsContainerWithSelectableChildren | ( | const ax::mojom::Role | role | ) |
Definition at line 123 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsControl | ( | const ax::mojom::Role | role | ) |
Definition at line 144 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsControlOnAndroid | ( | const ax::mojom::Role | role, |
bool | isFocusable | ||
) |
Definition at line 179 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsDialog | ( | const ax::mojom::Role | role | ) |
Definition at line 217 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsDocument | ( | const ax::mojom::Role | role | ) |
Definition at line 206 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsForm | ( | const ax::mojom::Role | role | ) |
Definition at line 227 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsFormatBoundary | ( | const ax::mojom::Role | role | ) |
Definition at line 236 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsHeading | ( | const ax::mojom::Role | role | ) |
Definition at line 240 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsHeadingOrTableHeader | ( | const ax::mojom::Role | role | ) |
Definition at line 250 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsIframe | ( | ax::mojom::Role | role | ) |
Definition at line 262 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsImage | ( | const ax::mojom::Role | role | ) |
Definition at line 276 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsImageOrVideo | ( | const ax::mojom::Role | role | ) |
Definition at line 272 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsItemLike | ( | const ax::mojom::Role | role | ) |
Definition at line 290 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsLandmark | ( | const ax::mojom::Role | role | ) |
Definition at line 311 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsLink | ( | const ax::mojom::Role | role | ) |
Definition at line 327 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsList | ( | const ax::mojom::Role | role | ) |
Definition at line 340 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsListItem | ( | const ax::mojom::Role | role | ) |
Definition at line 354 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsMenuItem | ( | ax::mojom::Role | role | ) |
Definition at line 368 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsMenuRelated | ( | const ax::mojom::Role | role | ) |
Definition at line 379 of file ax_role_properties.cc.
bool ui::IsNameExposedInAXValueForRole | ( | ax::mojom::Role | role | ) |
Definition at line 1134 of file ax_platform_node_mac.mm.
AX_BASE_EXPORT bool ui::IsNodeIdIntAttribute | ( | ax::mojom::IntAttribute | attr | ) |
Definition at line 99 of file ax_node_data.cc.
AX_BASE_EXPORT bool ui::IsNodeIdIntListAttribute | ( | ax::mojom::IntListAttribute | attr | ) |
Definition at line 177 of file ax_node_data.cc.
AX_BASE_EXPORT bool ui::IsPresentational | ( | const ax::mojom::Role | role | ) |
Definition at line 394 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsRadio | ( | const ax::mojom::Role | role | ) |
Definition at line 404 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsRangeValueSupported | ( | const ax::mojom::Role | role | ) |
Definition at line 414 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsReadOnlySupported | ( | const ax::mojom::Role | role | ) |
Definition at line 431 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsRowContainer | ( | const ax::mojom::Role | role | ) |
Definition at line 479 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsSection | ( | const ax::mojom::Role | role | ) |
Definition at line 494 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsSectionhead | ( | const ax::mojom::Role | role | ) |
Definition at line 534 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsSelect | ( | const ax::mojom::Role | role | ) |
Definition at line 546 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsSetLike | ( | const ax::mojom::Role | role | ) |
Definition at line 561 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsStaticList | ( | const ax::mojom::Role | role | ) |
Definition at line 584 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsStructure | ( | const ax::mojom::Role | role | ) |
Definition at line 594 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsTableColumn | ( | ax::mojom::Role | role | ) |
Definition at line 646 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsTableHeader | ( | ax::mojom::Role | role | ) |
Definition at line 650 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsTableLike | ( | const ax::mojom::Role | role | ) |
Definition at line 660 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsTableRow | ( | ax::mojom::Role | role | ) |
Definition at line 674 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::IsText | ( | ax::mojom::Role | role | ) |
Definition at line 685 of file ax_role_properties.cc.
AX_EXPORT bool ui::IsValuePatternSupported | ( | AXPlatformNodeDelegate * | delegate | ) |
Definition at line 14 of file ax_platform_node_delegate_utils_win.cc.
|
staticconstexpr |
|
staticconstexpr |
bool ui::operator!= | ( | const AXEventIntent & | a, |
const AXEventIntent & | b | ||
) |
Definition at line 31 of file ax_event_intent.cc.
bool ui::operator!= | ( | const AXPosition< AXPositionType, AXNodeType > & | first, |
const AXPosition< AXPositionType, AXNodeType > & | second | ||
) |
Definition at line 3987 of file ax_position.h.
AX_EXPORT bool ui::operator!= | ( | const AXTreeData & | lhs, |
const AXTreeData & | rhs | ||
) |
Definition at line 86 of file ax_tree_data.cc.
bool ui::operator< | ( | const AXPosition< AXPositionType, AXNodeType > & | first, |
const AXPosition< AXPositionType, AXNodeType > & | second | ||
) |
Definition at line 3994 of file ax_position.h.
AX_EXPORT std::ostream & ui::operator<< | ( | std::ostream & | os, |
AXEventGenerator::Event | event | ||
) |
Definition at line 917 of file ax_event_generator.cc.
std::ostream & ui::operator<< | ( | std::ostream & | stream, |
AXPlatformNode & | node | ||
) |
Definition at line 63 of file ax_platform_node.cc.
AX_BASE_EXPORT std::ostream & ui::operator<< | ( | std::ostream & | stream, |
const AXMode & | mode | ||
) |
Definition at line 14 of file ax_mode.cc.
Definition at line 536 of file ax_node.cc.
std::ostream & ui::operator<< | ( | std::ostream & | stream, |
const AXPosition< AXPositionType, AXNodeType > & | position | ||
) |
Definition at line 4028 of file ax_position.h.
std::ostream & ui::operator<< | ( | std::ostream & | stream, |
const AXRange< AXPositionType > & | range | ||
) |
Definition at line 425 of file ax_range.h.
AX_BASE_EXPORT std::ostream & ui::operator<< | ( | std::ostream & | stream, |
const AXRelativeBounds & | bounds | ||
) |
Definition at line 72 of file ax_relative_bounds.cc.
AX_BASE_EXPORT std::ostream & ui::operator<< | ( | std::ostream & | stream, |
const AXTreeID & | value | ||
) |
Definition at line 99 of file ax_tree_id.cc.
bool ui::operator<= | ( | const AXPosition< AXPositionType, AXNodeType > & | first, |
const AXPosition< AXPositionType, AXNodeType > & | second | ||
) |
Definition at line 4001 of file ax_position.h.
bool ui::operator== | ( | const AXEventIntent & | a, |
const AXEventIntent & | b | ||
) |
bool ui::operator== | ( | const AXPosition< AXPositionType, AXNodeType > & | first, |
const AXPosition< AXPositionType, AXNodeType > & | second | ||
) |
Definition at line 3980 of file ax_position.h.
AX_EXPORT bool ui::operator== | ( | const AXTreeData & | lhs, |
const AXTreeData & | rhs | ||
) |
Definition at line 70 of file ax_tree_data.cc.
bool ui::operator> | ( | const AXPosition< AXPositionType, AXNodeType > & | first, |
const AXPosition< AXPositionType, AXNodeType > & | second | ||
) |
Definition at line 4008 of file ax_position.h.
bool ui::operator>= | ( | const AXPosition< AXPositionType, AXNodeType > & | first, |
const AXPosition< AXPositionType, AXNodeType > & | second | ||
) |
Definition at line 4015 of file ax_position.h.
AX_BASE_EXPORT ax::mojom::Action ui::ParseAction | ( | const char * | action | ) |
Definition at line 1189 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::ActionFlags ui::ParseActionFlags | ( | const char * | action_flags | ) |
Definition at line 1274 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::AriaCurrentState ui::ParseAriaCurrentState | ( | const char * | aria_current_state | ) |
Definition at line 2438 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::BoolAttribute ui::ParseBoolAttribute | ( | const char * | bool_attribute | ) |
Definition at line 1872 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::CheckedState ui::ParseCheckedState | ( | const char * | checked_state | ) |
Definition at line 2564 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::Command ui::ParseCommand | ( | const char * | command | ) |
Definition at line 2138 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::DefaultActionVerb ui::ParseDefaultActionVerb | ( | const char * | default_action_verb | ) |
Definition at line 1350 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::DescriptionFrom ui::ParseDescriptionFrom | ( | const char * | description_from | ) |
Definition at line 2677 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::Dropeffect ui::ParseDropeffect | ( | const char * | dropeffect | ) |
Definition at line 2945 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::Event ui::ParseEvent | ( | const char * | event | ) |
Definition at line 138 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::EventFrom ui::ParseEventFrom | ( | const char * | event_from | ) |
Definition at line 2708 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::FloatAttribute ui::ParseFloatAttribute | ( | const char * | float_attribute | ) |
Definition at line 1805 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::Gesture ui::ParseGesture | ( | const char * | gesture | ) |
Definition at line 2771 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::HasPopup ui::ParseHasPopup | ( | const char * | has_popup | ) |
Definition at line 2482 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::ImageAnnotationStatus ui::ParseImageAnnotationStatus | ( | const char * | status | ) |
Definition at line 2900 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::IntAttribute ui::ParseIntAttribute | ( | const char * | int_attribute | ) |
Definition at line 1656 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::IntListAttribute ui::ParseIntListAttribute | ( | const char * | int_list_attribute | ) |
Definition at line 1955 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::InvalidState ui::ParseInvalidState | ( | const char * | invalid_state | ) |
Definition at line 2514 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::ListStyle ui::ParseListStyle | ( | const char * | list_style | ) |
Definition at line 2033 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::MarkerType ui::ParseMarkerType | ( | const char * | marker_type | ) |
Definition at line 2070 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::MoveDirection ui::ParseMoveDirection | ( | const char * | move_direction | ) |
Definition at line 2097 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::Mutation ui::ParseMutation | ( | const char * | mutation | ) |
Definition at line 1394 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::NameFrom ui::ParseNameFrom | ( | const char * | name_from | ) |
Definition at line 2634 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::Restriction ui::ParseRestriction | ( | const char * | restriction | ) |
Definition at line 2539 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::Role ui::ParseRole | ( | const char * | role | ) |
Definition at line 647 of file ax_enum_util.cc.
ax::mojom::ScrollAlignment ui::ParseScrollAlignment | ( | const char * | scroll_alignment | ) |
Definition at line 1303 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::SortDirection ui::ParseSortDirection | ( | const char * | sort_direction | ) |
Definition at line 2593 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::State ui::ParseState | ( | const char * | state | ) |
Definition at line 1072 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::StringAttribute ui::ParseStringAttribute | ( | const char * | string_attribute | ) |
Definition at line 1469 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::StringListAttribute ui::ParseStringListAttribute | ( | const char * | string_list_attribute | ) |
Definition at line 2003 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::TextAffinity ui::ParseTextAffinity | ( | const char * | text_affinity | ) |
Definition at line 2832 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::TextAlign ui::ParseTextAlign | ( | const char * | text_align | ) |
Definition at line 2310 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::TextBoundary ui::ParseTextBoundary | ( | const char * | text_boundary | ) |
Definition at line 2215 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::TextDecorationStyle ui::ParseTextDecorationStyle | ( | const char * | text_decoration_style | ) |
Definition at line 2276 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::WritingDirection ui::ParseTextDirection | ( | const char * | text_direction | ) |
Definition at line 2341 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::TextPosition ui::ParseTextPosition | ( | const char * | text_position | ) |
Definition at line 2368 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::TextStyle ui::ParseTextStyle | ( | const char * | text_style | ) |
Definition at line 2397 of file ax_enum_util.cc.
AX_BASE_EXPORT ax::mojom::TreeOrder ui::ParseTreeOrder | ( | const char * | tree_order | ) |
Definition at line 2859 of file ax_enum_util.cc.
AX_EXPORT void ui::SetActivePopupAxUniqueId | ( | std::optional< int32_t > | ax_unique_id | ) |
Definition at line 21 of file ax_active_popup.cc.
AX_BASE_EXPORT bool ui::ShouldHaveReadonlyStateByDefault | ( | const ax::mojom::Role | role | ) |
Definition at line 774 of file ax_role_properties.cc.
|
static |
Definition at line 215 of file ax_platform_node_textrangeprovider_win_unittest.cc.
bool ui::StringSearch | ( | std::u16string_view | search_string, |
std::u16string_view | find_in, | ||
size_t * | find_start, | ||
size_t * | find_length, | ||
bool | ignore_case, | ||
bool | backwards | ||
) |
Definition at line 453 of file ax_platform_node_textrangeprovider_win.cc.
|
static |
Definition at line 438 of file ax_platform_node_textrangeprovider_win.cc.
AX_BASE_EXPORT bool ui::SupportsExpandCollapse | ( | const ax::mojom::Role | role | ) |
Definition at line 699 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::SupportsHierarchicalLevel | ( | const ax::mojom::Role | role | ) |
Definition at line 712 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::SupportsOrientation | ( | const ax::mojom::Role | role | ) |
Definition at line 725 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::SupportsSelected | ( | const ax::mojom::Role | role | ) |
Definition at line 746 of file ax_role_properties.cc.
AX_BASE_EXPORT bool ui::SupportsToggle | ( | const ax::mojom::Role | role | ) |
Definition at line 762 of file ax_role_properties.cc.
void ui::swap | ( | AXPosition< AXPositionType, AXNodeType > & | first, |
AXPosition< AXPositionType, AXNodeType > & | second | ||
) |
Definition at line 4022 of file ax_position.h.
Definition at line 65 of file ax_tree_id.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Action | |||
) |
Definition at line 86 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
ActionFlags | |||
) |
Definition at line 90 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
AriaCurrentState | |||
) |
Definition at line 189 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
BoolAttribute | |||
) |
Definition at line 121 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
CheckedState | |||
) |
Definition at line 205 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Command | |||
) |
Definition at line 165 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
DefaultActionVerb | |||
) |
Definition at line 94 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
DescriptionFrom | |||
) |
Definition at line 217 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Dropeffect | |||
) |
Definition at line 242 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Event | |||
) |
Definition at line 74 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
EventFrom | |||
) |
Definition at line 221 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
FloatAttribute | |||
) |
Definition at line 115 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Gesture | |||
) |
Definition at line 225 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
HasPopup | |||
) |
Definition at line 193 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
ImageAnnotationStatus | |||
) |
Definition at line 237 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
IntAttribute | |||
) |
Definition at line 109 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
IntListAttribute | |||
) |
Definition at line 127 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
InvalidState | |||
) |
Definition at line 197 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
ListStyle | |||
) |
Definition at line 157 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
MarkerType | |||
) |
Definition at line 140 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
MoveDirection | |||
) |
Definition at line 161 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Mutation | |||
) |
Definition at line 99 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
NameFrom | |||
) |
Definition at line 213 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Restriction | |||
) |
Definition at line 201 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Role | |||
) |
Definition at line 78 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
SortDirection | |||
) |
Definition at line 209 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
State | |||
) |
Definition at line 82 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
StringAttribute | |||
) |
Definition at line 103 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
StringListAttribute | |||
) |
Definition at line 133 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
Text_Decoration_Style | |||
) |
Definition at line 152 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
TextAffinity | |||
) |
Definition at line 229 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
TextAlign | |||
) |
Definition at line 169 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
TextBoundary | |||
) |
Definition at line 173 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
TextDirection | |||
) |
Definition at line 177 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
TextPosition | |||
) |
Definition at line 181 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
TextStyle | |||
) |
Definition at line 185 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEnumUtilTest | , |
TreeOrder | |||
) |
Definition at line 233 of file ax_enum_util_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ActiveDescendantChanged | |||
) |
Definition at line 404 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ActiveDescendantChangeOnDescendant | |||
) |
Definition at line 1769 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
AddChild | |||
) |
Definition at line 616 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
AddLiveRegionAttribute | |||
) |
Definition at line 352 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
AriaBusyChanged | |||
) |
Definition at line 1976 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
AtomicChanged | |||
) |
Definition at line 2106 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
BusyLiveRegionChanged | |||
) |
Definition at line 569 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
CheckedStateChanged | |||
) |
Definition at line 385 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ControlsChanged | |||
) |
Definition at line 2084 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
CreateAlertAndLiveRegion | |||
) |
Definition at line 432 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
DescriptionChanged | |||
) |
Definition at line 917 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
DocumentSelectionChanged | |||
) |
Definition at line 130 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
DocumentTitleChanged | |||
) |
Definition at line 149 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
DropeffectChanged | |||
) |
Definition at line 2122 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ExpandedAndRowCount | |||
) |
Definition at line 209 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
FloatValueChanged | |||
) |
Definition at line 313 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
FlowToChanged | |||
) |
Definition at line 2044 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
FocusIdChanged | |||
) |
Definition at line 189 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
FocusIdUnchanged | |||
) |
Definition at line 168 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
GrabbedChanged | |||
) |
Definition at line 2138 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
HasPopupChanged | |||
) |
Definition at line 2154 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly1 | |||
) |
Definition at line 1212 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly2 | |||
) |
Definition at line 1254 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly3 | |||
) |
Definition at line 1305 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly4 | |||
) |
Definition at line 1357 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly5 | |||
) |
Definition at line 1444 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly6 | |||
) |
Definition at line 1527 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly7 | |||
) |
Definition at line 1614 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IgnoredChangedFiredOnAncestorOnly8 | |||
) |
Definition at line 1685 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ImageAnnotationChanged | |||
) |
Definition at line 1806 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ImageAnnotationStatusChanged | |||
) |
Definition at line 1822 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IntListPropertyChanges | |||
) |
Definition at line 1925 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
IntPropertyChanges | |||
) |
Definition at line 1886 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
InvalidStatusChanged | |||
) |
Definition at line 334 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
LiveRegionChanged | |||
) |
Definition at line 475 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
LiveRegionOnlyTextChanges | |||
) |
Definition at line 526 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
LiveRelevantChanged | |||
) |
Definition at line 2173 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
LoadCompleteNewTree | |||
) |
Definition at line 48 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
LoadCompleteSameTree | |||
) |
Definition at line 30 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
LoadStart | |||
) |
Definition at line 104 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
MenuItemSelected | |||
) |
Definition at line 948 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
MultilineStateChanged | |||
) |
Definition at line 2190 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
MultiselectableStateChanged | |||
) |
Definition at line 1999 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
NameChanged | |||
) |
Definition at line 899 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
NodeBecomesIgnored | |||
) |
Definition at line 978 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
NodeBecomesIgnored2 | |||
) |
Definition at line 1010 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
NodeBecomesUnignored | |||
) |
Definition at line 1046 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
NodeBecomesUnignored2 | |||
) |
Definition at line 1081 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ObjectAttributeChanged | |||
) |
Definition at line 827 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
OtherAttributeChanged | |||
) |
Definition at line 855 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
RemoveChild | |||
) |
Definition at line 638 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ReorderChildren | |||
) |
Definition at line 660 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
RequiredStateChanged | |||
) |
Definition at line 2022 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
RoleChanged | |||
) |
Definition at line 933 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ScrollHorizontalPositionChanged | |||
) |
Definition at line 682 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
ScrollVerticalPositionChanged | |||
) |
Definition at line 698 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
SelectedAndSelectedChildren | |||
) |
Definition at line 249 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
StringPropertyChanges | |||
) |
Definition at line 1839 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
StringValueChanged | |||
) |
Definition at line 292 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
SubtreeBecomesUnignored | |||
) |
Definition at line 1120 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
TextAttributeChanged | |||
) |
Definition at line 714 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
TwoNodesSwapIgnored | |||
) |
Definition at line 1150 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXEventGeneratorTest | , |
TwoNodesSwapIgnored2 | |||
) |
Definition at line 1181 of file ax_event_generator_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
BitFieldsSanityCheck | |||
) |
Definition at line 361 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
GetAndSetCheckedState | |||
) |
Definition at line 19 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
IsButtonPressed | |||
) |
Definition at line 89 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
IsClickable | |||
) |
Definition at line 133 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
IsInvocable | |||
) |
Definition at line 212 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
IsMenuButton | |||
) |
Definition at line 242 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
SupportsExpandCollapse | |||
) |
Definition at line 276 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXNodeDataTest | , |
TextAttributes | |||
) |
Definition at line 37 of file ax_node_data_unittest.cc.
ui::TEST | ( | AXPlatformNodeBaseTest | , |
CompareTo | |||
) |
Definition at line 405 of file ax_platform_node_base_unittest.cc.
ui::TEST | ( | AXPlatformNodeBaseTest | , |
GetHypertext | |||
) |
Definition at line 48 of file ax_platform_node_base_unittest.cc.
ui::TEST | ( | AXPlatformNodeBaseTest | , |
GetHypertextIgnoredContainerSiblings | |||
) |
Definition at line 91 of file ax_platform_node_base_unittest.cc.
ui::TEST | ( | AXPlatformNodeBaseTest | , |
InnerTextIgnoresInvisibleAndIgnored | |||
) |
Definition at line 156 of file ax_platform_node_base_unittest.cc.
ui::TEST | ( | AXPlatformNodeBaseTest | , |
TestSelectedChildren | |||
) |
Definition at line 209 of file ax_platform_node_base_unittest.cc.
ui::TEST | ( | AXPlatformNodeBaseTest | , |
TestSelectedChildrenMixed | |||
) |
Definition at line 310 of file ax_platform_node_base_unittest.cc.
ui::TEST | ( | AXPlatformNodeBaseTest | , |
TestSelectedChildrenWithGroup | |||
) |
Definition at line 244 of file ax_platform_node_base_unittest.cc.
ui::TEST | ( | AXPlatformUniqueIdTest | , |
DoesCreateCorrectId | |||
) |
Definition at line 56 of file ax_unique_id_unittest.cc.
ui::TEST | ( | AXPlatformUniqueIdTest | , |
IdsAreUnique | |||
) |
Definition at line 13 of file ax_unique_id_unittest.cc.
ui::TEST | ( | AXPlatformUniqueIdTest | , |
UnassignedIdsAreReused | |||
) |
Definition at line 34 of file ax_unique_id_unittest.cc.
ui::TEST | ( | AXRolePropertiesTest | , |
TestSupportsHierarchicalLevel | |||
) |
Definition at line 15 of file ax_role_properties_unittest.cc.
ui::TEST | ( | AXRolePropertiesTest | , |
TestSupportsToggle | |||
) |
Definition at line 43 of file ax_role_properties_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
AttributeChangeCallbacks | |||
) |
Definition at line 1126 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
BogusAXTree | |||
) |
Definition at line 1052 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
BogusAXTree2 | |||
) |
Definition at line 1063 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
BogusAXTree3 | |||
) |
Definition at line 1078 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
CachedUnignoredValues | |||
) |
Definition at line 1819 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
DeletingNodeUpdatesReverseRelations | |||
) |
Definition at line 1701 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
DuplicateChildIdFails | |||
) |
Definition at line 371 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
EmptyNodeBoundsIsUnionOfChildren | |||
) |
Definition at line 1301 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
EmptyNodeNotOffscreenEvenIfAllChildrenOffscreen | |||
) |
Definition at line 1324 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsBasic | |||
) |
Definition at line 1284 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsCropsChildToRoot | |||
) |
Definition at line 1482 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsEmptyBoundsInheritsFromParent | |||
) |
Definition at line 1455 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsOfNodeWithZeroSize | |||
) |
Definition at line 1424 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsSetsOffscreenIfClipsChildren | |||
) |
Definition at line 1522 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsUpdatesOffscreen | |||
) |
Definition at line 1559 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsWithContainerId | |||
) |
Definition at line 1379 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsWithScrolling | |||
) |
Definition at line 1403 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetBoundsWithTransform | |||
) |
Definition at line 1352 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetChildrenOrSiblings | |||
) |
Definition at line 2975 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetSiblingsNoIgnored | |||
) |
Definition at line 2490 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetUnignoredSiblingIgnoredParentIrrelevant | |||
) |
Definition at line 2660 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetUnignoredSiblingsAllIgnored | |||
) |
Definition at line 2687 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetUnignoredSiblingsChildrenPromoted | |||
) |
Definition at line 2532 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetUnignoredSiblingsIgnoredChildSkipped | |||
) |
Definition at line 2596 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
GetUnignoredSiblingsNestedIgnored | |||
) |
Definition at line 2711 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
ImplicitAttributeDelete | |||
) |
Definition at line 814 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
ImplicitChildrenDelete | |||
) |
Definition at line 664 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
IndexInParentAfterReorder | |||
) |
Definition at line 702 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
IndexInParentAfterReorderIgnoredNode | |||
) |
Definition at line 750 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
IntListChangeCallbacks | |||
) |
Definition at line 1221 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
IntListReverseRelations | |||
) |
Definition at line 1658 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
IntReverseRelations | |||
) |
Definition at line 1592 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
InvalidReparentingFails | |||
) |
Definition at line 389 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
LeaveOrphanedDeletedSubtreeFails | |||
) |
Definition at line 333 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
LeaveOrphanedNewChildFails | |||
) |
Definition at line 354 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
MultipleIgnoredChangesDoesNotBreakCache | |||
) |
Definition at line 949 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
NodeToClearUpdatesParentUnignoredCount | |||
) |
Definition at line 980 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
NoReparentingIfOnlyRemovedAndChangedNotReAdded | |||
) |
Definition at line 464 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
NoReparentingIfRemovedMultipleTimesAndNotInFinalTree | |||
) |
Definition at line 512 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
NoReparentingOfRootIfNoNewRoot | |||
) |
Definition at line 415 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
NullUnignoredChildren | |||
) |
Definition at line 1961 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
OnNodeHasBeenDeleted | |||
) |
Definition at line 4393 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
OnNodeWillBeDeletedHasValidUnignoredParent | |||
) |
Definition at line 4365 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
OrderedSetReportsSetSize | |||
) |
Definition at line 3497 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
PosInSetDecreasing | |||
) |
Definition at line 3296 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
PosInSetDuplicates | |||
) |
Definition at line 3327 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
PosInSetMissing | |||
) |
Definition at line 3194 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
ReparentIfRemovedMultipleTimesButExistsInFinalTree | |||
) |
Definition at line 559 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
ReparentingDoesNotTriggerNodeCreated | |||
) |
Definition at line 918 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
ReparentRootIfRootChanged | |||
) |
Definition at line 607 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
ReverseRelationsDoNotKeepGrowing | |||
) |
Definition at line 1730 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
RoleAndStateChangeCallbacks | |||
) |
Definition at line 1095 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SerializeAXTreeUpdate | |||
) |
Definition at line 297 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizeAssignedOnContainer | |||
) |
Definition at line 3081 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizeDecreasing | |||
) |
Definition at line 3267 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetAddItem | |||
) |
Definition at line 3446 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetAssigned | |||
) |
Definition at line 3020 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetControls | |||
) |
Definition at line 4285 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetDeleteItem | |||
) |
Definition at line 3403 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetDiverseList | |||
) |
Definition at line 3111 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetFlatTree | |||
) |
Definition at line 3772 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetFlatTreeLevelsOnly | |||
) |
Definition at line 3806 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetGroup | |||
) |
Definition at line 4087 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetHidden | |||
) |
Definition at line 4244 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetIgnoredItem | |||
) |
Definition at line 3919 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetInvalid | |||
) |
Definition at line 3579 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetLeafPopUpButton | |||
) |
Definition at line 4347 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetMenuItemValidChildOfMenuListPopup | |||
) |
Definition at line 4027 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetMissingDifficult | |||
) |
Definition at line 3225 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetNestedContainer | |||
) |
Definition at line 3358 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetNestedList | |||
) |
Definition at line 3151 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetPopUpButton | |||
) |
Definition at line 3967 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetRadioButtons | |||
) |
Definition at line 3608 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetRadioButtonsInList | |||
) |
Definition at line 3720 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetSubtreeDeleted | |||
) |
Definition at line 3878 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetUnassigned | |||
) |
Definition at line 3053 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePosInSetUnkown | |||
) |
Definition at line 3998 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SetSizePostInSetListBoxOptionWithGroup | |||
) |
Definition at line 4050 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SingleUpdateDeletesNewlyCreatedChildNode | |||
) |
Definition at line 4443 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SingleUpdateIgnoresNewlyCreatedUnignoredChildNode | |||
) |
Definition at line 4560 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SingleUpdateReparentsNodeMultipleTimes | |||
) |
Definition at line 4493 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SingleUpdateTogglesIgnoredStateAfterCreatingNode | |||
) |
Definition at line 4591 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SingleUpdateTogglesIgnoredStateBeforeDestroyingNode | |||
) |
Definition at line 4634 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
SkipIgnoredNodes | |||
) |
Definition at line 1789 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
TestIsInListMarker | |||
) |
Definition at line 4677 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
TestRecursionUnignoredChildCount | |||
) |
Definition at line 1936 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
TreeObserverIsCalled | |||
) |
Definition at line 844 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
TreeObserverIsCalledForTreeDataChanges | |||
) |
Definition at line 884 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
TreeObserverIsNotCalledForReparenting | |||
) |
Definition at line 1009 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
UnignoredAccessors | |||
) |
Definition at line 2275 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
UnignoredChildIterator | |||
) |
Definition at line 2152 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
UnignoredChildIteratorIgnoredContainerSiblings | |||
) |
Definition at line 2050 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
UnignoredChildIteratorIncrementDecrementPastEnd | |||
) |
Definition at line 1980 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
UnignoredNextPreviousChild | |||
) |
Definition at line 2365 of file ax_tree_unittest.cc.
ui::TEST | ( | AXTreeTest | , |
UnignoredSelection | |||
) |
Definition at line 2793 of file ax_tree_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
DISABLED_TestUIAElementProviderFromPoint | |||
) |
Definition at line 280 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestChildAtIndex | |||
) |
Definition at line 425 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestFragmentRootMap | |||
) |
Definition at line 672 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestGetChildCount | |||
) |
Definition at line 412 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestGetParent | |||
) |
Definition at line 441 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestGetPropertyValue | |||
) |
Definition at line 456 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestUIAErrorHandling | |||
) |
Definition at line 372 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestUIAGetFocus | |||
) |
Definition at line 331 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestUIAGetFragmentRoot | |||
) |
Definition at line 263 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
TestUIAMultipleFragmentRoots | |||
) |
Definition at line 495 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXFragmentRootTest | , |
UIAFindItemByPropertyUniqueId | |||
) |
Definition at line 45 of file ax_fragment_root_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeMacTest | , |
AccessibilityRangeForPositionDoesntCrash | |||
) |
Definition at line 51 of file ax_platform_node_mac_unittest.mm.
ui::TEST_F | ( | AXPlatformNodeMacTest | , |
CanGetCocoaPlatformNodeFromTree | |||
) |
Definition at line 33 of file ax_platform_node_mac_unittest.mm.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
CreateDegenerateRangeFromStart | |||
) |
Definition at line 66 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
DISABLED_ITextProviderDocumentRangeTrailingIgnored | |||
) |
Definition at line 448 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderDocumentRange | |||
) |
Definition at line 422 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderDocumentRangeNested | |||
) |
Definition at line 558 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderGetActiveComposition | |||
) |
Definition at line 826 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderGetConversionTarget | |||
) |
Definition at line 886 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderGetSelection | |||
) |
Definition at line 616 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderRangeFromChild | |||
) |
Definition at line 172 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderRangeFromChildMultipleChildren | |||
) |
Definition at line 265 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
ITextProviderSupportedSelection | |||
) |
Definition at line 589 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextProviderTest | , |
NearestTextIndexToPoint | |||
) |
Definition at line 364 of file ax_platform_node_textprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
CaretAtEndOfTextFieldReadOnly | |||
) |
Definition at line 7242 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_GeneratedNewlineReturnsCommonAnchorReadonly | |||
) |
Definition at line 7364 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_MoveEndpointToLastIgnoredForTextNavigationNode | |||
) |
Definition at line 7517 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestDeleteSubtreeThatIncludesEndpointsNormalizeMoves | |||
) |
Definition at line 6912 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestDeleteSubtreeWithIgnoredAncestors | |||
) |
Definition at line 6781 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderExpandToEnclosingFormat | |||
) |
Definition at line 1336 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderExpandToEnclosingFormatWithEmptyObjects | |||
) |
Definition at line 1548 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderExpandToEnclosingParagraph | |||
) |
Definition at line 1271 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderGetAttributeValue | |||
) |
Definition at line 3799 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderGetAttributeValueAnnotationObjects | |||
) |
Definition at line 4449 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderGetAttributeValueAnnotationObjectsMixed | |||
) |
Definition at line 4601 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderGetBoundingRectangles | |||
) |
Definition at line 3153 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderIgnoredForTextNavigation | |||
) |
Definition at line 1680 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderIgnoredNodes | |||
) |
Definition at line 5836 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderInvalidCalls | |||
) |
Definition at line 1778 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveDocument | |||
) |
Definition at line 2458 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveEndpointByCharacterMultilingual | |||
) |
Definition at line 2588 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveEndpointByFormat | |||
) |
Definition at line 3039 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveEndpointByLine | |||
) |
Definition at line 2797 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveEndpointByUnitTextField | |||
) |
Definition at line 2884 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveEndpointByWord | |||
) |
Definition at line 2698 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveFormat | |||
) |
Definition at line 1983 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveLine | |||
) |
Definition at line 2208 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveParagraph | |||
) |
Definition at line 2285 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestITextRangeProviderMoveWord | |||
) |
Definition at line 2115 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestNormalizeTextRangeForceSameAnchorOnDegenerateRange | |||
) |
Definition at line 6291 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
DISABLED_TestValidateStartAndEnd | |||
) |
Definition at line 6395 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
ElementNotAvailable | |||
) |
Definition at line 5805 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
FindTextWithEmbeddedObjectCharacter | |||
) |
Definition at line 5178 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestDeleteSubtreeThatIncludesEndpoints | |||
) |
Definition at line 6682 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestDeleteTreePositionPreviousSibling | |||
) |
Definition at line 7044 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderClone | |||
) |
Definition at line 984 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderCompare | |||
) |
Definition at line 3100 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderCompareEndpoints | |||
) |
Definition at line 1013 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderExpandToEnclosingCharacter | |||
) |
Definition at line 1096 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderExpandToEnclosingDocument | |||
) |
Definition at line 1643 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderExpandToEnclosingLine | |||
) |
Definition at line 1222 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderExpandToEnclosingWord | |||
) |
Definition at line 1173 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderFindAttribute | |||
) |
Definition at line 5305 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderFindText | |||
) |
Definition at line 5110 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderFindTextBackwards | |||
) |
Definition at line 5264 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderGetAttributeValueNotSupported | |||
) |
Definition at line 4733 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderGetAttributeValueWithAncestorTextPosition | |||
) |
Definition at line 4812 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderGetEnclosingElement | |||
) |
Definition at line 3220 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderGetEnclosingElementRichButton | |||
) |
Definition at line 3458 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderGetText | |||
) |
Definition at line 1845 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderMove | |||
) |
Definition at line 2510 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderMoveCharacter | |||
) |
Definition at line 1895 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderMoveEndpointByDocument | |||
) |
Definition at line 2520 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderMoveEndpointByRange | |||
) |
Definition at line 3578 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderSelect | |||
) |
Definition at line 4875 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderSelection | |||
) |
Definition at line 3141 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestITextRangeProviderSelectListMarker | |||
) |
Definition at line 5042 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestNormalizeTextRangeInsideIgnoredNodes | |||
) |
Definition at line 6110 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestNormalizeTextRangePastEndOfDocument | |||
) |
Definition at line 5976 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestNormalizeTextRangePastEndOfDocumentWithIgnoredNodes | |||
) |
Definition at line 6041 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestNormalizeTextRangeSpanIgnoredNodes | |||
) |
Definition at line 6195 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestReplaceStartAndEndEndpointNode | |||
) |
Definition at line 6524 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeTextRangeProviderTest | , |
TestReplaceStartAndEndEndpointRepeatRemoval | |||
) |
Definition at line 7133 of file ax_platform_node_textrangeprovider_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
AccNavigate | |||
) |
Definition at line 1069 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
AnnotatedImageName | |||
) |
Definition at line 1171 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ComputeUIAControlType | |||
) |
Definition at line 3034 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
GetPatternProviderExpandCollapsePattern | |||
) |
Definition at line 3578 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
GetPatternProviderInvokePattern | |||
) |
Definition at line 3696 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
GetPatternProviderSupportedPatterns | |||
) |
Definition at line 3417 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
GetPropertyValue_HelpText | |||
) |
Definition at line 2355 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
GetPropertyValue_IsControlElement | |||
) |
Definition at line 2463 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
GetPropertyValue_LabeledByTest | |||
) |
Definition at line 2230 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
GetPropertyValue_LocalizedControlType | |||
) |
Definition at line 2429 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleAccValue | |||
) |
Definition at line 556 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleChildAndParent | |||
) |
Definition at line 994 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleDescription | |||
) |
Definition at line 538 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleDetachedObject | |||
) |
Definition at line 432 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleHitTest | |||
) |
Definition at line 450 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleHitTestDoesNotLoopForever | |||
) |
Definition at line 492 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleLocation | |||
) |
Definition at line 962 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleName | |||
) |
Definition at line 520 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleRole | |||
) |
Definition at line 927 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionListBoxOptionMultipleSelected | |||
) |
Definition at line 653 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionListBoxOptionNothingSelected | |||
) |
Definition at line 593 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionListBoxOptionOneSelected | |||
) |
Definition at line 622 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionTableCellMultipleSelected | |||
) |
Definition at line 862 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionTableCellOneSelected | |||
) |
Definition at line 828 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionTableNothingSelected | |||
) |
Definition at line 732 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionTableRowMultipleSelected | |||
) |
Definition at line 768 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleSelectionTableRowOneSelected | |||
) |
Definition at line 743 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IAccessibleShortcut | |||
) |
Definition at line 574 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IExpandCollapsePatternProviderAction | |||
) |
Definition at line 3762 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IGridProviderGetColumnCount | |||
) |
Definition at line 1345 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IGridProviderGetItem | |||
) |
Definition at line 1378 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IGridProviderGetRowCount | |||
) |
Definition at line 1312 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IInvokeProviderInvoke | |||
) |
Definition at line 3931 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IRawElementProviderSimple2ShowContextMenu | |||
) |
Definition at line 3166 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IScrollProviderSetScrollPercent | |||
) |
Definition at line 4607 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderDisabled | |||
) |
Definition at line 3987 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderGetSelectionContainer | |||
) |
Definition at line 4356 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderGrid | |||
) |
Definition at line 4289 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderMenuItemRadio | |||
) |
Definition at line 4176 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderNotSelectable | |||
) |
Definition at line 4013 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderNotSupported | |||
) |
Definition at line 3972 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderRadioButton | |||
) |
Definition at line 4088 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderSelectFollowFocus | |||
) |
Definition at line 4387 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderSimple | |||
) |
Definition at line 4028 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionItemProviderTable | |||
) |
Definition at line 4264 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionProviderCanSelectMultipleDefault | |||
) |
Definition at line 2867 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionProviderCanSelectMultipleTrue | |||
) |
Definition at line 2881 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionProviderGetSelectionMultipleItemsSelected | |||
) |
Definition at line 2988 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionProviderGetSelectionNoneSelected | |||
) |
Definition at line 2928 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionProviderGetSelectionSingleItemSelected | |||
) |
Definition at line 2953 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionProviderIsSelectionRequiredDefault | |||
) |
Definition at line 2898 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ISelectionProviderIsSelectionRequiredTrue | |||
) |
Definition at line 2913 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ITableItemProviderGetColumnHeaderItems | |||
) |
Definition at line 1638 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ITableItemProviderGetRowHeaderItems | |||
) |
Definition at line 1701 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ITableProviderGetColumnHeaders | |||
) |
Definition at line 1410 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ITableProviderGetColumnHeadersMultipleHeaders | |||
) |
Definition at line 1458 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ITableProviderGetRowHeaders | |||
) |
Definition at line 1576 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
ITableProviderGetRowOrColumnMajor | |||
) |
Definition at line 1622 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IValueProvider_GetValue | |||
) |
Definition at line 4446 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IValueProvider_IsReadOnly | |||
) |
Definition at line 4552 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
IValueProvider_SetValue | |||
) |
Definition at line 4495 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
MojoEventToUIAPropertyTest | |||
) |
Definition at line 4677 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAErrorHandling | |||
) |
Definition at line 3199 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetBoundingRectangle | |||
) |
Definition at line 2588 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetControllerForPropertyId | |||
) |
Definition at line 1951 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetDescribedByPropertyId | |||
) |
Definition at line 1999 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetEmbeddedFragmentRoots | |||
) |
Definition at line 2646 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetFlowsToPropertyId | |||
) |
Definition at line 2100 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetFragmentRoot | |||
) |
Definition at line 2606 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetHostRawElementProvider | |||
) |
Definition at line 2574 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertySimple | |||
) |
Definition at line 1763 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertyValueClickablePoint | |||
) |
Definition at line 1823 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertyValueFlowsFromMultiple | |||
) |
Definition at line 2174 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertyValueFlowsFromNone | |||
) |
Definition at line 2131 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertyValueFlowsFromSingle | |||
) |
Definition at line 2149 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertyValueFrameworkId | |||
) |
Definition at line 2218 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertyValueIsControlElementIgnoredInvisible | |||
) |
Definition at line 1864 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetPropertyValueIsDialog | |||
) |
Definition at line 1840 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetProviderOptions | |||
) |
Definition at line 2557 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAGetRuntimeId | |||
) |
Definition at line 2660 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAItemStatusPropertyId | |||
) |
Definition at line 2032 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAIWindowProviderGetIsModalFalse | |||
) |
Definition at line 2704 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAIWindowProviderGetIsModalTrue | |||
) |
Definition at line 2723 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAIWindowProviderGetIsModalUnset | |||
) |
Definition at line 2690 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAIWindowProviderInvalidArgument | |||
) |
Definition at line 2742 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIAIWindowProviderNotSupported | |||
) |
Definition at line 2765 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIALandmarkType | |||
) |
Definition at line 3079 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIALocalizedLandmarkType | |||
) |
Definition at line 3123 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPlatformNodeWinTest | , |
UIANavigate | |||
) |
Definition at line 2803 of file ax_platform_node_win_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionAfterCharacter | |||
) |
Definition at line 5824 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionAfterCharacterNoAdjustment | |||
) |
Definition at line 5686 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionBeforeAndAfterCharacterAtInvalidGraphemeBoundary | |||
) |
Definition at line 5568 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionBeforeAndAfterCharacterWithNullPosition | |||
) |
Definition at line 5554 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionBeforeCharacter | |||
) |
Definition at line 5770 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionBeforeCharacterNoAdjustment | |||
) |
Definition at line 5616 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionWithNullPosition | |||
) |
Definition at line 3218 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionWithTextPosition | |||
) |
Definition at line 3267 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionWithTextPositionAndEmptyTextSandwich | |||
) |
Definition at line 3422 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTextPositionWithTreePosition | |||
) |
Definition at line 3226 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTreePositionWithNullPosition | |||
) |
Definition at line 3038 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTreePositionWithTextPosition | |||
) |
Definition at line 3084 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsLeafTreePositionWithTreePosition | |||
) |
Definition at line 3046 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsTextPositionWithNullPosition | |||
) |
Definition at line 2966 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsTextPositionWithTextPosition | |||
) |
Definition at line 3022 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsTextPositionWithTreePosition | |||
) |
Definition at line 2974 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsTreePositionWithNullPosition | |||
) |
Definition at line 2898 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsTreePositionWithTextPosition | |||
) |
Definition at line 2919 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsTreePositionWithTreePosition | |||
) |
Definition at line 2906 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsUnignoredPosition | |||
) |
Definition at line 3478 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsValidPosition | |||
) |
Definition at line 5891 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AsValidPositionInDescendantOfEmptyObject | |||
) |
Definition at line 5984 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtEndOfAnchorWithNullPosition | |||
) |
Definition at line 1168 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtEndOfAnchorWithTextPosition | |||
) |
Definition at line 1191 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtEndOfAnchorWithTreePosition | |||
) |
Definition at line 1174 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtEndOfBlankLine | |||
) |
Definition at line 1397 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtEndOfLineWithTextPosition | |||
) |
Definition at line 1317 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtEndOfParagraphWithTextPosition | |||
) |
Definition at line 1771 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtLastNodeInTree | |||
) |
Definition at line 5119 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartAndEndOfLineInsideTextField | |||
) |
Definition at line 1556 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartAndEndOfLineWhenAtEndOfTextSpan | |||
) |
Definition at line 1427 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOfAnchorWithNullPosition | |||
) |
Definition at line 1110 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOfAnchorWithTextPosition | |||
) |
Definition at line 1145 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOfAnchorWithTreePosition | |||
) |
Definition at line 1116 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOfBlankLine | |||
) |
Definition at line 1365 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOfLineStaticTextExtraPrecedingSpace | |||
) |
Definition at line 1264 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOfLineWithTextPosition | |||
) |
Definition at line 1214 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOfParagraphWithTextPosition | |||
) |
Definition at line 1719 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOrEndOfParagraphOnAListMarker | |||
) |
Definition at line 2028 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOrEndOfParagraphWithEmbeddedObjectCharacter | |||
) |
Definition at line 2705 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOrEndOfParagraphWithIgnoredNodes | |||
) |
Definition at line 2522 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
AtStartOrEndOfParagraphWithLeadingAndTrailingDocumentWhitespace | |||
) |
Definition at line 2341 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
Clone | |||
) |
Definition at line 498 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateChildPositionAtWithNullPosition | |||
) |
Definition at line 5144 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateChildPositionAtWithTextPosition | |||
) |
Definition at line 5172 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateChildPositionAtWithTreePosition | |||
) |
Definition at line 5152 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateLinePositionsMultipleAnchorsInSingleLine | |||
) |
Definition at line 7060 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextAnchorPosition | |||
) |
Definition at line 7017 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextAndPreviousCharacterPositionWithNullPosition | |||
) |
Definition at line 5878 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextAndPreviousLeafTextPositionWithNullPosition | |||
) |
Definition at line 5262 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextAndPreviousWordEndPositionWithNullPosition | |||
) |
Definition at line 6612 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextAndPreviousWordStartPositionWithNullPosition | |||
) |
Definition at line 6599 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextCharacterPosition | |||
) |
Definition at line 6047 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextCharacterPositionAtGraphemeBoundary | |||
) |
Definition at line 6401 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextLeafTextPosition | |||
) |
Definition at line 5273 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextLeafTreePosition | |||
) |
Definition at line 5450 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateNextWordPositionInList | |||
) |
Definition at line 7168 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePagePositionWithNonPaginatedDocument | |||
) |
Definition at line 4949 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePagePositionWithNullPosition | |||
) |
Definition at line 4915 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateParentPositionWithNullPosition | |||
) |
Definition at line 5194 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateParentPositionWithTextPosition | |||
) |
Definition at line 5222 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreateParentPositionWithTreePosition | |||
) |
Definition at line 5202 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtEndOfAnchorWithNullPosition | |||
) |
Definition at line 3987 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtEndOfAnchorWithTextPosition | |||
) |
Definition at line 4015 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtEndOfAnchorWithTreePosition | |||
) |
Definition at line 3995 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtEndOfDocumentWithNullPosition | |||
) |
Definition at line 5065 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtEndOfDocumentWithTextPosition | |||
) |
Definition at line 5098 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtEndOfDocumentWithTreePosition | |||
) |
Definition at line 5074 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtFormatBoundaryWithTextPosition | |||
) |
Definition at line 4292 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtInvalidGraphemeBoundary | |||
) |
Definition at line 3896 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtNextFormatEndWithNullPosition | |||
) |
Definition at line 4164 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtNextFormatEndWithTextPosition | |||
) |
Definition at line 4234 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtNextFormatEndWithTreePosition | |||
) |
Definition at line 4177 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtPageBoundaryWithTextPosition | |||
) |
Definition at line 4608 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtPageBoundaryWithTreePosition | |||
) |
Definition at line 4762 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtPreviousFormatStartWithNullPosition | |||
) |
Definition at line 4042 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtPreviousFormatStartWithTextPosition | |||
) |
Definition at line 4111 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtPreviousFormatStartWithTreePosition | |||
) |
Definition at line 4060 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtStartOfAnchorWithNullPosition | |||
) |
Definition at line 3919 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtStartOfAnchorWithTextPosition | |||
) |
Definition at line 3959 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtStartOfAnchorWithTreePosition | |||
) |
Definition at line 3928 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtStartOfDocumentWithNullPosition | |||
) |
Definition at line 4940 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtStartOfDocumentWithTextPosition | |||
) |
Definition at line 5044 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtStartOfDocumentWithTreePosition | |||
) |
Definition at line 5020 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePositionAtTextBoundaryDocumentStartEndIsIgnored | |||
) |
Definition at line 3747 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePreviousCharacterPosition | |||
) |
Definition at line 6232 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePreviousCharacterPositionAtGraphemeBoundary | |||
) |
Definition at line 6480 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePreviousLeafTextPosition | |||
) |
Definition at line 5361 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePreviousLeafTreePosition | |||
) |
Definition at line 5509 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
CreatePreviousWordPositionInList | |||
) |
Definition at line 7335 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
EmptyObjectReplacedByCharacterTextNavigation | |||
) |
Definition at line 7510 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetAndGetTextWithGeneratedContent | |||
) |
Definition at line 1055 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromButton | |||
) |
Definition at line 958 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromCheckbox | |||
) |
Definition at line 967 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromInlineTextBox | |||
) |
Definition at line 994 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromLineBreak | |||
) |
Definition at line 1003 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromNullPosition | |||
) |
Definition at line 942 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromRoot | |||
) |
Definition at line 949 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromStaticText | |||
) |
Definition at line 985 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetFromTextfield | |||
) |
Definition at line 976 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetMaxTextOffsetUpdate | |||
) |
Definition at line 1012 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromButton | |||
) |
Definition at line 888 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromCheckbox | |||
) |
Definition at line 897 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromInlineTextBox | |||
) |
Definition at line 924 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromLineBreak | |||
) |
Definition at line 933 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromNullPosition | |||
) |
Definition at line 872 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromRoot | |||
) |
Definition at line 879 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromStaticText | |||
) |
Definition at line 915 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
GetTextFromTextField | |||
) |
Definition at line 906 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
IsIgnored | |||
) |
Definition at line 722 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
LowestCommonAncestor | |||
) |
Definition at line 2814 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
MoveByFormatWithIgnoredNodes | |||
) |
Definition at line 4340 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
OperatorEquals | |||
) |
Definition at line 6625 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
OperatorEqualsSameTextOffsetDifferentAnchorIdLeaf | |||
) |
Definition at line 6817 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
OperatorEqualsSameTextOffsetDifferentAnchorIdRoot | |||
) |
Definition at line 6800 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
OperatorEqualsSameTextOffsetSameAnchorId | |||
) |
Definition at line 6783 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
OperatorsLessThanAndGreaterThan | |||
) |
Definition at line 6834 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
ParagraphEdgesWithPreservedNewLine | |||
) |
Definition at line 1816 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
PreviousParagraphEndStopAtAnchorBoundaryWithConsecutiveParentChildLineBreakingObjects | |||
) |
Definition at line 1974 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
ReciprocalCreateNextAndPreviousCharacterPosition | |||
) |
Definition at line 6560 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
Serialize | |||
) |
Definition at line 551 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
Swap | |||
) |
Definition at line 6966 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
TextNavigationWithCollapsedCombobox | |||
) |
Definition at line 7799 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXPositionTest | , |
ToString | |||
) |
Definition at line 605 of file ax_node_position_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
AsForwardRange | |||
) |
Definition at line 369 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
BeginAndEndIterators | |||
) |
Definition at line 463 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
EqualityOperators | |||
) |
Definition at line 329 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetRects | |||
) |
Definition at line 1161 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetRectsOffscreen | |||
) |
Definition at line 1360 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetTextAddingNewlineBetweenParagraphs | |||
) |
Definition at line 913 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetTextWithEmptyRanges | |||
) |
Definition at line 856 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetTextWithList | |||
) |
Definition at line 1023 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetTextWithMaxCount | |||
) |
Definition at line 1002 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetTextWithTextOffsets | |||
) |
Definition at line 822 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
GetTextWithWholeObjects | |||
) |
Definition at line 699 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
IsCollapsed | |||
) |
Definition at line 397 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXRangeTest | , |
LeafTextRangeIteration | |||
) |
Definition at line 527 of file ax_range_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
AriaIndicesInferred | |||
) |
Definition at line 812 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
AuthorRowAndColumnCountsAreRespected | |||
) |
Definition at line 275 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
BadColIndicesIgnored | |||
) |
Definition at line 771 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
BadRowIndicesIgnored | |||
) |
Definition at line 726 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
CellIdsHandlesSpansAndMissingCells | |||
) |
Definition at line 329 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
ComputedTableSizeIncludesSpans | |||
) |
Definition at line 248 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
ExtraMacNodes | |||
) |
Definition at line 495 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
ExtraMacNodesChanges | |||
) |
Definition at line 940 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
HeadersWithSpans | |||
) |
Definition at line 431 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
RowColumnSpanChanges | |||
) |
Definition at line 1081 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
SimpleTable | |||
) |
Definition at line 97 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
SkipsGenericAndIgnoredNodes | |||
) |
Definition at line 373 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
TableChanges | |||
) |
Definition at line 912 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
TableInfoRecomputedOnlyWhenTableChanges | |||
) |
Definition at line 296 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
TableWithNoIndices | |||
) |
Definition at line 573 of file ax_table_info_unittest.cc.
ui::TEST_F | ( | AXTableInfoTest | , |
TableWithPartialIndices | |||
) |
Definition at line 636 of file ax_table_info_unittest.cc.
ui::TEST_P | ( | AXPositionCreatePositionAtTextBoundaryTestWithParam | , |
TextPositionBeforeStaticText | |||
) |
Definition at line 7966 of file ax_node_position_unittest.cc.
ui::TEST_P | ( | AXPositionExpandToEnclosingTextBoundaryTestWithParam | , |
TextPositionBeforeLine2 | |||
) |
Definition at line 7952 of file ax_node_position_unittest.cc.
ui::TEST_P | ( | AXPositionTextNavigationTestWithParam | , |
TraverseTreeStartingWithAffinityDownstream | |||
) |
Definition at line 7978 of file ax_node_position_unittest.cc.
ui::TEST_P | ( | AXPositionTextNavigationTestWithParam | , |
TraverseTreeStartingWithAffinityUpstream | |||
) |
Definition at line 7991 of file ax_node_position_unittest.cc.
void ui::TestAXNodeDataSetter | ( | void(AXNodeData::*)(T, const U &) | Setter, |
const U & | value | ||
) |
Definition at line 50 of file ax_enum_util_unittest.cc.
void ui::TestAXNodeDataSetter | ( | void(AXNodeData::*)(T, U) | Setter, |
U | value | ||
) |
Definition at line 64 of file ax_enum_util_unittest.cc.
void ui::TestEnumStringConversion | ( | T(ParseFunction)(const char *) | , |
int32_t(step)(int32_t) | = [](int32_t val) { return val + 1; } |
||
) |
Definition at line 24 of file ax_enum_util_unittest.cc.
AX_BASE_EXPORT std::string ui::ToLocalizedString | ( | ax::mojom::DefaultActionVerb | action_verb | ) |
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Action | action | ) |
Definition at line 1114 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::ActionFlags | action_flags | ) |
Definition at line 1261 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::AriaCurrentState | aria_current_state | ) |
Definition at line 2413 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::BoolAttribute | bool_attribute | ) |
Definition at line 1825 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::CheckedState | checked_state | ) |
Definition at line 2549 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Command | command | ) |
Definition at line 2105 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::DefaultActionVerb | default_action_verb | ) |
Definition at line 1321 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::DescriptionFrom | description_from | ) |
Definition at line 2658 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Dropeffect | dropeffect | ) |
Definition at line 2926 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Event | event | ) |
Definition at line 9 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::EventFrom | event_from | ) |
Definition at line 2693 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::FloatAttribute | float_attribute | ) |
Definition at line 1782 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Gesture | gesture | ) |
Definition at line 2720 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::HasPopup | has_popup | ) |
Definition at line 2461 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::ImageAnnotationStatus | status | ) |
Definition at line 2873 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::IntAttribute | int_attribute | ) |
Definition at line 1527 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::IntListAttribute | int_list_attribute | ) |
Definition at line 1916 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::InvalidState | invalid_state | ) |
Definition at line 2499 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::ListStyle | list_style | ) |
Definition at line 2012 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::MarkerType | marker_type | ) |
Definition at line 2051 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::MoveDirection | move_direction | ) |
Definition at line 2086 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Mutation | mutation | ) |
Definition at line 1377 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::NameFrom | name_from | ) |
Definition at line 2607 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Restriction | restriction | ) |
Definition at line 2526 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::Role | role | ) |
Definition at line 264 of file ax_enum_util.cc.
const char * ui::ToString | ( | ax::mojom::ScrollAlignment | scroll_alignment | ) |
Definition at line 1284 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::SortDirection | sort_direction | ) |
Definition at line 2576 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::State | state | ) |
Definition at line 1027 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::StringAttribute | string_attribute | ) |
Definition at line 1408 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::StringListAttribute | string_list_attribute | ) |
Definition at line 1992 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::TextAffinity | text_affinity | ) |
Definition at line 2819 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::TextAlign | text_align | ) |
Definition at line 2293 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::TextBoundary | text_boundary | ) |
Definition at line 2170 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::TextDecorationStyle | text_decoration_style | ) |
Definition at line 2257 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::TextPosition | text_position | ) |
Definition at line 2355 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::TextStyle | text_style | ) |
Definition at line 2378 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::TreeOrder | tree_order | ) |
Definition at line 2842 of file ax_enum_util.cc.
AX_BASE_EXPORT const char * ui::ToString | ( | ax::mojom::WritingDirection | text_direction | ) |
Definition at line 2324 of file ax_enum_util.cc.
AX_EXPORT const char * ui::ToString | ( | AXEventGenerator::Event | event | ) |
Definition at line 921 of file ax_event_generator.cc.
bool ui::TreeUpdatesCanBeMerged | ( | const AXTreeUpdateBase< AXNodeData, AXTreeData > & | u1, |
const AXTreeUpdateBase< AXNodeData, AXTreeData > & | u2 | ||
) |
Definition at line 137 of file ax_tree_update.h.
|
static |
Definition at line 15 of file ax_active_popup.cc.
AX_EXPORT AXEmbeddedObjectBehavior ui::g_ax_embedded_object_behavior |
Definition at line 16 of file ax_node_position.cc.
UniqueIdMap ui::g_unique_id_map |
Definition at line 63 of file ax_platform_node_base.cc.
|
static |
Definition at line 19 of file ax_unique_id_unittest.cc.
const uint32_t ui::kScreenReaderAndHTMLAccessibilityModes |
Definition at line 247 of file ax_platform_node_win.cc.
|
static |
Definition at line 16 of file uia_registrar_win.h.
|
static |
Definition at line 23 of file uia_registrar_win.h.