Skip to content

[flutter_tools] remove mocks from clean test - #81311

Merged
jonahwilliams merged 3 commits into
flutter:masterfrom
jonahwilliams:remove_even_more_mocks_123123asdas
Apr 27, 2021
Merged

jonahwilliams merged 3 commits into
flutter:masterfrom
jonahwilliams:remove_even_more_mocks_123123asdas

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Work towards #71511

Remove mocks from clean command test. Replace test which threw error on exists to one that throws an error on delete.

@flutter-dashboard flutter-dashboard Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Apr 27, 2021
@google-cla google-cla Bot added the cla: yes label Apr 27, 2021
@jonahwilliams
jonahwilliams requested a review from jmagman April 27, 2021 17:35

@jmagman jmagman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with mockXcodeProjectInterpreter->fakeXcodeProjectInterpreter nit

return projectUnderTest;
}

class MockXcodeProjectInterpreter extends Fake implements XcodeProjectInterpreter {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FakeXcodeProjectInterpreter

@jonahwilliams
jonahwilliams merged commit c7d1dc9 into flutter:master Apr 27, 2021
@jonahwilliams
jonahwilliams deleted the remove_even_more_mocks_123123asdas branch April 27, 2021 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants