Definition at line 1267 of file build_test.cc.
◆ BuildWithLogTest()
| BuildWithLogTest::BuildWithLogTest |
( |
| ) |
|
|
inline |
◆ AddAssertionFailure()
| void testing::Test::AddAssertionFailure |
( |
| ) |
|
|
inlineinherited |
◆ AddCatRule()
| void StateTestWithBuiltinRules::AddCatRule |
( |
State * |
state | ) |
|
|
inherited |
Add a "cat" rule to state.
Used by some tests; it's otherwise done by the ctor to state_.
Definition at line 89 of file test.cc.
References AssertParse().
◆ AssertionFailures()
| int testing::Test::AssertionFailures |
( |
| ) |
const |
|
inlineinherited |
◆ Check()
| bool testing::Test::Check |
( |
bool |
condition, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
error |
|
) |
| |
|
inherited |
◆ Dirty()
| void BuildTest::Dirty |
( |
const string & |
path | ) |
|
|
inherited |
◆ Failed()
| bool testing::Test::Failed |
( |
| ) |
const |
|
inlineinherited |
◆ GetNode()
| Node * StateTestWithBuiltinRules::GetNode |
( |
const std::string & |
path | ) |
|
|
inherited |
◆ IsPathDead()
| virtual bool BuildTest::IsPathDead |
( |
StringPiece |
s | ) |
const |
|
inlinevirtualinherited |
Return if a given output is no longer part of the build manifest.
This is only called during recompaction and doesn't have to be fast.
Implements BuildLogUser.
Definition at line 515 of file build_test.cc.
◆ MakeConfig()
◆ RebuildTarget()
| void BuildTest::RebuildTarget |
( |
const string & |
target, |
|
|
const char * |
manifest, |
|
|
const char * |
log_path = NULL, |
|
|
const char * |
deps_path = NULL, |
|
|
State * |
state = NULL |
|
) |
| |
|
inherited |
Rebuild target in the 'working tree' (fs_).
State of command_runner_ and logs contents (if specified) ARE MODIFIED. Handy to check for NOOP builds, and higher-level rebuild tests.
Definition at line 541 of file build_test.cc.
References Builder::AddTarget(), Builder::AlreadyUpToDate(), ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, ASSERT_TRUE, AssertParse(), Builder::Build(), Builder::command_runner_, EXPECT_TRUE, BuildLog::Load(), DepsLog::Load(), BuildLog::OpenForWrite(), and DepsLog::OpenForWrite().
◆ Run()
| virtual void testing::Test::Run |
( |
| ) |
|
|
pure virtualinherited |
◆ SetUp()
| virtual void BuildTest::SetUp |
( |
| ) |
|
|
inlinevirtualinherited |
◆ TearDown()
| virtual void testing::Test::TearDown |
( |
| ) |
|
|
inlinevirtualinherited |
◆ build_log_
◆ builder_
◆ command_runner_
◆ config_
◆ fs_
◆ state_
| State StateTestWithBuiltinRules::state_ |
|
inherited |
◆ status_
The documentation for this struct was generated from the following file: