Roll engine to c5a63d (#19288)

This commit is contained in:
Jonah Williams
2018-07-13 10:35:23 -07:00
committed by GitHub
parent 7ebf2728dc
commit 579d2fba99
6 changed files with 10 additions and 3 deletions

View File

@@ -1 +1 @@
fed2ea458ed49088d33eddabc546ba56d600c717
c5a63d28bf3735569c8187753bc490d8351a8363

View File

@@ -307,6 +307,7 @@ List<FileSystemEntity> findPackages() {
// TODO(ianh): Use a real YAML parser here
return !pubspec.readAsStringSync().contains('nodoc: true');
})
.cast<Directory>()
.toList();
}

View File

@@ -349,7 +349,8 @@ void _defineTests() {
));
final Set<SemanticsAction> allActions = SemanticsAction.values.values.toSet()
..remove(SemanticsAction.showOnScreen); // showOnScreen is non user-exposed.
..remove(SemanticsAction.customAction) // customAction is not user-exposed.
..remove(SemanticsAction.showOnScreen); // showOnScreen is not user-exposed.
const int expectedId = 2;
final TestSemantics expectedSemantics = new TestSemantics.root(

View File

@@ -415,7 +415,8 @@ void main() {
);
final Set<SemanticsAction> allActions = SemanticsAction.values.values.toSet()
..remove(SemanticsAction.showOnScreen); // showOnScreen is non user-exposed.
..remove(SemanticsAction.customAction) // customAction is not user-exposed.
..remove(SemanticsAction.showOnScreen); // showOnScreen is not user-exposed.
const int expectedId = 1;
final TestSemantics expectedSemantics = new TestSemantics.root(

View File

@@ -339,6 +339,7 @@ Matcher matchesSemanticsData({
bool hasPasteAction = false,
bool hasDidGainAccessibilityFocusAction = false,
bool hasDidLoseAccessibilityFocusAction = false,
bool hasCustomAction = false,
}) {
final List<SemanticsFlag> flags = <SemanticsFlag>[];
if (hasCheckedState)
@@ -405,6 +406,8 @@ Matcher matchesSemanticsData({
actions.add(SemanticsAction.didGainAccessibilityFocus);
if (hasDidLoseAccessibilityFocusAction)
actions.add(SemanticsAction.didLoseAccessibilityFocus);
if (hasCustomAction)
actions.add(SemanticsAction.customAction);
return new _MatchesSemanticsData(
label: label,

View File

@@ -472,6 +472,7 @@ void main() {
hasPasteAction: true,
hasDidGainAccessibilityFocusAction: true,
hasDidLoseAccessibilityFocusAction: true,
hasCustomAction: true,
));
});
});