flutter/packages/flutter_tools
Danny Tuppeny dc5a5c18a9
Start logger in startProgress to avoid assertion failure (#20814)
* Start logger in startProgress to avoid assertion failure

There are lots of places that create a Status() and all but two of them call ..start() immediately. This is one of the places that doesn't, which causes an assertion failure when running with --enable-asserts and the other is in the same file (I suspect it's also incorrect, but possibly it's never used - I'll look at that separately when I can trace some code that calls it).

Fixes #20812.

* Enable asserts for tools tests

* Fix lint

* Rename enableAsserts -> enableFlutterToolAsserts

To make it clearer that it only enables asserts for flutter_tools when set.
2018-08-23 20:49:59 +01:00
..
bin Audit TODO syntax (#20837) 2018-08-21 14:02:11 -07:00
doc Add --machine support for flutter attach (#19077) 2018-07-19 13:38:29 +01:00
gradle Remove unused snapshot.d depfile parameter (#20584) 2018-08-16 08:47:20 -07:00
ide_templates/intellij Change 'flutter ide-config' to optionally create root Intellij module (#19920) 2018-07-30 10:15:26 -07:00
lib Start logger in startProgress to avoid assertion failure (#20814) 2018-08-23 20:49:59 +01:00
schema Add module template for Android (#18697) 2018-06-22 18:19:37 +02:00
templates Materialize Flutter module, Android (#20520) 2018-08-16 13:21:55 +02:00
test Don't try to stop the same app twice in flutter_attach test (#20905) 2018-08-22 17:13:34 +01:00
tool Add emulator.getEmulators and emulator.launch to daemon (#17466) 2018-05-22 07:39:08 +01:00
analysis_options.yaml re-write flutter analyze to use the analysis server (#16979) 2018-05-10 09:48:40 -07:00
BUILD.gn [gn] Be explicit about Dart sources. 2018-08-01 09:33:03 -07:00
pubspec.yaml Clone goldens as part of flutter update-packages. 2018-08-20 14:29:26 -07:00
README.md Fix capitalization in README.md (#16788) 2018-04-20 01:02:44 -07:00

Flutter Tools

Tools for building Flutter applications.

To run the tests, ensure that no devices are connected, then navigate to flutter_tools and execute:

../../bin/cache/dart-sdk/bin/pub run test -j1