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

Issue 242783003: cc: Add testing stubs for proxy test (Closed)

Created:
6 years, 8 months ago by simonhong
Modified:
6 years, 7 months ago
Reviewers:
danakj, brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, hyojun.im_lge.com
Visibility:
Public.

Description

cc: Add testing stubs for proxy test This is initial patch for proxy unittests. New testing stubs are added to LayerTreeTest. R=brianderson@chromium.org, danakj@chomium.org BUG=356832 TEST=*ProxyTest* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272051

Patch Set 1 #

Patch Set 2 : Use LayerTreeTest harness #

Total comments: 8

Patch Set 3 : Integrate ThreadProxyTestAPI into LayerTreeTest #

Patch Set 4 : Rebased #

Patch Set 5 : Rebased #

Total comments: 14

Patch Set 6 : Comment addressed #

Total comments: 2

Patch Set 7 : Move impl() & main() accessors into ThreadProxyTest #

Patch Set 8 : Rebased #

Patch Set 9 : Makes proxy test more general for single & threaded proxy #

Total comments: 1

Patch Set 10 : Add more tests #

Patch Set 11 : Use NON_EXPORTED_BASE for non-exported base class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -110 lines) Patch
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 7 8 9 3 chunks +62 lines, -4 lines 0 comments Download
A cc/trees/layer_tree_host_unittest_proxy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +135 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +112 lines, -105 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
simonhong
Dear brain, I referenced test pattern used by LayerTreeTest. Please take a look.
6 years, 8 months ago (2014-04-18 08:27:19 UTC) #1
danakj
This looks a lot more like the LayerTreeTest harness than I was expecting. Is there ...
6 years, 8 months ago (2014-04-22 15:03:49 UTC) #2
simonhong
On 2014/04/22 15:03:49, danakj wrote: > This looks a lot more like the LayerTreeTest harness ...
6 years, 8 months ago (2014-04-23 00:24:03 UTC) #3
danakj
On Tue, Apr 22, 2014 at 8:24 PM, <simonhong@chromium.org> wrote: > On 2014/04/22 15:03:49, danakj ...
6 years, 8 months ago (2014-04-23 14:29:52 UTC) #4
simonhong
On 2014/04/23 14:29:52, danakj wrote: > On Tue, Apr 22, 2014 at 8:24 PM, <mailto:simonhong@chromium.org> ...
6 years, 8 months ago (2014-04-23 21:08:41 UTC) #5
danakj
On Wed, Apr 23, 2014 at 5:08 PM, <simonhong@chromium.org> wrote: > On 2014/04/23 14:29:52, danakj ...
6 years, 8 months ago (2014-04-23 21:17:24 UTC) #6
simonhong
On 2014/04/23 21:17:24, danakj wrote: > On Wed, Apr 23, 2014 at 5:08 PM, <mailto:simonhong@chromium.org> ...
6 years, 8 months ago (2014-04-23 21:39:29 UTC) #7
danakj
On Wed, Apr 23, 2014 at 5:39 PM, <simonhong@chromium.org> wrote: > On 2014/04/23 21:17:24, danakj ...
6 years, 8 months ago (2014-04-23 21:45:21 UTC) #8
simonhong
CL is updated to use LayerTreeTest. Please check again.
6 years, 8 months ago (2014-04-24 01:11:27 UTC) #9
danakj
LGTM me on the approach, thanks. I'll let brian review the rest. https://codereview.chromium.org/242783003/diff/20001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h ...
6 years, 8 months ago (2014-04-24 16:03:14 UTC) #10
simonhong
Done. Thanks for review! https://codereview.chromium.org/242783003/diff/20001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/242783003/diff/20001/cc/trees/layer_tree_host.h#newcode312 cc/trees/layer_tree_host.h:312: // virtual for test. On ...
6 years, 8 months ago (2014-04-25 00:42:34 UTC) #11
simonhong
Dear brian, Please check again. Many thanks!
6 years, 7 months ago (2014-05-08 01:32:26 UTC) #12
simonhong
Kindly ping to brian :)
6 years, 7 months ago (2014-05-14 05:25:01 UTC) #13
brianderson
I was originally imagining a more stand alone proxy test harness, but re-using the existing ...
6 years, 7 months ago (2014-05-14 21:12:07 UTC) #14
simonhong
All done. Please take another look. Thanks for review! https://codereview.chromium.org/242783003/diff/70001/cc/test/layer_tree_test.cc File cc/test/layer_tree_test.cc (right): https://codereview.chromium.org/242783003/diff/70001/cc/test/layer_tree_test.cc#newcode708 cc/test/layer_tree_test.cc:708: ...
6 years, 7 months ago (2014-05-15 01:32:06 UTC) #15
brianderson
https://codereview.chromium.org/242783003/diff/90002/cc/test/layer_tree_test.h File cc/test/layer_tree_test.h (right): https://codereview.chromium.org/242783003/diff/90002/cc/test/layer_tree_test.h#newcode183 cc/test/layer_tree_test.h:183: const ThreadProxy::CompositorThreadOnly& ThreadProxyImplOnly() const; Instead of exposing these to ...
6 years, 7 months ago (2014-05-16 01:24:49 UTC) #16
simonhong
Done. Thanks! https://codereview.chromium.org/242783003/diff/90002/cc/test/layer_tree_test.h File cc/test/layer_tree_test.h (right): https://codereview.chromium.org/242783003/diff/90002/cc/test/layer_tree_test.h#newcode183 cc/test/layer_tree_test.h:183: const ThreadProxy::CompositorThreadOnly& ThreadProxyImplOnly() const; On 2014/05/16 01:24:49, ...
6 years, 7 months ago (2014-05-16 03:00:08 UTC) #17
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 7 months ago (2014-05-16 03:00:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/242783003/120001
6 years, 7 months ago (2014-05-16 03:00:40 UTC) #19
simonhong
The CQ bit was unchecked by simonhong@chromium.org
6 years, 7 months ago (2014-05-16 03:06:56 UTC) #20
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 7 months ago (2014-05-16 03:57:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/242783003/140001
6 years, 7 months ago (2014-05-16 03:58:12 UTC) #22
simonhong
The CQ bit was unchecked by simonhong@chromium.org
6 years, 7 months ago (2014-05-16 06:00:29 UTC) #23
simonhong
Dear brian, I couldn't submit previous patch set you lgtm'd because test_hooks_ of ThreadProxyForTest is ...
6 years, 7 months ago (2014-05-19 01:43:09 UTC) #24
brianderson
lgtm https://codereview.chromium.org/242783003/diff/160001/cc/test/layer_tree_test.h File cc/test/layer_tree_test.h (right): https://codereview.chromium.org/242783003/diff/160001/cc/test/layer_tree_test.h#newcode81 cc/test/layer_tree_test.h:81: // Hooks for SchedulerClient. I would say this ...
6 years, 7 months ago (2014-05-20 21:56:27 UTC) #25
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 7 months ago (2014-05-20 22:19:00 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/242783003/200001
6 years, 7 months ago (2014-05-20 22:20:32 UTC) #27
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-21 01:25:53 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-21 03:11:19 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/21514)
6 years, 7 months ago (2014-05-21 03:11:20 UTC) #30
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 7 months ago (2014-05-21 06:06:06 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/242783003/220001
6 years, 7 months ago (2014-05-21 06:06:40 UTC) #32
simonhong
The CQ bit was unchecked by simonhong@chromium.org
6 years, 7 months ago (2014-05-21 07:36:03 UTC) #33
simonhong
The CQ bit was checked by simonhong@chromium.org
6 years, 7 months ago (2014-05-21 07:48:08 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/242783003/230001
6 years, 7 months ago (2014-05-21 07:50:27 UTC) #35
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 02:51:59 UTC) #36
Message was sent while issue was closed.
Change committed as 272051

Powered by Google App Engine
This is Rietveld 408576698