[ios] Add FindInPageManager Inttests

Desktop / Chromium - Chris Lu [chromium.org] - 22 February 2019 20:01 EST

Creates FindInPageManagerTest to test FindInPageManager and FindInPageManagerDelegate.

Bug: 919685 Change-Id: Ie226e5b56ce39c30252a948d7065e0c23b5ce4a7 Reviewed-on: https://chromium-review.googlesource.com/c/1482941

5aad6e02ca4d [ios] Add FindInPageManager Inttests
ios/testing/embedded_test_server_handlers.cc | 15 ++-
ios/testing/embedded_test_server_handlers.h | 4 +
ios/web/BUILD.gn | 2 +
ios/web/find_in_page/BUILD.gn | 1 +
.../find_in_page/find_in_page_manager_inttest.mm | 135 +++++++++++++++++++++
.../find_in_page/find_in_page_manager_delegate.h | 2 +
ios/web/public/test/fakes/BUILD.gn | 3 +
.../fakes/fake_find_in_page_manager_delegate.h | 48 ++++++++
.../fakes/fake_find_in_page_manager_delegate.mm | 33 +++++
9 files changed, 240 insertions(+), 3 deletions(-)

Upstream: git.chromium.org


  • Share