Refactoring web_test
commit49a9fb357958f4af34f8ebf7b728a71a9736af87
authorshreyasv <shreyasv@chromium.org>
Fri, 24 Jul 2015 20:45:11 +0000 (24 13:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Jul 2015 20:46:21 +0000 (24 20:46 +0000)
tree76079d87182ac2345f51596dc8a64dcd38d2e485
parent61d8187d14b3beda9b4270c1baa6e5308b23db2a
Refactoring web_test

Split WebTestBase into WebTest and WebTestBase.

WebTest is used as a test fixture in web tests that don't
need a WebController but need other necessary pieces such as
WebThreads, WebClient etc.

As a proof of concept changed ActiveStateManagerImplTest,
BrowsingDataStoreTest to use WebTest.
As a result, a lot of code duplication is eliminated.
A lot of boilerplate (need to run web unittests) is now present
in WebTest.

BUG=480507

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

Cr-Commit-Position: refs/heads/master@{#340327}
ios/web/active_state_manager_impl_unittest.mm
ios/web/crw_browsing_data_store_unittest.mm
ios/web/test/web_test.h
ios/web/test/web_test.mm