Skip to content

[flutter_tools] Only remove ProcessUtils from injection#48975

Merged
jonahwilliams merged 3 commits intoflutter:masterfrom
jonahwilliams:remove_process_utils_injection_2
Jan 16, 2020
Merged

[flutter_tools] Only remove ProcessUtils from injection#48975
jonahwilliams merged 3 commits intoflutter:masterfrom
jonahwilliams:remove_process_utils_injection_2

Conversation

@jonahwilliams
Copy link
Copy Markdown
Contributor

Will make it easier to refactor the class in the future.

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jan 16, 2020
)).thenAnswer((_) async {
return ProcessResult(0, 0, '[ro.build.version.sdk]: [24]', '');
});
when(mockProcessManager.run(
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.

This is fine, but the FakeProcessManager in fake_process_manager.dart is pretty nice to use.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ack :)

@jonahwilliams jonahwilliams merged commit fb5632d into flutter:master Jan 16, 2020
@jonahwilliams jonahwilliams deleted the remove_process_utils_injection_2 branch January 16, 2020 21:32
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

4 participants