|
Ninja
|
Tests of builds involving deps logs necessarily must span multiple builds. More...

Public Member Functions | |
| void | AddCatRule (State *state) |
| Add a "cat" rule to state. | |
| BuildWithDepsLogTest () | |
| void | Dirty (const string &path) |
| Node * | GetNode (const string &path) |
| Short way to get a Node by its path from state_. | |
| BuildConfig | MakeConfig () |
| virtual void | SetUp () |
| virtual void | TearDown () |
Public Attributes | |
| void * | builder_ |
| Shadow parent class builder_ so we don't accidentally use it. | |
| FakeCommandRunner | command_runner_ |
| BuildConfig | config_ |
| VirtualFileSystem | fs_ |
| State | state_ |
| BuildStatus | status_ |
| ScopedTempDir | temp_dir_ |
Tests of builds involving deps logs necessarily must span multiple builds.
We reuse methods on BuildTest but not the builder_ it sets up, because we want pristine objects for each build.
Definition at line 1420 of file build_test.cc.
| BuildWithDepsLogTest::BuildWithDepsLogTest | ( | ) | [inline] |
Definition at line 1421 of file build_test.cc.
| 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 80 of file test.cc.
References AssertParse().
Referenced by StateTestWithBuiltinRules::StateTestWithBuiltinRules().
| void BuildTest::Dirty | ( | const string & | path | ) | [inherited] |
Definition at line 517 of file build_test.cc.
References StateTestWithBuiltinRules::GetNode(), Node::in_edge(), Node::MarkDirty(), and Node::MarkMissing().
| Node * StateTestWithBuiltinRules::GetNode | ( | const string & | path | ) | [inherited] |
Short way to get a Node by its path from state_.
Definition at line 86 of file test.cc.
References State::GetNode(), and StateTestWithBuiltinRules::state_.
Referenced by BuildTest::Dirty().
| BuildConfig BuildTest::MakeConfig | ( | ) | [inline, inherited] |
Definition at line 441 of file build_test.cc.
References BuildConfig::QUIET, and BuildConfig::verbosity.
| virtual void BuildWithDepsLogTest::SetUp | ( | ) | [inline, virtual] |
Reimplemented from BuildTest.
Definition at line 1423 of file build_test.cc.
References ScopedTempDir::CreateAndEnter(), and temp_dir_.
| virtual void BuildWithDepsLogTest::TearDown | ( | ) | [inline, virtual] |
Definition at line 1429 of file build_test.cc.
References ScopedTempDir::Cleanup(), and temp_dir_.
Shadow parent class builder_ so we don't accidentally use it.
Reimplemented from BuildTest.
Definition at line 1436 of file build_test.cc.
FakeCommandRunner BuildTest::command_runner_ [inherited] |
Definition at line 448 of file build_test.cc.
Referenced by BuildTest::SetUp().
BuildConfig BuildTest::config_ [inherited] |
Definition at line 447 of file build_test.cc.
Referenced by BuildDryRun::BuildDryRun().
VirtualFileSystem BuildTest::fs_ [inherited] |
Definition at line 449 of file build_test.cc.
Referenced by BuildTest::SetUp().
State StateTestWithBuiltinRules::state_ [inherited] |
Definition at line 40 of file test.h.
Referenced by StateTestWithBuiltinRules::GetNode(), BuildTest::SetUp(), and StateTestWithBuiltinRules::StateTestWithBuiltinRules().
BuildStatus BuildTest::status_ [inherited] |
Definition at line 452 of file build_test.cc.
Definition at line 1433 of file build_test.cc.
Referenced by SetUp(), and TearDown().
1.7.6.1