- 11 Jun, 2018 1 commit
-
-
Greg Spencer authored
Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax. Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml. No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
-
- 05 Jun, 2018 3 commits
-
-
Michael Goderbauer authored
-
Ian Hickson authored
-
Alexandre Ardhuin authored
-
- 01 Jun, 2018 1 commit
-
-
Ian Hickson authored
Also, fixes "flutter run" for golden tests, and some docs.
-
- 30 May, 2018 2 commits
-
-
Greg Spencer authored
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)" (#18041) This reverts commit 32586020.
-
Greg Spencer authored
Fixes #18028 Just changes typedef declarations, no logic changes.
-
- 29 May, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 28 May, 2018 2 commits
-
-
Danny Tuppeny authored
-
Florian Loitsch authored
Enable --sync-async in Flutter. Fixes #16801
-
- 24 May, 2018 2 commits
-
-
Mikkel Nygaard Ravn authored
This reverts commit 39d7f22a.
-
Florian Loitsch authored
-
- 21 May, 2018 1 commit
-
-
Konstantin Scheglov authored
-
- 18 May, 2018 3 commits
-
-
Todd Volkert authored
This allows test environments other than `flutter test` to have a hook into the test exception reporting. Some test environments, for example, don't just dump error details to the console, but rather require them to be reported to a separate server.
-
Todd Volkert authored
There's no reason for them to read/write.
-
Greg Spencer authored
Our style guide says the k's are not necessary, and it seems like a good idea to make all the code be consistent on this. Only naming changes to private vars: no logic changes.
-
- 10 May, 2018 1 commit
-
-
Ian Hickson authored
-
- 08 May, 2018 1 commit
-
-
Todd Volkert authored
Some APIs (such as the ones in package:test) assume you're running in a child zone of the test zone by attempting to extract information from the zone values. When we run runAsync() in the root zone, those zone values are lost, and such API methods don't work. The solution is to run in a child zone, but with a specification that says to use the Root zone for task scheduling (both timers and microtakss).
-
- 07 May, 2018 1 commit
-
-
Todd Volkert authored
1. Make goldenFileComparator getter return `null` if it's set to the uninitialized comparator, which matches the behavior of the setter (it sets it to the uninitialized comparator if the caller specifies `null`). 2. Make the uninitialized comparator return trivial success (and print a message) when asked to compare as opposed to throwing. This ensures that the comparator will play nicely with live widget bindings 3. Augment documentation 4. Add assert that test doesn't modify the value of `autoUpdateGoldenFiles`
-
- 04 May, 2018 3 commits
-
-
Michael Goderbauer authored
-
Todd Volkert authored
This will allow external tools that wrap our test harness to share the code that generates the test bootstrap. This change exposed an issue whereby the LocalGoldenFileComparator was being too strict in its URI handling, so this changes relaxes that constraint as well (and adds associated tests).
-
Todd Volkert authored
* Exclude flutter_goldens package from dartdoc because it's for internal use only * Document why flutter_tools doesn' tneed to be excluded from the list of packages to document * Performance optimization in the flutter comparator, and associated test updates.
-
- 03 May, 2018 1 commit
-
-
Todd Volkert authored
In order to avoid checking binaries into flutter/flutter, this comparator can be used to retrieve golden files from a sibling flutter/goldens repository. https://github.com/flutter/flutter/issues/16859
-
- 01 May, 2018 1 commit
-
-
Todd Volkert authored
This enables support for a `flutter_test_config.dart` configuration file, which will be discovered and handed the responsibility of running the test file (thus allowing it to run pre-test setup on a project level). https://github.com/flutter/flutter/issues/16859
-
- 30 Apr, 2018 3 commits
-
-
Todd Volkert authored
It allows callers to account for things like shadows that paint outside the bounds of the widget. https://github.com/flutter/flutter/issues/16859
-
Todd Volkert authored
* Add a `matchesGoldenFile()` async matcher that will match a finder's widget's rasterized image against a golden file. * Add support for pluggable image comparison backends * Add a default backend that does simplistic PNG byte comparison on locally stored golden files. * Add support for `flutter test --update-goldens`, which will treat the rasterized image bytes produced during the test as the new golden bytes and update the golden file accordingly Still TODO: * Add support for the `flutter_test_config.dart` test config hook * Utilize `flutter_test_config.dart` in `packages/flutter/test` to install a backend that retrieves golden files from a dedicated `flutter/goldens` repo https://github.com/flutter/flutter/issues/16859
-
- 28 Apr, 2018 2 commits
-
-
Todd Volkert authored
This will allow callers to run real async code within a widget test. https://github.com/flutter/flutter/issues/16859
-
Todd Volkert authored
* Wrap `expectLater()` in flutter_tester so that callers can wait for the matcher to complete in their tests https://github.com/flutter/flutter/issues/16859
-
- 22 Mar, 2018 1 commit
-
-
Jonah Williams authored
* use HttpOverrides and dart:io HttpClient in flutter * add missing package:http dependency * update flutter packages and remove comment about createHttpClient from flutter_test * move byte loading logic to common class, move string parsing logic to base class * addAll doesn't work for a Uint8List * use bytes.setRange * undo addition to hello_world * add newline to end of binding.dart * and a newline for hello world * refactor to function and add tests * address comments on unknown length case * alignment * sort alaphabetically * rename convertResponse to consolidateClientHttpClientResponseBytes. Add header * fix alignment in test
-
- 19 Mar, 2018 2 commits
-
-
xster authored
* Add a way to generically go back on both Material and Cupertino scaffold pages * review * lint * review * Fix text assert text
-
Yegor authored
* a11y: remove SemanticsSortOrder; sort locally only; semanticsOwner post-test check * update accessibility test framework - default nextNodeId/previousNodeId to -1 - stop treating null as opt-out from value testing - add `id`, `TestSemantics.root`, and `tags` to the suggested code in the TestSemantics failure message - fix a small bug with raw string escaping - update all tests accordingly * fix sortKey doc * prefer const over final
-
- 12 Mar, 2018 1 commit
-
-
Alexander Aprelev authored
* Roll engine to b6df7a637498ca9beda1fa9cd7210e3202ea599f. Changes since last roll: ``` b6df7a637 Roll dart to 290c576264faa096a0b3206c71b2435309d9f904. (#4771) a6764dbd5 Add sources for Fuchsia target. (#4763) 2d5900615 [fuchsia] Remove unused header file. (#4769) 9717063b7 Revert "Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (#4767)" (#4768) 9a9814312 Roll dart to c080951d45e79cd25df98036c4be835b284a269c. (#4767) e74e8b35c [async] Update includes of async headers to new path (#4760) e2c4b2760 Use Dart 2 camel case constants in the engine Dart libraries (#4766) 9c1e48434 Updates for Fuchsia roll. (#4765) 14c940e27 Switch from fxl::Mutex to std::mutex (#4764) debf82c0b Roll Garnet (#4759) 5bffdefbb Use weak pointers to the accesibility bridge from objects vended to the UIKit accessibility framework. (#4761) ```
-
- 02 Mar, 2018 1 commit
-
-
Yegor authored
Document missing value types supported by `within`. Add missing tests. Simplify _sizeDistance implementation.
-
- 26 Feb, 2018 1 commit
-
-
Jason Simmons authored
libtxt is now the default text renderer
-
- 06 Feb, 2018 2 commits
-
-
amirh authored
-
Alexandre Ardhuin authored
-
- 02 Feb, 2018 2 commits
-
-
Alexandre Ardhuin authored
-
Alexandre Ardhuin authored
* work around const lints * update nonconst doc
-
- 01 Feb, 2018 1 commit
-
-
Alexandre Ardhuin authored
-