Anthony
338581b866
add await to fix analyzer ( #28157 )
2019-02-28 19:17:18 -05:00
jslavitz
47724f97fa
Breaks the moveBy call from drag and dragFrom into two separate calls and changes the default behavior of DragStartBehavior to DragStartBehavior.start ( #26438 )
...
* Breaking change which sets the default DragStartBehavior to DragStartBehavior.start and changes WidgetTester.drag and WidgetTester.dragFrom by breaking the moveBy function call into multiple pieces.
2019-02-25 14:15:31 -08:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
jslavitz
2c558fdb21
Adds fix for NAN value and pressure values outside of device reported min and max ( #26659 )
...
* Fix for nan pressure values and values outside min and max pressure ranges
2019-02-20 16:15:53 -08:00
Jonah Williams
3205736fcf
add ui.Window fallback to TestViewConfiguration ( #27987 )
2019-02-14 22:49:49 -08:00
Todd Volkert
f1a8eed083
Revert "Clean up matters related to "offstageness". ( #27425 )" ( #27915 )
...
This reverts commit 1d93e924b7
.
2019-02-13 20:58:41 -05:00
Ian Hickson
1d93e924b7
Clean up matters related to "offstageness". ( #27425 )
...
In particular, make debugVisitOnstageChildren only work in debug mode, and add documentation.
2019-02-13 15:36:47 -08:00
Matt Carroll
a13fdbcf32
Implemented Dark Mode for Android ( #25525 ) ( #26605 )
2019-02-06 16:52:47 -08:00
Matt Carroll
914f77f88f
Bugfix: Add platformBrightness to TestWindow. ( #27569 )
...
* Bugfix: Add platformBrightness to TestWindow.
* Manual engine roll:
cc27cafb8 Implemented Dark Mode for Android (#25525 ) ([flutter/engine#7488 ](https://github.com/flutter/engine/pull/7488 ))
9c05cbcfb Roll src/third_party/dart b53dceadaa..5823be65af (5 commits) 5823be65af [vm/compiler] Continued graph checker development (reland) 8231cdb7a3 [gardening] Update status for issue 35854 db7f848632 [vm] Remove dead BigInt code. 35ab1755f4 Support more type propagation for code-as-ui features 569ee07f91 [vm] Cleanup class finalization checks
ec5e6f6ef Ensure dart2js and kernel worker snapshots are copied out of gen dir ([flutter/engine#7692 ](https://github.com/flutter/engine/pull/7692 ))
8b5fa65c4 Roll src/third_party/skia 50ea3c06b80f..2d35a1c87553 (6 commits) ([flutter/engine#7693 ](https://github.com/flutter/engine/pull/7693 ))
2019-02-05 15:52:22 -08:00
Danny Tuppeny
7e445a1732
Add @isTest to Flutter's wrappers over group/test ( #27532 )
...
Fixes https://github.com/Dart-Code/Dart-Code/issues/1421 .
2019-02-05 15:43:33 +00:00
Matt Carroll
92125ed38f
Enable dependency injection of Window instead of using static property ( #27389 )
2019-02-04 16:46:04 -08:00
Konstantin Scheglov
39289b83ac
Update additionalTime in TestWidgetsFlutterBinding.runAsync() to 1000. ( #27256 )
2019-01-30 07:31:00 -08:00
Alexandre Ardhuin
ef276ffea5
format initializer list of constructors ( #27111 )
2019-01-29 21:47:16 +01:00
Konstantin Scheglov
4fe41abfcc
Add default values for optional parameters. ( #27197 )
2019-01-29 11:49:57 -08:00
Greg Spencer
1811d57445
Implement hover support for mouse pointers. ( #24830 )
...
This implements support for hovering mouse pointers, so that mice connected to Android devices, and ChromeOS devices running Android apps will work properly.
It teaches flutter_test about hover events, which required changing how they are created and used.
Also modifies AnnotatedRegion to allow a region that can be located someplace other than just the origin.
Along with tests for all of the above.
Fixes #5504
2019-01-29 11:34:26 -08:00
Dan Field
bb5663d2d8
Add docs and sample for takeException ( #27140 )
...
* Add docs and sample for takeException
* fix sample
2019-01-27 09:43:09 -08:00
sjindel-google
4881777203
Fix behavior of handleDrawFrame() in benchmark mode. ( #25049 )
2019-01-22 11:46:14 +01:00
Michael Goderbauer
e4c8f1b993
3D SemanticsTree ( #25670 )
2019-01-16 10:29:00 -08:00
Alexandre Ardhuin
868ff42821
fix doc-comment snippets ( #25579 )
2019-01-07 21:44:16 +01:00
jslavitz
3d8aec2b99
Adds force press gesture detector and recognizer ( #24554 )
...
* adds Force Press gesture detector and recognizer
2018-12-19 20:09:07 -08:00
Jonah Williams
f30029bae1
Run flutter tests through mini test engine when run directly (flutter run -t test_file) ( #24930 )
2018-12-12 12:51:16 -08:00
Gary Qian
dfd0229560
New locale resolution algorithm to use full preferred locale list, include scriptCode in Locale. ( #23583 )
2018-11-09 11:33:42 -08:00
Jonah Williams
9ecb4ce9a6
remove deprecated testing members ( #24115 )
2018-11-09 10:05:11 -08:00
Jonah Williams
ab2d0323a7
cleanup accessibility test skips in gallery ( #23977 )
2018-11-06 13:29:23 -08:00
Jonah Williams
a43e3a4a2f
Retry remove package:test from flutter ( #24007 )
2018-11-06 10:48:34 -08:00
Jonah Williams
23a7535a39
Revert "Remove package:test dependency from flutter_test ( #23755 )" ( #24004 )
...
This reverts commit 71e9bd6f25
.
2018-11-06 09:12:48 -08:00
Jonah Williams
71e9bd6f25
Remove package:test dependency from flutter_test ( #23755 )
2018-11-06 08:39:27 -08:00
Alexandre Ardhuin
344ebe02ff
avoid returning null for Future ( #23784 )
2018-11-05 16:38:23 +01:00
Dinesh Ahuja
7fbb5b9f32
Create WidgetTester.ensureVisible(Finder) ( #22620 )
...
This is just a shorthand for
Scrollable.ensureVisible(tester.element(finder))
Fixes #8185
2018-10-18 12:17:47 -07:00
Alexandre Ardhuin
7ce28d1277
use Duration.zero ( #23218 )
2018-10-18 13:57:52 +02:00
Yegor
3fbd140e77
Use new mixin
syntax for super-mixins ( #22870 )
...
This re-lands 3c56e6c
on top of a new Dart SDK that contains new mixin syntax fixes.
2018-10-17 13:10:05 -07:00
Alexandre Ardhuin
8b0de38ef8
fix upcoming lint avoid_returning_null_for_void ( #23190 )
2018-10-17 11:01:37 +02:00
Alexandre Ardhuin
936dea28da
enable lint prefer_void_to_null ( #23174 )
...
* enable lint prefer_void_to_null
* replace last Null by void
2018-10-17 08:09:29 +02:00
Alexandre Ardhuin
0fb84e96c7
Prefer void to null ( #22977 )
...
* Future<void> main
* Future<void>.delayed
* prefer_void_to_Null
* address review comments
2018-10-16 22:03:06 +02:00
Jonah Williams
313059cdb6
Add labeled tappable target guideline and gallery tests ( #22824 )
2018-10-11 15:05:10 -07:00
Alexandre Ardhuin
0e76cb4c10
prefer_void_to_null in flutter_test ( #22847 )
...
* prefer_void_to_null in flutter_test
* fix CI
2018-10-11 18:00:46 +02:00
Jonah Williams
cdf1cec902
add ability to match child semantics data ( #22001 )
2018-10-05 17:44:26 -07:00
Yegor
3184b7cb66
Revert "Use mixin
syntax for Flutter's super-mixins ( #22435 )" ( #22748 )
...
This reverts commit 3c56e6c77d
.
It breaks the AOT build.
2018-10-05 15:09:38 -07:00
Yegor
3c56e6c77d
Use mixin
syntax for Flutter's super-mixins ( #22435 )
...
* first pass
* revert WidgetsBindingObserver
* disable prefer_mixin
* docs and more mixins
* newer engine; binding fixes
* upgrade dependencies
* fix test binding
* remove whitespace
* remove the obsolete `enableSuperMixins: true`
* upgrade dartdoc to 0.22.0
* temporarily use git version of dartdoc
* fix pub global activate syntax
* use dartdoc 0.23.0
2018-10-05 14:54:41 -07:00
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02:00
Jonah Williams
8e70421913
Revert "Add RichText support to find.text" ( #22046 )
2018-09-19 13:51:35 -07:00
Jonah Williams
ff1f8dd143
Add RichText support to find.text ( #21964 )
2018-09-19 10:01:34 -07:00
Jacob Richman
ccd070a5b4
Add back screenshot extension that was temporarily disabled. ( #21828 )
...
Add back screenshot extension that was temporarily disabled.
Add matchesReferenceImage matcher to test that the screenshot extension
generates equivalent images to InspectorService.instance.screenshot.
2018-09-18 09:32:39 -04:00
Alexandre Ardhuin
e2d0b062d9
remove unnecessary ignore prefer_const_constructors ( #21934 )
2018-09-18 05:54:03 +02:00
Alexandre Ardhuin
a07d3719a1
enable lint prefer_generic_function_type_aliases ( #21680 )
2018-09-14 21:06:19 +02:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Jonah Williams
fa0a857d02
Add material tap target size and text contrast test to gallery ( #21581 )
2018-09-11 08:27:32 -07:00
Jacob Richman
a2acc6a3e5
Revert "Revert "Enable taking screenshots of arbitrary RenderObjects from a running a… ( #20637 )" ( #21395 )" ( #21448 )
...
This reverts commit 5b5a5b8228
.
2018-09-07 10:02:05 -07:00
Jonah Williams
908de76c17
Remove value listener from semantics bindings ( #21296 )
2018-09-07 09:24:08 -07:00
Jonah Williams
5b5a5b8228
Revert "Enable taking screenshots of arbitrary RenderObjects from a running a… ( #20637 )" ( #21395 )
...
This reverts commit 3306fc1042
.
2018-09-04 12:40:40 -07:00