Unverified Commit 7ba2a84a authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

roll engine to 91ff524e63298a2d0e15c2a0d47e0a005524c51c (#20055)

parent 4fd6188d
af855e063a9c09653f9d136a2bc448b7c04803d7 91ff524e63298a2d0e15c2a0d47e0a005524c51c
...@@ -349,6 +349,8 @@ void _defineTests() { ...@@ -349,6 +349,8 @@ void _defineTests() {
), ),
)); ));
final Set<SemanticsAction> allActions = SemanticsAction.values.values.toSet() final Set<SemanticsAction> allActions = SemanticsAction.values.values.toSet()
..remove(SemanticsAction.moveCursorForwardByWord)
..remove(SemanticsAction.moveCursorBackwardByWord)
..remove(SemanticsAction.customAction) // customAction is not user-exposed. ..remove(SemanticsAction.customAction) // customAction is not user-exposed.
..remove(SemanticsAction.showOnScreen); // showOnScreen is not user-exposed ..remove(SemanticsAction.showOnScreen); // showOnScreen is not user-exposed
......
...@@ -416,6 +416,8 @@ void main() { ...@@ -416,6 +416,8 @@ void main() {
); );
final Set<SemanticsAction> allActions = SemanticsAction.values.values.toSet() final Set<SemanticsAction> allActions = SemanticsAction.values.values.toSet()
..remove(SemanticsAction.moveCursorForwardByWord)
..remove(SemanticsAction.moveCursorBackwardByWord)
..remove(SemanticsAction.customAction) // customAction is not user-exposed. ..remove(SemanticsAction.customAction) // customAction is not user-exposed.
..remove(SemanticsAction.showOnScreen); // showOnScreen is not user-exposed ..remove(SemanticsAction.showOnScreen); // showOnScreen is not user-exposed
......
...@@ -337,6 +337,8 @@ Matcher matchesSemanticsData({ ...@@ -337,6 +337,8 @@ Matcher matchesSemanticsData({
bool hasShowOnScreenAction = false, bool hasShowOnScreenAction = false,
bool hasMoveCursorForwardByCharacterAction = false, bool hasMoveCursorForwardByCharacterAction = false,
bool hasMoveCursorBackwardByCharacterAction = false, bool hasMoveCursorBackwardByCharacterAction = false,
bool hasMoveCursorForwardByWordAction = false,
bool hasMoveCursorBackwardByWordAction = false,
bool hasSetSelectionAction = false, bool hasSetSelectionAction = false,
bool hasCopyAction = false, bool hasCopyAction = false,
bool hasCutAction = false, bool hasCutAction = false,
...@@ -423,6 +425,10 @@ Matcher matchesSemanticsData({ ...@@ -423,6 +425,10 @@ Matcher matchesSemanticsData({
actions.add(SemanticsAction.customAction); actions.add(SemanticsAction.customAction);
if (hasDismissAction) if (hasDismissAction)
actions.add(SemanticsAction.dismiss); actions.add(SemanticsAction.dismiss);
if (hasMoveCursorForwardByWordAction)
actions.add(SemanticsAction.moveCursorForwardByWord);
if (hasMoveCursorBackwardByWordAction)
actions.add(SemanticsAction.moveCursorBackwardByWord);
return new _MatchesSemanticsData( return new _MatchesSemanticsData(
label: label, label: label,
......
...@@ -470,6 +470,8 @@ void main() { ...@@ -470,6 +470,8 @@ void main() {
hasShowOnScreenAction: true, hasShowOnScreenAction: true,
hasMoveCursorForwardByCharacterAction: true, hasMoveCursorForwardByCharacterAction: true,
hasMoveCursorBackwardByCharacterAction: true, hasMoveCursorBackwardByCharacterAction: true,
hasMoveCursorForwardByWordAction: true,
hasMoveCursorBackwardByWordAction: true,
hasSetSelectionAction: true, hasSetSelectionAction: true,
hasCopyAction: true, hasCopyAction: true,
hasCutAction: true, hasCutAction: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment