Moving a few web unittests to use WebTest test fixture
commitb07283fe544aafcb1d11feaaafeb2166bf15c87f
authorshreyasv <shreyasv@chromium.org>
Tue, 28 Jul 2015 00:48:24 +0000 (27 17:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Jul 2015 00:49:02 +0000 (28 00:49 +0000)
tree1c4a1db751c6ddcbd406b921733066b8371725e5
parent9294fcb8d0373f35f4f8475be724f87ca952256f
Moving a few web unittests to use WebTest test fixture

A lot of the boilerplate in these unittests is already present
in this test fixture.

Also added a method to return the current test WebClient

BUG=480507

Review URL: https://codereview.chromium.org/1252923006

Cr-Commit-Position: refs/heads/master@{#340618}
ios/web/test/web_test.h
ios/web/web_state/js/page_script_util_unittest.mm
ios/web/web_state/ui/crw_wk_simple_web_view_controller_unittest.mm
ios/web/web_state/ui/crw_wk_web_view_crash_detector_unittest.mm
ios/web/web_state/ui/web_view_js_utils_unittest.mm
ios/web/web_state/web_view_internal_creation_util_unittest.mm