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

Issue 2185463002: cc: Move LayerTreeHostCommonTest harness into the LTHCommon tests file (Closed)

Created:
4 years, 4 months ago by danakj
Modified:
4 years, 4 months ago
Reviewers:
jaydasika, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org, enne (OOO), piman, vmpstr
Base URL:
https://chromium.googlesource.com/chromium/src.git@lthcommontest-harness2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Move LayerTreeHostCommonTest harness into the LTHCommon tests file This moves the tests baseclass into the file where the tests live, so we don't have test base classes living in cc/test/. This is done because base classes separate from the tests themselves is confusing to people trying to write new tests, there's just so many LayerTreeHost* type things in cc/test/ that it's unclear what to use. This resulted in the duplication of (part of) one function into LayerTreeImplTest to ExecuteCalculateDrawProperties(). Also delete some an unused class, MockContentLayerClient, and an unused macro. And remove the EXPECT_IDEAL_CONTENT_SCALE macro, just using EXPECT_FLOAT_EQ instead as the macro has become a very simple proxy. I intend to make these suites stop inheriting from the LayerTestCommon::LayerImplTest class also, as it is meant to be used as composition not inheritence. R=ajuma@chromium.org, jaydasika@chromium.org BUG=630754 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel Committed: https://crrev.com/59931941b4a767b78269fa0d1d5fccbba76158c3 Cr-Commit-Position: refs/heads/master@{#407929}

Patch Set 1 #

Patch Set 2 : lthcommontest-harness3: rebase #

Patch Set 3 : lthcommontest-harness3: rebase2 #

Total comments: 4

Patch Set 4 : lthcommontest-harness3: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -463 lines) Patch
M cc/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M cc/cc_tests.gyp View 1 1 chunk +0 lines, -2 lines 0 comments Download
D cc/test/layer_tree_host_common_test.h View 1 1 chunk +0 lines, -131 lines 0 comments Download
D cc/test/layer_tree_host_common_test.cc View 1 1 chunk +0 lines, -190 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 25 chunks +272 lines, -74 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 5 chunks +71 lines, -64 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (18 generated)
danakj
4 years, 4 months ago (2016-07-26 01:57:57 UTC) #3
ajuma
lgtm https://codereview.chromium.org/2185463002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/2185463002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode109 cc/trees/layer_tree_host_common_unittest.cc:109: gfx::Transform identity_matrix; This seems to be unused. https://codereview.chromium.org/2185463002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode137 ...
4 years, 4 months ago (2016-07-26 15:08:21 UTC) #15
danakj
https://codereview.chromium.org/2185463002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc File cc/trees/layer_tree_host_common_unittest.cc (right): https://codereview.chromium.org/2185463002/diff/40001/cc/trees/layer_tree_host_common_unittest.cc#newcode109 cc/trees/layer_tree_host_common_unittest.cc:109: gfx::Transform identity_matrix; On 2016/07/26 15:08:21, ajuma wrote: > This ...
4 years, 4 months ago (2016-07-26 19:37:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2185463002/60001
4 years, 4 months ago (2016-07-26 19:37:56 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-26 22:12:24 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 22:16:21 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/59931941b4a767b78269fa0d1d5fccbba76158c3
Cr-Commit-Position: refs/heads/master@{#407929}

Powered by Google App Engine
This is Rietveld 408576698