media/gpu VDA unittest: Simplify Reset test case workflow
Originally, it was hard to understand Reset test case workflow, since a variable named reset_after_frame_num can mean either ResetPoint or the number of frames. This simplifies the workflow by introducing a variable to describe ResetPoint, so that reset_after_frame_num can only be meaningful for MID_STREAM_RESET. BUG=chromium:834170 TEST=VDA unittest on eve and kevin TEST=VDA unittest on non-Chrome OS platforms in CQ. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I5c0b5a6b3ea99c98f54eb244a6fed5059f77c102 Reviewed-on: https://chromium-review.googlesource.com/1025531 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Pawel Osciak <posciak@chromium.org> Cr-Commit-Position: refs/heads/master@{#555259}
Showing
Please register or sign in to comment