- 10 Apr, 2020 1 commit
-
-
Greg Spencer authored
This fixes the initial value of FocusManager.highlightMode so that it gets initialized correctly on desktop platforms. My recent update of this code (#52990) broke things so that the highlight mode never changed from the initial default of touch, which meant that focus highlights didn't show unless you set FocusManager.highlightStrategy to something (even automatic, the default: setting it caused the mode to be updated).
-
- 20 Feb, 2020 1 commit
-
-
Albertus Angga Raharja authored
This PR is a follow up of https://github.com/flutter/flutter/pull/42640 Some changes of that PR includes redundant changes using FlutterError.fromParts constructor even though it's not necessary. Some minor changes are: - Remove one unnecessary todo - Fix indent consistencies
-
- 11 Feb, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 08 Jan, 2020 1 commit
-
-
Greg Spencer authored
-
- 07 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 20 Dec, 2019 1 commit
-
-
Greg Spencer authored
This adds the ability to define variants of tests with different environmental values for a particular testWidgets test. This allows you to run the same test multiple times with a different test environment. One test variant has been implemented that allows running a test with different settings of the TargetPlatform.
-
- 19 Dec, 2019 2 commits
-
-
Dan Field authored
-
Lau Ching Jun authored
This reverts commit d4b49ce9.
-
- 18 Dec, 2019 1 commit
-
-
Shouichi Kamiya authored
-
- 17 Dec, 2019 1 commit
-
-
Dan Field authored
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 19 Nov, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 14 Nov, 2019 1 commit
-
-
Jonah Williams authored
-
- 28 Oct, 2019 1 commit
-
-
Albertus Angga Raharja authored
* Add structured errors in Animations, TabView, ChangeNotifier * Add structured error on MaterialPageRoute, BoxBorder, DecorationImagePainter, TextSpan * Add structured errors in Debug * Fix test errors * Add structured errors in Scaffold and Stepper * Add structured errors in part of Rendering Layer * Fix failing test due to FloatingPoint precision * Fix failing tests due to precision error and not using final * Fix failing test due to floating precision error with RegEx instead * Add structured error in CustomLayout and increase test coverage * Add structured error & its test in ListBody * Add structured error in ProxyBox and increase test coverage * Add structured error message in Viewport * Fix styles and add more assertions on ErrorHint and DiagnosticProperty * Add structured error in scheduler/binding and scheduler/ticker Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Add structured error in AssetBundle and TextInput Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Add structured errors in several widgets #1 Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Remove unused import Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Add assertions on hint messages Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Fix catch spacing Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Add structured error in several widgets part 2 and increase code coverage Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Add structured error in flutter_test/widget_tester * Fix floating precision accuracy by using RegExp Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Remove todo to add tests in Scaffold showBottomSheet Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Fix reviews by indenting lines and fixing the assertion orders Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Fix failing tests due to renaming class Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Try skipping the NetworkBundleTest Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com> * Remove leading space in material/debug error hint Signed-off-by:
Albertus Angga Raharja <albertusangga@google.com>
-
- 24 Sep, 2019 1 commit
-
-
Greg Spencer authored
There were four or five different implementations in various tests for sendFakeKeyEvent, which roughly all did the same thing. I was going to add yet another one, and decided that it needed to be generalized and centralized. This replaces those instances with something that just takes a LogicalKeyboardKey so that it's self-documenting, and can be used with multiple platforms. This adds two functions to widget tester: sendKeyDownEvent and sendKeyUpEvent which simulate key up/down from a physical keyboard. It also adds global functions simulateKeyDownEvent and simulateKeyUpEvent that can be called without a widget tester. All are async functions protected by the async guard.
-
- 28 Jun, 2019 3 commits
- 25 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Jun, 2019 1 commit
-
-
Ian Hickson authored
-
- 06 Jun, 2019 1 commit
-
-
sjindel-google authored
# Description Currently the benchmarks test prints a scary warning message, even when it passes, that a benchmark is being run with asserts enabled. Normally we don't want developers to do this, because the performance of code with asserts is not characteristic of what end-users will experience. However, we need to unit-test benchmarkWidgets, so I've added a contraindicated option to suppress the warning for the test. # Related Issues 25049 (comment)
-
- 27 May, 2019 1 commit
-
-
Todd Volkert authored
This also fixes up some indentation in some bulleted lists. https://github.com/dart-lang/dartdoc/issues/1969
-
- 22 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 18 Mar, 2019 1 commit
-
-
Dan Field authored
* Make it easier to ensure semantics
-
- 07 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
* fix indentof statements in BlockFunctionBody * fix indentof statements in BlockFunctionBody in tests
-
- 06 Mar, 2019 2 commits
-
-
TruongSinh Tran-Nguyen authored
-
Phil Quitslund authored
-
- 01 Mar, 2019 2 commits
-
-
Alexandre Ardhuin authored
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
-
Anthony authored
-
- 21 Feb, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 Jan, 2019 1 commit
-
-
Konstantin Scheglov authored
-
- 27 Jan, 2019 1 commit
-
-
Dan Field authored
* Add docs and sample for takeException * fix sample
-
- 22 Jan, 2019 1 commit
-
-
sjindel-google authored
-
- 07 Jan, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Dec, 2018 1 commit
-
-
Jonah Williams authored
-
- 09 Nov, 2018 1 commit
-
-
Jonah Williams authored
-
- 06 Nov, 2018 3 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
This reverts commit 71e9bd6f.
-
Jonah Williams authored
-
- 18 Oct, 2018 1 commit
-
-
Dinesh Ahuja authored
This is just a shorthand for Scrollable.ensureVisible(tester.element(finder)) Fixes #8185
-