Always fake ProcessManager when you fake Filesystem in tests (#42369)

...because otherwise, processes that think they're manipulating your
filesystem will be doing crazy things the test is ignoring, leading to
(at best) failures and (at worst) flakes or disk corruption.
This commit is contained in:
Ian Hickson
2019-10-11 11:23:12 -07:00
committed by GitHub
parent 292519be98
commit 08643c41d7
57 changed files with 692 additions and 171 deletions

View File

@@ -23,6 +23,7 @@ $ ../../bin/cache/dart-sdk/bin/dart bin/flutter_tools.dart
```
followed by command line arguments, as usual.
### Analyzing
To run the analyzer on Flutter Tools, in this directory run:
@@ -56,6 +57,8 @@ run:
```shell
$ ../../bin/cache/dart-sdk/bin/pub run build_runner test
```
This is what we do in the continuous integration bots.
### Forcing snapshot regeneration