Refactor AwAutofillTest
1) Move WebServer instantiation and shutdown into setUp() and tearDown() 2) UMATestHelper to have mWebServer 3) Move field block to the beginning of UMATestHelper 4) Reformatting due to git cl format This makes the test more readable at the expense of doing additional WebServer setUp/shutDown for a couple of test cases. Otherwise, there is no other logic change. Bug: 1065160 Test: AwAutofillTest test time remains the same. Doesn't seem to add new test flakiness. Change-Id: Ideb659a20b4fb9bf998f8701c8ee6a8e182c9aae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128985 Commit-Queue: Changwan Ryu <changwan@chromium.org> Reviewed-by:Tao Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/master@{#756501}
Showing
Please register or sign in to comment