Moves MockProcess, MockStdio and a few other useful mocks from packages_test.dart to common/mocks.dart. These are useful for testing code with interactive IO. This adds a new constructor to MockProcess to provide additional flexibility.
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