Move common process/IO-related mocks to mocks.dart (#14255)
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.
Showing
Please register or sign in to comment