Chromium Code Reviews
Descriptioncc: 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 #
Dependent Patchsets: Messages
Total messages: 24 (18 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||