Jonah Williams
7bc4074ff3
use dpr and window size from binding ( #39577 )
2019-09-01 23:57:32 -07:00
Phil Quitslund
37846b032f
migrate from slow async io calls ( #39515 )
...
* migrate from slow async io calls
2019-08-29 16:47:10 -07:00
Kate Lovett
6ff212b328
Comparing pixels instead of bytes with GoldenFileComparator ( #38473 )
2019-08-19 09:06:22 -07:00
Kate Lovett
cac8fa5da0
Re-land 'Adding physicalDepth to MediaQueryData & TestWindow' ( #38546 )
2019-08-16 13:34:23 -07:00
Kate Lovett
f3dbefd3ce
Revert "Adding physicalDepth to MediaQueryData & TestWindow ( #37718 )" ( #37938 )
...
This reverts commit 3a2d30813a
.
2019-08-09 12:58:59 -07:00
Kate Lovett
3a2d30813a
Adding physicalDepth to MediaQueryData & TestWindow ( #37718 )
2019-08-07 13:52:16 -07:00
Dan Field
84fe2adedb
Nosuchmethod window ( #37417 )
2019-08-01 20:04:49 -07:00
Kate Lovett
616794fca7
Re-land "Part 1: Skia Gold Testing" ( #36103 )
2019-07-28 12:26:06 -07:00
Mouad Debbar
9c9b71a0fb
Add multi-line flag to semantics ( #36297 )
2019-07-18 10:36:22 -07:00
Kate Lovett
8809f698cb
Revert "Part 1: Skia Gold Testing ( #33688 )" ( #36094 )
...
This reverts commit eb0b179028
.
Skia Gold post-submit test were failing due to the service account not being found on Cirrus.
2019-07-12 13:35:36 -07:00
Kate Lovett
eb0b179028
Part 1: Skia Gold Testing ( #33688 )
...
* Fresh PR for Gold integration.
* Nits
* WIP
* Artifacts from merge
* Changed some platform dependencies for web, added library prefix notation for Skia Gold test names.
* Updating for CI implementation
* Write out service account
* Writing to skip out
* WIP
* ++
* Fixing depot tools deps
* Windows depot_tools
* Fixing setup scripts
* ++
* depot tools
* ++
* WIP
* Tracing depot_tools clone
* WIP
* ++
* analyzer
* WIP
* chrome typo
* copy artifact
* Working on tests
* Code cleanup
* ++
* Code cleanup, updated tests
* ++ review feedback
* Review
* Analyzer
* Review feedback
* Nits from review
* PRogress
* ++
* Fixing tests
* ++
* Testing repo route
* Just needing documention around new structures.
* cleanup
* Analyzer
* Documentation updates
* Documentation updates
* Cirrus updates
* cirrus nit
* Review feedback
* Review feedback
* Fixing skip comparator
* Fix base directory for Skia Gold case
* ++
* Feedback
* ++
* Fixed uri assertion
* Made GoldensClient abstract, altered SkiaGoldClient constructor
* Analyzer
2019-07-12 12:23:04 -07:00
Dan Field
3eb40925e5
Always test semantics ( #35110 )
...
Default `semanticsEnabled` to true for `testWidgets` and fix associated bugs
2019-06-28 12:40:23 -07:00
David Shuckerow
df6e4d4872
Make it possible to override the FLUTTER_TEST env variable ( #34301 )
...
* Make it possible to override the FLUTTER_TEST env variable without unsetting it.
* Switch to using platform instead of Platform.
* Document the bindings, and introduce tests that initialize multiple WidgetsBindings with different environments.
* Add tests for the flutter platform test.
* Add license headers
* Fix lints
* Remove trailing whitespace
* Respond to Jonahs comments
* Respond to Ians comments
* Mock out the HttpServer in flutter_platform_test
* Mock out the HttpServer in flutter_platform_test
* Explain why we mock out the HttpServer in flutter_platform_test
2019-06-28 10:37:27 -07:00
chunhtai
c8c20fbc1f
add read only semantics flag ( #34683 )
2019-06-19 14:41:44 -07:00
Kate Lovett
7d95e8e0c1
Splitting golden file versioning out as an argument of matchesGoldenFile ( #33880 )
...
* Splitting golden file versioning out as an argument of matchesGoldenFile
* Fixing description implementation.
* Removing unused imports
* Removing unused import
* Review feedback
2019-06-18 11:32:13 -07:00
Sam Rawlins
c2a93bd545
Fix missing return statements on function literals ( #33058 )
2019-05-20 12:51:57 -07:00
Tong Mu
20299a2c17
Add buttons customization to WidgetController and related testing classes ( #31095 )
...
* Add buttons to WidgetController and TestPointer
* Add more buttons
* Let TestPointer handle default device
* Use getter only buttons
2019-05-15 15:42:03 -07:00
Kate Lovett
829bdeb426
Fixing accidental merge from WIP branch. ( #32520 )
...
Revert "Merge branch 'master' into master"
This reverts commit e3a03c04c4
, reversing
changes made to 6474982649
.
2019-05-10 15:53:41 -07:00
Kate Lovett
e3a03c04c4
Merge branch 'master' into master
2019-05-10 15:16:40 -07:00
Ian Hickson
f61a2c3907
Clean up flutter_test/test/controller_test.dart ( #31333 )
...
Instead of using a custom WidgetController, which is very brittle, we just use the usual infrastructure.
Also, use structured data instead of an array.
This adds offsetMoreOrLessEquals to handle small floating point errors in offsets.
2019-05-06 14:36:30 -07:00
Jonah Williams
dd5d0d6c36
rename foreground and background to light and dark ( #32070 )
2019-05-06 08:02:08 -07:00
Kate Lovett
4676c66b9a
Merge branch 'gold' into master
2019-05-02 15:01:35 -07:00
Jacob Richman
63aa5b3647
Refactor core uses of FlutterError. ( #30983 )
...
Make FlutterError objects more structured so they can be displayed better in debugging tools such as Dart DevTools.
2019-05-01 11:20:12 -07:00
Dan Field
fe9512fa72
Re-enable const ( #31600 )
...
* Re-enable const
2019-04-29 16:02:42 -07:00
Dan Field
06e1f8fc15
Roll engine to 3e47b4bb39bb4993f03a278ea7b1c11ee6459b06 ( #31569 )
...
* Manual roll with updated test
2019-04-24 17:20:02 -07:00
Dan Field
37bc48f26e
rectMoreOrLess equals, prep for 64bit rects ( #30942 )
...
* rectMoreOrLess equals, prep for 64bit rects
2019-04-22 09:40:19 -07:00
Kate Lovett
9e3e44ee3d
Committing test progress.
2019-04-19 11:32:16 -07:00
Jonah Williams
715cb5132e
Fix bugs in contrast guideline and improve heuristic ( #31000 )
2019-04-15 09:01:09 -07:00
Alexandre Ardhuin
bfa1d25bf9
some formatting of map, parameters and spaces ( #29760 )
2019-03-23 00:02:21 +01:00
Dan Field
5e27ebbe8d
Add semantic label finders ( #29342 )
...
* Add semantic label finders
2019-03-18 20:32:03 -07:00
Dan Field
8e14c227eb
Make it easier to ensure semantics in widgetTests ( #29387 )
...
* Make it easier to ensure semantics
2019-03-18 10:08:23 -07:00
Michael Goderbauer
816ae4b193
Include platformViewId in semantics tree ( #28953 )
2019-03-12 07:44:39 -07:00
Alexandre Ardhuin
a0d1f93b07
fix block formatting ( #29051 )
2019-03-09 09:03:11 +01:00
Alexandre Ardhuin
440ce8fde6
Fix indentations of statements in BlockFunctionBody ( #28933 )
...
* fix indentof statements in BlockFunctionBody
* fix indentof statements in BlockFunctionBody in tests
2019-03-07 21:09:28 +01:00
Alexandre Ardhuin
4c1f4d14e1
fix some formatting issues ( #28809 )
...
* fix some formatting issues
* address review comments
* fix indent
2019-03-06 09:37:32 +01:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* 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
2019-03-01 08:17:55 +01: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
Jonah Williams
3205736fcf
add ui.Window fallback to TestViewConfiguration ( #27987 )
2019-02-14 22:49:49 -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
Matt Carroll
92125ed38f
Enable dependency injection of Window instead of using static property ( #27389 )
2019-02-04 16:46:04 -08:00
jslavitz
cf4fc966f4
Transition Curve Fix ( #25488 )
...
* Changes Cupertino page transition curves to make paging animations more similar to those of native iOS
2019-01-22 12:46:39 -08:00
Michael Goderbauer
e4c8f1b993
3D SemanticsTree ( #25670 )
2019-01-16 10:29:00 -08:00
Michael Goderbauer
e8bfa81b70
Roll engine to 5983e34a3c0e1217da7e8bbe9f2fe685048fe259 ( #26596 )
2019-01-15 19:00:05 -08:00
Alexandre Ardhuin
32d65fef1c
fix some formatting issues ( #25474 )
2018-12-18 10:05:12 +01: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
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