Unverified Commit 15b9b58e authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Remove MockStdIn and MockStream (#78276)

parent 24258141
......@@ -201,25 +201,3 @@ class MockIOSDevice extends Mock implements IOSDevice {
@override
bool isSupportedForProject(FlutterProject flutterProject) => true;
}
class MockStdIn extends Mock implements IOSink {
final StringBuffer stdInWrites = StringBuffer();
String getAndClear() {
final String result = stdInWrites.toString();
stdInWrites.clear();
return result;
}
@override
void write([ Object o = '' ]) {
stdInWrites.write(o);
}
@override
void writeln([ Object o = '' ]) {
stdInWrites.writeln(o);
}
}
class MockStream extends Mock implements Stream<List<int>> {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment