Allow new methods to be added to ui.Image for tests (#65876)

Remove fake image implementations, add createTestImage to flutter_test
This commit is contained in:
Dan Field
2020-09-22 11:55:39 -07:00
committed by GitHub
parent 8d2e257633
commit 7eb8447485
38 changed files with 479 additions and 567 deletions

View File

@@ -6,7 +6,7 @@ import 'dart:io';
import 'package:mockito/mockito.dart';
import '../../../packages/flutter/test/painting/image_data.dart';
import '../../../packages/flutter/test/image_data.dart';
// Returns a mock HTTP client that responds with an image to all requests.
MockHttpClient createMockImageHttpClient(SecurityContext _) {