diff --git a/bin/internal/engine.version b/bin/internal/engine.version index 12ddeff357..82460e720d 100644 --- a/bin/internal/engine.version +++ b/bin/internal/engine.version @@ -1 +1 @@ -fed2ea458ed49088d33eddabc546ba56d600c717 +c5a63d28bf3735569c8187753bc490d8351a8363 diff --git a/dev/tools/dartdoc.dart b/dev/tools/dartdoc.dart index 2597279cbb..f672ef44aa 100644 --- a/dev/tools/dartdoc.dart +++ b/dev/tools/dartdoc.dart @@ -307,6 +307,7 @@ List findPackages() { // TODO(ianh): Use a real YAML parser here return !pubspec.readAsStringSync().contains('nodoc: true'); }) + .cast() .toList(); } diff --git a/packages/flutter/test/widgets/custom_painter_test.dart b/packages/flutter/test/widgets/custom_painter_test.dart index 47a5f83451..625f53ec8e 100644 --- a/packages/flutter/test/widgets/custom_painter_test.dart +++ b/packages/flutter/test/widgets/custom_painter_test.dart @@ -349,7 +349,8 @@ void _defineTests() { )); final Set 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( diff --git a/packages/flutter/test/widgets/semantics_test.dart b/packages/flutter/test/widgets/semantics_test.dart index a2797cc4e3..7f44f4fe8f 100644 --- a/packages/flutter/test/widgets/semantics_test.dart +++ b/packages/flutter/test/widgets/semantics_test.dart @@ -415,7 +415,8 @@ void main() { ); final Set 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( diff --git a/packages/flutter_test/lib/src/matchers.dart b/packages/flutter_test/lib/src/matchers.dart index 41fb945f82..cee3039949 100644 --- a/packages/flutter_test/lib/src/matchers.dart +++ b/packages/flutter_test/lib/src/matchers.dart @@ -339,6 +339,7 @@ Matcher matchesSemanticsData({ bool hasPasteAction = false, bool hasDidGainAccessibilityFocusAction = false, bool hasDidLoseAccessibilityFocusAction = false, + bool hasCustomAction = false, }) { final List flags = []; 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, diff --git a/packages/flutter_test/test/matchers_test.dart b/packages/flutter_test/test/matchers_test.dart index b64dd265fc..6fc73d53da 100644 --- a/packages/flutter_test/test/matchers_test.dart +++ b/packages/flutter_test/test/matchers_test.dart @@ -472,6 +472,7 @@ void main() { hasPasteAction: true, hasDidGainAccessibilityFocusAction: true, hasDidLoseAccessibilityFocusAction: true, + hasCustomAction: true, )); }); });