DescriptionLoading: Use MockResource in ResourceFetcherTest.cpp
Now tests in ResourceFetcherTest.cpp use ImageResource for testing,
but ImageResource will be moved to core/loader/resource/, and core/fetch
should not have a dependency to the core/loader/.
This patch introduces MockResource and uses it in several tests in
ResourceFetcherTest.cpp.
BUG=655920
TEST=webkit_unit_tests --gtest_filter='ResourceFetcherTest.*'
Committed: https://crrev.com/ab9d0bcb41c77781cf482f4937686cc604b41112
Cr-Commit-Position: refs/heads/master@{#438456}
Patch Set 1 #Patch Set 2 : MockResource.* #Patch Set 3 : cleanup #
Total comments: 6
Patch Set 4 : review https://codereview.chromium.org/2549093008/#msg4 #Patch Set 5 : Use Resource::Mock type, and run cl format #
Total comments: 2
Patch Set 6 : review #18 #
Total comments: 1
Patch Set 7 : [rebase] #Dependent Patchsets: Messages
Total messages: 37 (21 generated)
|