diff options
author | 2017-01-18 10:58:10 +0000 | |
---|---|---|
committer | 2017-01-18 11:02:20 +0000 | |
commit | af0b670d9906e96ae41f55bb3b9b8698d425a1dc (patch) | |
tree | b939d614085218d1f535c5ceb84986872b8adef8 /third_party/gtest/gtest_main.cc | |
parent | f2b5f270a60efc8bd8ea159615e0b6cf8f860595 (diff) |
With interleaving now enabled, clean up our tests.
Remove many calls from tests to SkyframeLabelVisitor.sync, which is generally
no longer necessary. In particular, BuildViewTestCase.ensureTarget(s)Visited
was calling it, so removing that, as well as simulateLoadingPhase.
I moved some tests for TransitiveTargetFunction to the corresponding test
class, where they belong. I also made sure that we have test coverage in the
BuildViewTest for some cases that were previously only tested with TTF. I
dropped some tests which no longer seem applicable / for which we have coverage
elsewhere.
Also, as a drive-by change, I fixed some warnings in BuildViewTestCase.
Note that TTF is only used for genquery and in an experimental code path, but
generally superseded by ConfiguredTargetFunction, which has taken over the
responsibility for loading in all other cases (and interleaves loading and
analysis).
Some of the tests are not externally visible yet.
--
PiperOrigin-RevId: 144813237
MOS_MIGRATED_REVID=144813237
Diffstat (limited to 'third_party/gtest/gtest_main.cc')
0 files changed, 0 insertions, 0 deletions