Commit f56e090c authored by Paul Moy's avatar Paul Moy Committed by Commit Bot

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: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Paul Moy <pmoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756055}
parent 20d16a72
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment