New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[flutter_tools] remove more mocks from cache_test #83522
[flutter_tools] remove more mocks from cache_test #83522
Conversation
@@ -971,8 +968,33 @@ class FakeDownloadedArtifact extends CachedArtifact { | |||
Future<void> updateInner(ArtifactUpdater artifactUpdater, FileSystem fileSystem, OperatingSystemUtils operatingSystemUtils) async { } | |||
} | |||
|
|||
class MockCachedArtifact extends Mock implements CachedArtifact {} | |||
class MockIosUsbArtifacts extends Mock implements IosUsbArtifacts {} | |||
class MockCachedArtifact extends Fake implements CachedArtifact { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FakeCachedArtifact
Ruh roh
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or you could hide FakeCachedArtifact
. Might want a comment for why it's Secondary
since that's not obvious.
LGTM
but FakeCachedArtifact is in the same file as this one |
Oh, I thought it was coming from |
Part of #71511.