remote_commands: introduce RunJob function
DeviceCommandRunRoutineJobTest's new RunJob function combines the job initialization and running. It reduces the amount of code necessary to write a new unit test by hiding the details of the initialization from the unit test. Bug: chromium:1066251 Change-Id: I4ab334689d66a7bd09b3ff55fd27ef54d90567e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130678Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Paul Moy <pmoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#755150}
Showing
Please register or sign in to comment