|
platform/testing/{URL|Unit}TestHelpers improvements
URLTestHelpers assumed that the test directory is web/tests/data.
But for blink_platform_tests, we didn't have a dependency to
web/tests/data in build rules, and should use platform/testing/data
instead of web/tests/data.
This patch revises URLTestHelpers so that it works without knowing
where the test directory is, and adds interfaces that provide
test directories for web and platform.
Also this patch does some refactoring changes against caller side
files so that these interface changes should not affect so much.
Some tests that directly had test directory path literals are
fixed to use UnitTestHelpers to obtain fullpaths for test files.
BUG= 655920
Review-Url: https://codereview.chromium.org/2654933003
Cr-Commit-Position: refs/heads/master@{#448227}
Committed: https://chromium.googlesource.com/chromium/src/+/8fabb1af2315f0b6fc685118b7c25b726bf3f94e
Total comments: 39
Total comments: 1
Total comments: 1
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+590 lines, -752 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/loader/PingLoaderTest.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
|
View
|
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/resource/ImageResourceTest.cpp
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp
|
View
|
1
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/notifications/NotificationResourcesLoaderTest.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+14 lines, -15 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/fonts/FontPlatformDataTest.cpp
|
View
|
|
3 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/fonts/FontTest.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
|
View
|
1
2
3
4
5
6
7
|
13 chunks |
+28 lines, -24 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/testing/URLTestHelpers.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+21 lines, -27 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/testing/UnitTestHelpers.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+20 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+36 lines, -15 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/platform/testing/data/white-1x1.png
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+24 lines, -33 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebAssociatedURLLoaderImplTest.cpp
|
View
|
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
|
View
|
1
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
|
View
|
1
2
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/ListenerLeakTest.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/MHTMLTest.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/RootScrollerTest.cpp
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/TouchActionTest.cpp
|
View
|
1
|
2 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
View
|
1
2
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp
|
View
|
1
2
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebDocumentTest.cpp
|
View
|
1
|
4 chunks |
+28 lines, -39 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp
|
View
|
1
|
8 chunks |
+24 lines, -21 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
View
|
1
2
3
4
5
6
7
|
16 chunks |
+33 lines, -39 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebImageTest.cpp
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
View
|
1
2
3
4
5
6
7
|
20 chunks |
+29 lines, -58 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebSearchableFormDataTest.cpp
|
View
|
1
2
|
4 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
View
|
1
2
3
4
5
6
7
|
98 chunks |
+127 lines, -289 lines |
0 comments
|
Download
|
Total messages: 39 (27 generated)
|