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

Issue 287043002: Use real PlatformSupport in content unit tests (Closed)

Created:
6 years, 7 months ago by enne (OOO)
Modified:
6 years, 7 months ago
Reviewers:
Lei Zhang, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Use real PlatformSupport in content unit tests Once all pages are force composited by default, this allows these tests to not explode when trying to create GraphicsLayers because of a lack of Platform::compositorSupport. BUG=361729 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271794

Patch Set 1 #

Patch Set 2 : Move include to cc #

Patch Set 3 : Add one more #if for IOS #

Patch Set 4 : Fix gyp file #

Total comments: 2

Patch Set 5 : Android fixes #

Patch Set 6 : Delete pointer explicitly #

Patch Set 7 : Memory suppressions #

Patch Set 8 : Move suppressions to _mac.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -38 lines) Patch
M content/content_tests.gypi View 1 2 3 4 5 6 5 chunks +12 lines, -12 lines 0 comments Download
M content/public/test/unittest_test_suite.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/test/unittest_test_suite.cc View 1 2 3 4 5 1 chunk +5 lines, -24 lines 0 comments Download
M tools/valgrind/memcheck/suppressions_mac.txt View 1 2 3 4 5 6 7 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
enne (OOO)
6 years, 7 months ago (2014-05-15 19:26:21 UTC) #1
piman
lgtm
6 years, 7 months ago (2014-05-15 19:46:57 UTC) #2
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 7 months ago (2014-05-15 19:49:13 UTC) #3
enne (OOO)
The CQ bit was unchecked by enne@chromium.org
6 years, 7 months ago (2014-05-15 19:49:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/287043002/10001
6 years, 7 months ago (2014-05-15 19:49:34 UTC) #5
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 7 months ago (2014-05-15 19:50:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/287043002/30001
6 years, 7 months ago (2014-05-15 19:50:55 UTC) #7
enne (OOO)
piman: I'm no gyp expert, but I think this is the right thing to do, ...
6 years, 7 months ago (2014-05-15 21:49:31 UTC) #8
piman
https://codereview.chromium.org/287043002/diff/50001/content/content_tests.gypi File content/content_tests.gypi (right): https://codereview.chromium.org/287043002/diff/50001/content/content_tests.gypi#newcode217 content/content_tests.gypi:217: 'test/web_layer_tree_view_impl_for_testing.h', I suspect some of these will need to ...
6 years, 7 months ago (2014-05-15 21:56:43 UTC) #9
piman
(LGTM whatever works)
6 years, 7 months ago (2014-05-15 22:00:44 UTC) #10
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 7 months ago (2014-05-15 22:10:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/287043002/60001
6 years, 7 months ago (2014-05-15 22:12:15 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 01:11:07 UTC) #13
commit-bot: I haz the power
Change committed as 270894
6 years, 7 months ago (2014-05-16 01:35:27 UTC) #14
enne (OOO)
Reverted in https://codereview.chromium.org/284193006/for memory leaks. I'll look into it.
6 years, 7 months ago (2014-05-16 17:14:27 UTC) #15
enne (OOO)
Apparently it's impossible to run a try job to make mac_valgrind run the "memory test: ...
6 years, 7 months ago (2014-05-16 21:11:03 UTC) #16
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 7 months ago (2014-05-16 21:11:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/287043002/80001
6 years, 7 months ago (2014-05-16 21:12:22 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-17 06:45:11 UTC) #19
commit-bot: I haz the power
Change committed as 271229
6 years, 7 months ago (2014-05-17 16:58:26 UTC) #20
enne (OOO)
A revert of this CL has been created in https://codereview.chromium.org/290303002/ by enne@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-17 20:12:27 UTC) #21
benwells
On 2014/05/17 20:12:27, enne wrote: > A revert of this CL has been created in ...
6 years, 7 months ago (2014-05-19 07:18:44 UTC) #22
enne (OOO)
+thestig for memory suppressions On 2014/05/19 07:18:44, benwells wrote: > On 2014/05/17 20:12:27, enne wrote: ...
6 years, 7 months ago (2014-05-20 18:56:51 UTC) #23
Lei Zhang
On 2014/05/20 18:56:51, enne wrote: > +thestig for memory suppressions > They should go in ...
6 years, 7 months ago (2014-05-20 18:59:56 UTC) #24
enne (OOO)
On 2014/05/20 18:59:56, Lei Zhang wrote: > On 2014/05/20 18:56:51, enne wrote: > > +thestig ...
6 years, 7 months ago (2014-05-20 19:11:28 UTC) #25
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 7 months ago (2014-05-20 19:12:21 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/287043002/120001
6 years, 7 months ago (2014-05-20 19:12:50 UTC) #27
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 01:39:20 UTC) #28
Message was sent while issue was closed.
Change committed as 271794

Powered by Google App Engine
This is Rietveld 408576698