tablet: Clean up some unit tests
1. StartTabletActiveRightSnapPreviousLeftSnap is supposed to test with the right snapped window active (according to both the name and the comment), but actually tests with the left snapped window active. The present CL makes it test what it is supposed to test. 2. Among the tests with an active window and a previous window, some make it totally clear by activating both windows one after the other, while others just activate one window and assume that the other one will be previous. The present CL works out this inconsistency (at least for the tests that are the focus of my attention at the moment). 3. The comment on StartTabletActiveLeftSnapPreviousLeftSnap has some text left over from before [1], and currently does not even make sense. The present CL removes the offending text. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1535172 Change-Id: I086612a9cc180dd5092cd3c8794ccc29ee8b5a49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1738633Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Avery Musbach <amusbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#685248}
Showing
Please register or sign in to comment