Chromium Code Reviews
DescriptionUse MockResource as much as possibler in MemoryCacheCorrectnessTest
This patch modifies MemoryCacheCorrectnessTest to use MockResource
instead of RawResource as much as possible, and to use MockResource*
or RawResource* rather than Resource* to hold references so that
EXPECT_EQ can force to use a right resource type for testing.
Now we have two unit tests that require RawResource to use
fetchSynchronously() and willFollowRedirect().
Also, since we do not have any other tests that use
MemorycacheCorrectnessTestHelper any more, this patch merges the file
to MemoryCacheCorrectnessTest.
TEST=webkit_unit_tests --gtest_filter=MemoryCacheCorrectnessTest.\*
BUG=655920
Review-Url: https://codereview.chromium.org/2637063002
Cr-Commit-Position: refs/heads/master@{#444664}
Committed: https://chromium.googlesource.com/chromium/src/+/7b6c57a4011db4ae08c5b70c9029633796802582
Patch Set 1 #
Total comments: 7
Patch Set 2 : review #8 #9 #Patch Set 3 : [rebase] #
Total comments: 2
Patch Set 4 : override related style nits #
Dependent Patchsets: Messages
Total messages: 31 (19 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||