Jacob MacDonald
6399be62d2
remove flutter_test quiver dep, use fake_async and clock instead ( #54125 )
...
## Description
Removes the `flutter_test` dependency on `quiver`, instead using the more targeted `clock` and `fake_async` packages.
## Related Issues
https://github.com/flutter/flutter/issues/53908
## Tests
No changes to tests
## Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
- [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [x] I signed the [CLA].
- [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
- [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.
- [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
- [x] I am willing to follow-up on review comments in a timely manner.
## Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].
- [ ] No, no existing tests failed, so this is *not* a breaking change.
- [x] Yes, this is a breaking change. *If not, delete the remainder of this section.*
- [x] I wrote a design doc: https://docs.google.com/document/d/1EkkLbECNBwHgddBQAZqEy7iQLTIxR1rgChKzxcLwhio/edit
- [x] I got input from the developer relations team, specifically from: @RedBrogdon
- [x] I wrote a migration guide: https://github.com/flutter/website/pull/3932
<!-- Links -->
[issue database]: https://github.com/flutter/flutter/issues
[Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
2020-04-15 12:10:26 -07:00
tauu
846e8fe812
force upgraded package dependencies ( #54787 )
...
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-14 18:21:14 -07:00
Jenn Magder
a6b39a230f
Migrate Runner project base configuration ( #54691 )
2020-04-14 13:01:54 -07:00
Emmanuel Garcia
54dba4cd59
Don't import plugins that don't support android in settings.gradle ( #54407 )
2020-04-12 08:55:03 -07:00
Chris Yang
7042481dae
fix test ( #54403 )
2020-04-10 10:30:04 -07:00
Tong Wu
a5765331bc
Re-enable deploy_gallery. ( #54248 )
2020-04-09 16:15:01 -07:00
Jonah Williams
4b98c0565a
Revert "fix and re-land "re-enable android_view_test
( #54214 )" ( #54312 )" ( #54387 )
...
This reverts commit 13052b10e42e201a78883c3c79c3a2e85d9e17b0.
2020-04-09 12:41:00 -07:00
Jacob MacDonald
efdce3cf72
drop image package dependency for goldens ( #54144 )
2020-04-09 11:21:23 -07:00
Chris Yang
13052b10e4
fix and re-land "re-enable android_view_test
( #54214 )" ( #54312 )
2020-04-09 11:03:02 -07:00
Filip Hracek
1593788cd9
Rename GPU thread to raster thread in API docs ( #53422 )
2020-04-08 18:57:03 -07:00
Jonah Williams
dbecf2afd5
Revert "enable the regressed test ( #54214 )" ( #54307 )
...
This reverts commit f8784e72a96d770055757e8787a5303d3a87ebbb.
2020-04-08 13:58:33 -07:00
Chris Yang
f8784e72a9
enable the regressed test ( #54214 )
2020-04-08 12:42:03 -07:00
Michael Goderbauer
d47ad7ec0d
Reverse dependency between services and scheduler ( #54212 )
2020-04-08 09:12:03 -07:00
Jonah Williams
0a25309fb1
[versions] update versions ( #54247 )
2020-04-07 19:42:02 -07:00
Jose Alba
3441d6cbe7
Slider rebase work ( #53916 )
...
* [Slider] Rebase.
* disabled thumb color with alphaBlend of colorScheme surface
* test remove alphablend
* Change rectangular track to how it used to be
* Chaned to adaptive slider
* blank lines
Co-authored-by: Will Larche <larche@google.com>
2020-04-07 17:10:18 -04:00
Michael Thomsen
98e7791ec9
Roll pinned xml and petitparser versions ( #54181 )
2020-04-07 12:16:03 -07:00
Konstantin Scheglov
b0492cc976
Fix newly reported prefer_const_constructors lints. ( #54176 )
2020-04-07 08:59:01 -07:00
Amir Hardon
ba18e99d1b
Enable the android_views AlertDialog test ( #54163 )
2020-04-07 08:32:13 -07:00
Alexandre Ardhuin
f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes ( #52507 )
2020-04-06 13:36:01 -07:00
Amir Hardon
80bc3f4a3c
Test creation of Android AlertDialogs with a platform view context ( #53980 )
2020-04-06 12:36:01 -07:00
stuartmorgan
2d623278e7
Restructure the Windows app template ( #53600 )
...
This moves the app template more toward being a more generic starting
point for any Flutter application, eliminating some hard-code
assumptions about there being a single window/engine pair that is
directly bound to the life of the application:
- Moves the runloop into its own class, making it capable of servicing
any number of engine instances.
- Moves the logic for setting up a window containing only a Flutter view
into a window subclass for ease of re-use.
- Makes quit-on-window-close an optional property. (Long term this
should be even more generic, like a quit-when-last-window-closes
option, but this is a short-term improvement that removes the binding
between the runloop and the window).
- Allows for multiple instances of Win32Window to exist without issues
relating to the window class registration.
Since there are getting to be a non-trivial number of files associated
with the runner, this moves the source into a runner/ directory, as is
already done on some other platforms.
Note that creating multiple Flutter windows at the same time still
doesn't work correctly even with this change, but this addresses some of
the known issues, and makes it easier to test in the future (e.g., for
debugging engine-level issues with multiple instances).
Fixes #45397
2020-04-06 12:24:05 -07:00
Anisov Aleksey
be6234d56e
Read custom app project name from gradle.properties ( #52791 )
2020-04-05 20:46:44 -07:00
Amir Hardon
caeaac7739
disable MotionEvents test ( #54023 )
2020-04-04 19:25:11 -07:00
Amir Hardon
f0aea666d7
revive the android_views test ( #53963 )
2020-04-04 16:41:01 -07:00
Kate Lovett
63f8b9a4d5
Improving A11y for Flutter Gallery Demos ( #53616 )
2020-04-03 10:34:14 -07:00
Greg Spencer
a8b3d1b74f
Add toggleable attribute to Radio ( #53846 )
...
This adds a new toggleable attribute to the Radio widget. This allows a radio group to be set back to an indeterminate state if the selected radio button is selected again.
Fixes #53791
2020-04-02 15:40:37 -07:00
Greg Spencer
e20080b5d1
Add LICENSE file to packages/flutter, add test to make sure it… ( #53799 )
...
This adds a LICENSE file to the packages/flutter directory so that it can be found when building, and a test to make sure it exists in produced binaries.
2020-04-02 10:38:25 -07:00
Jose Alba
d14a301e41
Revert "[Slider] Rebase. ( #52663 )" ( #53698 )
...
This reverts commit e71cf1cdbeebab9081d09daa73d4d7642f165b9d.
2020-03-31 16:14:22 -07:00
Jose Alba
e71cf1cdbe
[Slider] Rebase. ( #52663 )
2020-03-31 10:56:01 -07:00
Jonah Williams
8cb1d269f6
[versions] update EVERYTHING ( #53467 )
2020-03-30 14:09:38 -07:00
chunhtai
9fdd4d2e0c
Renamed test class to avoid conflict with the navigator page api. ( #53279 )
2020-03-25 12:11:01 -07:00
Jonah Williams
10571920c0
[flutter_tools] update to latest dwds API ( #52936 )
...
Should fix issues introduced in web-server device and allow loading org-dartlang-app URIs
2020-03-23 18:47:50 -07:00
Chris Yang
b05210c707
Move ios screenshot test to flutter gold. ( #52553 )
2020-03-19 16:27:41 -07:00
Sam Rawlins
5d0e87ce38
Exclude codegen/lib/main.dart from static analysis ( #52829 )
2020-03-18 13:16:02 -07:00
Jonah Williams
da0788a180
Update fuchsia remote debug protocol to use package:test shim instead of package:test_api ( #52706 )
...
This is necessary to ensure the tests can run in google3. Fixes https://b.corp.google.com/issues/151657461
2020-03-18 09:12:46 -07:00
Jonah Williams
6884086e5c
[flutter_tools] Update to latest dwds APIs ( #51004 )
...
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
Jonah Williams
a7011c4817
[flutter_tools] don't force service worker cache files to be absolute ( #52606 )
2020-03-17 10:17:03 -07:00
Michael Thomsen
e36f4a467f
Fix paths causing test failures ( #52660 )
2020-03-16 14:05:48 +01:00
Michael Thomsen
e167181444
Move flutter_gallery to the testing folder ( #52532 )
...
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery .
2020-03-16 10:31:42 +01:00
Chris Yang
8bcd94817f
Fix ios_platform_view_tests app name. (Trivail) ( #52446 )
2020-03-12 15:39:01 -07:00
Chris Yang
7fb7ea63b3
Reland "Add ios platform view integration test ( #51882 )" ( #52440 )
2020-03-11 16:32:47 -07:00
Chris Yang
fc5350ed04
Revert "Add ios platform view integration test ( #51882 )" ( #52373 )
...
This reverts commit 357fd2db380a0ec2e98b5e07549ed67759710127.
2020-03-10 18:42:15 -07:00
Chris Yang
357fd2db38
Add ios platform view integration test ( #51882 )
2020-03-10 17:33:01 -07:00
Ben Konyi
66b978a197
Update pub dependencies to roll forward package:test ( #52273 )
2020-03-10 13:26:02 -07:00
Jonah Williams
c1112d3f7e
[flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds ( #52044 )
2020-03-06 14:53:36 -08:00
Jonah Williams
ee476a7bd1
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )" ( #52041 )
...
This reverts commit ee60eeea3e60bde5f06a0ec78388d0776efebfcb.
2020-03-05 12:51:42 -08:00
Jonah Williams
ee60eeea3e
[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )
2020-03-05 12:38:40 -08:00
Jonah Williams
bbf913bc4c
[flutter_tools] resolve requests to web directory in debug mode ( #51995 )
2020-03-05 12:34:03 -08:00
Ben Konyi
3edd3eb4a2
Updated package:test, package:test_core, package:coverage, package:package_config ( #51946 )
...
This is required to roll forward package:vm_service to 3.0.0 and is
blocking a DevTools release.
2020-03-04 11:40:52 -08:00
Jenn Magder
e491544588
Move embedding and linking Flutter frameworks into the tool ( #51453 )
...
* Move embedding and linking Flutter frameworks into the tool
* Unused import
* Migrate
* Rename run, add comments, remove typedef
* Add status log to tell the user what we did
* Remove Podfile migration, create IOSMigration superclass
* word-smiting
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* for space
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-03-03 12:11:28 -08:00