Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 1456873003: More regular Platform implementations in unit tests (reland.) (Closed)

Created:
5 years, 1 month ago by sof
Modified:
5 years, 1 month ago
Reviewers:
haraken, tkent, jbroman
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, Eric Willigers, f(malita), gavinp+loader_chromium.org, Nate Chapin, Justin Novosad, loading-reviews+fetch_chromium.org, pdr+graphicswatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans, tyoshino+watch_chromium.org, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

More regular Platform implementations in unit tests (reland.) R=haraken,jbroman BUG= Committed: https://crrev.com/6018759ce49b745a4a33d033815010e5aecf6987 Cr-Commit-Position: refs/heads/master@{#361030}

Patch Set 1 #

Patch Set 2 : Annotate Platform as 'platform exported' #

Patch Set 3 : simplify TextFinderTest a bit #

Total comments: 2

Patch Set 4 : Do not expose TestingPlatformSupport outside of unit tests #

Patch Set 5 : rebased and moved TestingPlatformSupport into testing/ #

Patch Set 6 : address ld failure for webkit_unit_tests on linux_chromium_compile_dbg_ng #

Patch Set 7 : revert back to ps#5 #

Patch Set 8 : avoid TestingPlatformSupport dependency on WTF::Vector<> #

Patch Set 9 : experiment: add Assertions entry points to wtf_unittest_helper_files #

Patch Set 10 : inline asserting methods to avoid wtf/ dependency #

Patch Set 11 : have webkit_unit_tests explicitly depend on wtf #

Patch Set 12 : GN counterpart.. #

Patch Set 13 : disable MSVC's C4267 for blink_platform_test_support #

Patch Set 14 : rebased #

