remote_commands: move job inside DeviceCommandRunRoutineJobTest
Instead of having every unit test duplicate the code for creating its own RemoteCommandJob, move this code inside the test fixture so the logic is only needed a single time. This also lets the fixture's methods access the job without specifically being passed the job as an argument. Bug: chromium:1066251 Change-Id: I2d31ba0b77246d16ee41cad6e4b0e154c716d1b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131326Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Paul Moy <pmoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#756055}
Showing
Please register or sign in to comment