- 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.
-
- 11 May, 2018 2 commits
-
-
Sam Rawlins authored
-
Konstantin Scheglov authored
-
- 10 May, 2018 2 commits
-
-
Devon Carew authored
* no longer use the analyzer version shipped in the sdk * update all package versions to the latest
-
Ian Hickson authored
-
- 09 May, 2018 1 commit
-
-
Todd Volkert 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
-
- 10 Apr, 2018 1 commit
-
-
Todd Volkert authored
-
- 09 Apr, 2018 1 commit
-
-
Jacob Richman authored
Switch to the new Matrix4.tryInvert method to avoid throwing and catching (#15771) exceptions while performing hit testing.
-
- 04 Apr, 2018 1 commit
-
-
Jonah Williams authored
* re-enable verify-only failing test for out of sync deps and update deps to latest version
-
- 03 Apr, 2018 1 commit
-
-
Anatoly Pulyaevskiy authored
-
- 23 Mar, 2018 1 commit
-
-
Andrew Davies authored
Adds a package that will support connecting to and debugging devices with multiple instances of the Dart VM, and operate on multiple Isolates and Flutter Views. Currently supports connecting to all existing Dart VMs and extracting information about all Flutter Views running across each VM.
-
- 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
-
- 21 Mar, 2018 1 commit
-
-
Jonah Williams authored
* traverse dependencies and dev dependencies separately * separate dev and reg deps * update pubspecs * add checksum string and update transitive dep string. Add additional verify command to check checksum * cleanup comments * add missing space, quote, run verify-onlu from bot script * rerun tool with fixed string * ensure correct working directory and bump versions * flutter not flutterRoot
-
- 19 Mar, 2018 1 commit
-
-
xster authored
* Add a way to generically go back on both Material and Cupertino scaffold pages * review * lint * review * Fix text assert text
-