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

Issue 7104039: First draft to enable turning off compositor for unit tests. (Closed)

Created:
9 years, 6 months ago by wjmaclean
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, dhollowa, Paweł Hajdan Jr.
Visibility:
Public.

Description

First draft to enable turning off compositor for unit tests. Tests will be re-enabled when appropriate changes are made to support GL compositor testing. BUG=unit tests not ready for GL compositor at this time. TEST=unit tests run to completion. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88521

Patch Set 1 #

Total comments: 6

Patch Set 2 : Revised to add conditional compilation guards. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -4 lines) Patch
M chrome/test/unit/chrome_test_suite.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M ui/gfx/compositor/compositor_gl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M views/run_all_unittests.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M views/view.h View 1 chunk +1 line, -0 lines 0 comments Download
M views/view.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M views/widget/widget.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
wjmaclean
This is running on the trybots now. Let me know if you think I've missed ...
9 years, 6 months ago (2011-06-07 21:06:15 UTC) #1
sky
http://codereview.chromium.org/7104039/diff/1/chrome/test/unit/chrome_test_suite.cc File chrome/test/unit/chrome_test_suite.cc (right): http://codereview.chromium.org/7104039/diff/1/chrome/test/unit/chrome_test_suite.cc#newcode24 chrome/test/unit/chrome_test_suite.cc:24: #include "views/view.h" Only include this if TOOLKIT_VIEWS is set. ...
9 years, 6 months ago (2011-06-07 23:21:20 UTC) #2
wjmaclean
I figured out about the conditional compile stuff as soon as I saw the linux ...
9 years, 6 months ago (2011-06-08 13:24:03 UTC) #3
sky
LGTM I'm not sure if we'll need to disable compositing for unit tests on windows. ...
9 years, 6 months ago (2011-06-08 16:10:51 UTC) #4
wjmaclean
9 years, 6 months ago (2011-06-09 13:25:34 UTC) #5
On 2011/06/08 16:10:51, sky wrote:
> LGTM
> 
> I'm not sure if we'll need to disable compositing for unit tests on windows.
> That's why I said to make the conditional TOUCH_UI at this point. Although
> perhaps it should be OS_LINUX.

I left it as TOUCHUI, as it seemed to me that OS_LINUX might be defined without
TOOLKIT_VIEWS, leading to compile errors.

Powered by Google App Engine
This is Rietveld 408576698