- 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.
-
- 08 May, 2018 1 commit
-
-
Todd Volkert authored
-
- 04 May, 2018 3 commits
-
-
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
The new values are not ready for use yet inside Google
-
Yegor authored
* Roll engine to e976be13c51448f89107d082ec81e2b6731671fa * move away from deprecated constants
-
- 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 1 commit
-
-
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
-
- 26 Apr, 2018 1 commit
-
-
Todd Volkert authored
-
- 24 Apr, 2018 1 commit
-
-
Alexander Aprelev authored
Fixes https://github.com/flutter/flutter/issues/16496
-
- 22 Apr, 2018 1 commit
-
-
Todd Volkert authored
This avoids notifying the coverage collector that we completed the test when in fact we timed out, which in turn avoids a downstream exception caused by the fact that coverage collector assumes it has a valid observatory port by which it can gather coverage data. Fixes https://github.com/flutter/flutter/issues/16839
-
- 18 Apr, 2018 1 commit
-
-
Todd Volkert authored
-
- 17 Apr, 2018 3 commits
-
-
Todd Volkert authored
Finalizers handle the restoration of state. In order to restore the state correctly, they shouyld be run in LIFO order. Fixes #16657
-
Mikkel Nygaard Ravn authored
-
Todd Volkert authored
* Roll engine to d6d4eec24c38bb06a9b1aef4e70c321d447ba762 Contains the following engine commits: flutter/engine@1bc0e1b On windows, refer to Dart snapshot directly executable. flutter/engine@cf6ca32 Revert "Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79" flutter/engine@4b45a53 Only make ERROR and FATAL log levels visible by default. flutter/engine@98f6c2d Fix shell launcher test (dart2 compliant and stop polling) flutter/engine@75851f0 Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79 flutter/engine@9495a52 On iOS, try to use ES3, then fall back to ES2. flutter/engine@d6d4eec Fix broken Linux build flutter/engine@d15dc76 Fix broken Chromebot build flutter/engine@c17a629 Breadcrumbs to the wiki flutter/engine@4eaf2c2 Return raw (unencoded) bytes in Image.toByteData() flutter/engine@d812a61 Roll src/third_party/skia/ e669bdfad..276886160 (9 commits) flutter/engine@62aeab7 Call SkSurface::flush instead of getting a backend handle in vulkan_swapchain. flutter/engine@f4ebb18 Roll src/third_party/skia/ 3462eb034..e669bdfad (54 commits) flutter/engine@0b7d6be Re-land "do not pause rendering when android view loses focus" flutter/engine@91dee59 If the rasterizer has a valid surface context, use that to create a snapshotting render target. flutter/engine@570231b Specify the packages file path when running engine dart tests. flutter/engine@0b9cef5 Minor update to README flutter/engine@c386418 Promote line height in text style created from paragraph style flutter/engine@4e0fbb6 If the test specifies a .dill file, dont make the engine interpret is as source. flutter/engine@58e84c8 Re-land "Support multiple shells in a single process. flutter/engine@37e5df0 Remove only use of SkPaint::kGenA8FromLCD flutter/engine@b7358b3 libtxt: cache font families that are remapped to the default font family flutter/engine@a530035 libtxt: fix leaks in Skia object reference counting flutter/engine@0c74fc9 [fuchsia] Fix use-after-free flutter/engine@b6d2dde [fuchsia] Fix build flutter/engine@1dd1264 [async] Adapt to libasync API changes. * Run test platform finalizers in reverse order to ensure that shell is shutdown before trying to delete any temporary files or directories. This fixes "Access Denied" error on Windows (see #16657).
-
- 12 Apr, 2018 1 commit
-
-
Alexander Aprelev authored
* Handle error count reported by frontend. Extend compilation result from single string to a structure(string filename and integer error count). * Use ?. * Include engine roll with dart sdk roll. * parse(onError) -> tryParse * Make '?? throw' more readable and avoid issue with analyzer * Fix test so it mocks compiler output including errors count
-
- 09 Apr, 2018 1 commit
-
-
Ian Hickson authored
-
- 20 Mar, 2018 1 commit
-
-
Vyacheslav Egorov authored
* Report an error if compilation times out instead of waiting forever. * Remove braces
-
- 16 Mar, 2018 1 commit
-
-
Vyacheslav Egorov authored
-
- 15 Mar, 2018 1 commit
-
-
Keerti Parthasarathy authored
* Do not encode the server port in the test file * revert formatting * add back ignore * add a default value to serverPort * address comments
-
- 12 Mar, 2018 1 commit
-
-
Jason Simmons authored
-
- 09 Mar, 2018 3 commits
-
-
Alexander Aprelev authored
* Update dependencies with forced upgrade. Now that https://github.com/flutter/flutter/issues/15261 is fixed, do the update with upgrade. * Update test package use following upgrade * Replace addOption(allowMultiple) with addMultiOption
-
Jacob Richman authored
Make flutter test support the --track-widget-creation flag. Add widget creation location tests. Tests are skipped when --track-widget-creation flag is not passed.
-
Alexander Aprelev authored
* Return copied kernel filename. This fixes 'flutter test --preview-dart-2' crash.
-
- 08 Mar, 2018 1 commit
-
-
Alexander Aprelev authored
* Create frontend compiler in `flutter test` lazily. This is needed to avoid unwarranted runtime dependencies on Artifacts, for example when in non-preview-dart-2 mode. Refactor the compilation-related code into _Compiler class.
-
- 07 Mar, 2018 2 commits
-
-
Alexander Aprelev authored
* Fix `flutter test --preview-dart-2` following last dart roll. Incremental compiler maintains single incremental dill file, so for every test compilation that dill file has to be copied away for execution. * Fix lints
-
Todd Volkert authored
-
- 06 Mar, 2018 3 commits
-
-
Keerti Parthasarathy authored
* Add to Artifacts, and add optional arguments to entry points for flut… (#15185) Add to Artifacts, and add optional arguments to entry points for flutter run and test to allow for wiring up the same with preview-dart-2 internally * Changing packages uri here is not necessary
-
Keerti Parthasarathy authored
This reverts commit e0f6e626.
-
Keerti Parthasarathy authored
Add to Artifacts, and add optional arguments to entry points for flutter run and test to allow for wiring up the same with preview-dart-2 internally
-
- 01 Mar, 2018 1 commit
-
-
Alexander Aprelev authored
* Run flutter tests in preview-dart-2 mode on travis flutter builds. * Run dart2 tests on osx. Run dart tests in dart2. * Fix name camelCase * Default options to empty array, rather than null * Troubleshoot failures * More logging * Troubleshoot: run single test * Troubleshoot: run 15 tests * Troubleshoot: run 15 tests with fix * Try limit concurrency to 1 * Limit concurrency for preview-dart-2 tests to 4 * Move dart2 tests to allow_failures section * Reinstate tests_dart_2 shard * Raise concurrency to 8 * Reuse compiler across multiple test runs * Allow to switch entry points when recompiling. Actually use single compiler to incrementally recompile all tests executed by 'flutter test'. * Remove leftover commented code * Fix comment * Lints
-
- 28 Feb, 2018 1 commit
-
-
Alexander Aprelev authored
This is to fix #14931.
-
- 16 Feb, 2018 1 commit
-
-
asiva authored
- Remove redundant strong flag as it is the default for preview-dart-2 now
-
- 15 Feb, 2018 1 commit
-
-
Vyacheslav Egorov authored
If compiler failed to produce Kernel binary then compile(...) returns null to the caller. If we don't check for null we end up trying to run file called "null" which causes a very confusing crash of the flutter_tester.
-
- 08 Feb, 2018 1 commit
-
-
asiva authored
-
- 01 Feb, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 31 Jan, 2018 1 commit
-
-
Vyacheslav Egorov authored
-
- 26 Jan, 2018 1 commit
-
-
Vyacheslav Egorov authored
The code was attempting to delete temporaryDirectory while it should have been deleting tempBundleDirectory
-
- 25 Jan, 2018 1 commit
-
-
Ian Hickson authored
-