Commit 44bdf4ba authored by Changwan Ryu's avatar Changwan Ryu Committed by Commit Bot

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: default avatarTao Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756501}
parent 124a48bd
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