Patch Set 15 : have GN disable c4267 also #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -494 lines) Patch
M third_party/WebKit/Source/core/animation/CompositorAnimationsTestHelper.h View 1 2 3 4 2 chunks +5 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp View 1 2 3 4 5 chunks +9 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/CachingCorrectnessTest.cpp View 1 2 3 4 4 chunks +3 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceTest.cpp View 1 2 3 4 4 chunks +7 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/PurgeableVectorTest.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/SharedBufferTest.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/Source/platform/TestingPlatformSupport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -85 lines 0 comments Download
D third_party/WebKit/Source/platform/TestingPlatformSupport.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -110 lines 0 comments Download
M third_party/WebKit/Source/platform/TimerTest.cpp View 1 2 3 4 7 chunks +8 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp View 1 2 3 4 3 chunks +3 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp View 1 2 3 4 4 chunks +8 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/RunAllTests.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +7 lines, -1 line 0 comments Download
A + third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +11 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/text/LocaleMacTest.cpp View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/OriginAccessEntryTest.cpp View 1 2 3 4 3 chunks +2 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ImageDecodeBench.cpp View 1 2 3 4 2 chunks +2 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/tests/TextFinderTest.cpp View 1 2 3 4 5 chunks +14 lines, -62 lines 0 comments Download
M third_party/WebKit/Source/web/web_tests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 50 (16 generated)
sof
please take a look.
5 years, 1 month ago (2015-11-18 11:44:48 UTC) #2
haraken
LGTM
5 years, 1 month ago (2015-11-18 11:50:35 UTC) #3
sof
MSVC insists on transitive closure for BLINK_PLATFORM_EXPORTs, so had to add that annotation to public/platform/Platform.h ...
5 years, 1 month ago (2015-11-18 12:14:27 UTC) #4
jbroman
https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi File third_party/WebKit/Source/platform/blink_platform.gypi (right): https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi#newcode122 third_party/WebKit/Source/platform/blink_platform.gypi:122: 'TestingPlatformSupport.cpp', Why does this have to move into the ...
5 years, 1 month ago (2015-11-18 15:00:56 UTC) #5
jbroman
On 2015/11/18 at 15:00:56, jbroman wrote: > https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi > File third_party/WebKit/Source/platform/blink_platform.gypi (right): > > https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi#newcode122 ...
5 years, 1 month ago (2015-11-18 15:01:40 UTC) #6
sof
https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi File third_party/WebKit/Source/platform/blink_platform.gypi (right): https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi#newcode122 third_party/WebKit/Source/platform/blink_platform.gypi:122: 'TestingPlatformSupport.cpp', On 2015/11/18 15:00:56, jbroman wrote: > Why does ...
5 years, 1 month ago (2015-11-18 15:38:16 UTC) #7
jbroman
On 2015/11/18 at 15:38:16, sigbjornf wrote: > https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi > File third_party/WebKit/Source/platform/blink_platform.gypi (right): > > https://codereview.chromium.org/1456873003/diff/40001/third_party/WebKit/Source/platform/blink_platform.gypi#newcode122 ...
5 years, 1 month ago (2015-11-18 15:43:56 UTC) #8
sof
On 2015/11/18 15:43:56, jbroman wrote: > On 2015/11/18 at 15:38:16, sigbjornf wrote: > > > ...
5 years, 1 month ago (2015-11-18 15:55:43 UTC) #9
jbroman
On 2015/11/18 at 15:55:43, sigbjornf wrote: > On 2015/11/18 15:43:56, jbroman wrote: > > On ...
5 years, 1 month ago (2015-11-18 16:00:26 UTC) #10
sof
About ready, but linux_chromium_compile_dbg_ng is running into a link error that i'm trying to repro ...
5 years, 1 month ago (2015-11-19 11:56:45 UTC) #12
sof
On 2015/11/19 11:56:45, sof wrote: > About ready, but linux_chromium_compile_dbg_ng is running into a link ...
5 years, 1 month ago (2015-11-19 14:43:58 UTC) #13
jbroman
On 2015/11/19 at 14:43:58, sigbjornf wrote: > On 2015/11/19 11:56:45, sof wrote: > > About ...
5 years, 1 month ago (2015-11-19 15:01:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456873003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456873003/220001
5 years, 1 month ago (2015-11-19 15:04:17 UTC) #17
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 1 month ago (2015-11-19 15:11:47 UTC) #18
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/3e197be3a60195ac2267f3293084fa36c5706503 Cr-Commit-Position: refs/heads/master@{#360583}
5 years, 1 month ago (2015-11-19 15:12:25 UTC) #19
grt (UTC plus 2)
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/1464493002/ by grt@chromium.org. ...
5 years, 1 month ago (2015-11-19 15:34:13 UTC) #20
sof
With the compilation issue separately taken care of ( https://codereview.chromium.org/1459933002/ ), relanding.
5 years, 1 month ago (2015-11-20 06:20:01 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456873003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456873003/220001
5 years, 1 month ago (2015-11-20 06:20:17 UTC) #24
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 1 month ago (2015-11-20 06:24:53 UTC) #25
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/fd6f2835d66387788cc5c9f1025b6b0e7fcb6225 Cr-Commit-Position: refs/heads/master@{#360763}
5 years, 1 month ago (2015-11-20 06:25:54 UTC) #26
tkent
On 2015/11/20 at 06:25:54, commit-bot wrote: > Patchset 12 (id:??) landed as https://crrev.com/fd6f2835d66387788cc5c9f1025b6b0e7fcb6225 > Cr-Commit-Position: ...
5 years, 1 month ago (2015-11-20 06:58:26 UTC) #27
tkent
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/1466603003/ by tkent@chromium.org. ...
5 years, 1 month ago (2015-11-20 06:59:14 UTC) #28
sof
Added required ignorance of MSVC's C4267 warning for blink_platform_test_support -- TestingPlatformSupport now being a 'test ...
5 years, 1 month ago (2015-11-20 08:46:48 UTC) #30
sof
locally verified, relanding.
5 years, 1 month ago (2015-11-20 21:54:01 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456873003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456873003/240001
5 years, 1 month ago (2015-11-20 21:55:30 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/120879)
5 years, 1 month ago (2015-11-20 22:17:27 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456873003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456873003/260001
5 years, 1 month ago (2015-11-21 08:27:35 UTC) #40
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 1 month ago (2015-11-21 09:47:45 UTC) #41
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/81286531cd82370140d781f6daad585d44c1747c Cr-Commit-Position: refs/heads/master@{#361019}
5 years, 1 month ago (2015-11-21 09:48:42 UTC) #42
tommi (sloooow) - chröme
A revert of this CL (patchset #14 id:260001) has been created in https://codereview.chromium.org/1464953003/ by tommi@chromium.org. ...
5 years, 1 month ago (2015-11-21 16:29:38 UTC) #43
sof
Win64 GN failure addressed. Details: - win_chromium_x64_rel_ng doesn't build any Blink unit tests; builds and ...
5 years, 1 month ago (2015-11-21 18:41:16 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456873003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456873003/280001
5 years, 1 month ago (2015-11-21 18:43:43 UTC) #48
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years, 1 month ago (2015-11-21 19:37:05 UTC) #49
commit-bot: I haz the power
5 years, 1 month ago (2015-11-21 19:37:54 UTC) #50
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/6018759ce49b745a4a33d033815010e5aecf6987
Cr-Commit-Position: refs/heads/master@{#361030}

Powered by Google App Engine
This is Rietveld 408576698