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

Issue 275543004: Refactoring the debug creation of BeginFrameArgs objects to be in unittest code only. (Closed)

Created:
6 years, 7 months ago by mithro-old
Modified:
6 years, 7 months ago
Reviewers:
danakj, brianderson
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Refactoring the debug creation of BeginFrameArgs objects to be in unittest code only. Adding an output_test_common.xx file which will also gain more testing features for BeginFrameArgs soon. BUG=371223 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269474

Patch Set 1 #

Patch Set 2 : Fixing includes. #

Total comments: 3

Patch Set 3 : Removing stuff copied from output_test_common.h into output_test_common.cc #

Total comments: 3

Patch Set 4 : Fixing review comments, renaming functions+files. #

Patch Set 5 : Small fix. #

Patch Set 6 : Uploading again... #

Patch Set 7 : Rebasing onto upstream master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -109 lines) Patch
M cc/cc_tests.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/begin_frame_args.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/output/begin_frame_args.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M cc/output/output_surface_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 2 3 4 5 6 53 chunks +55 lines, -54 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 37 chunks +38 lines, -37 lines 0 comments Download
A cc/test/begin_frame_args_test.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A cc/test/begin_frame_args_test.cc View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
M cc/test/fake_output_surface.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
mithro-old
Hi Brian, This patch is the first in splitting the BeginFrameArgs debug changes from the ...
6 years, 7 months ago (2014-05-08 01:59:55 UTC) #1
brianderson
Thanks for splitting this out and thanks for improving the testing infrastructure! Overall looks good. ...
6 years, 7 months ago (2014-05-08 02:09:31 UTC) #2
mithro-old
On 2014/05/08 02:09:31, brianderson wrote: > Thanks for splitting this out and thanks for improving ...
6 years, 7 months ago (2014-05-08 02:18:23 UTC) #3
brianderson
Btw, why did you chose output_test_common rather than begin_frame_args_test_common? Is the intent of the "Quick" ...
6 years, 7 months ago (2014-05-08 02:35:27 UTC) #4
mithro-old
On 2014/05/08 02:35:27, brianderson wrote: > Btw, why did you chose output_test_common rather than > ...
6 years, 7 months ago (2014-05-08 03:26:46 UTC) #5
brianderson
The names you picked sgtm.
6 years, 7 months ago (2014-05-08 21:28:46 UTC) #6
danakj
https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h File cc/test/output_test_common.h (right): https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h#newcode5 cc/test/output_test_common.h:5: #ifndef CC_TEST_OUTPUT_TEST_COMMON_H_ I'd prefer begin_frame_args_common.h for this, it's coincidental ...
6 years, 7 months ago (2014-05-08 21:37:48 UTC) #7
mithro-old
https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h File cc/test/output_test_common.h (right): https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h#newcode5 cc/test/output_test_common.h:5: #ifndef CC_TEST_OUTPUT_TEST_COMMON_H_ On 2014/05/08 21:37:48, danakj wrote: > I'd ...
6 years, 7 months ago (2014-05-08 21:41:15 UTC) #8
danakj
https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h File cc/test/output_test_common.h (right): https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h#newcode5 cc/test/output_test_common.h:5: #ifndef CC_TEST_OUTPUT_TEST_COMMON_H_ On 2014/05/08 21:41:16, mithro wrote: > On ...
6 years, 7 months ago (2014-05-08 21:46:06 UTC) #9
danakj
On Thu, May 8, 2014 at 5:46 PM, <danakj@chromium.org> wrote: > > https://codereview.chromium.org/275543004/diff/40001/cc/ > test/output_test_common.h ...
6 years, 7 months ago (2014-05-08 21:47:30 UTC) #10
mithro-old
On 2014/05/08 21:46:06, danakj wrote: > https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h > File cc/test/output_test_common.h (right): > > https://codereview.chromium.org/275543004/diff/40001/cc/test/output_test_common.h#newcode5 > ...
6 years, 7 months ago (2014-05-08 21:47:42 UTC) #11
mithro-old
> Brian what is your preference? Brian's preference seems to be cc/test/begin_frame_args_test.{h,cc} I think that ...
6 years, 7 months ago (2014-05-08 22:08:26 UTC) #12
danakj
On Thu, May 8, 2014 at 6:08 PM, <mithro@mithis.com> wrote: > Brian what is your ...
6 years, 7 months ago (2014-05-08 22:09:19 UTC) #13
mithro-old
All done! PTAL
6 years, 7 months ago (2014-05-08 22:22:31 UTC) #14
brianderson
lgtm
6 years, 7 months ago (2014-05-08 23:40:18 UTC) #15
mithro-old
The CQ bit was checked by mithro@mithis.com
6 years, 7 months ago (2014-05-08 23:45:26 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mithro@mithis.com/275543004/100001
6 years, 7 months ago (2014-05-08 23:53:07 UTC) #17
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-09 04:04:24 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 04:12:22 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/2743) linux_chromium_chromeos_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_clang_dbg/builds/15594) linux_chromium_chromeos_rel ...
6 years, 7 months ago (2014-05-09 04:12:22 UTC) #20
mithro-old
The CQ bit was checked by mithro@mithis.com
6 years, 7 months ago (2014-05-09 06:04:30 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mithro@mithis.com/275543004/120001
6 years, 7 months ago (2014-05-09 06:09:55 UTC) #22
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 01:50:41 UTC) #23
Message was sent while issue was closed.
Change committed as 269474

Powered by Google App Engine
This is Rietveld 408576698