|
Ninja
|

Public Member Functions | |
| BuildWithLogTest () | |
| virtual bool | CanRunMore () |
| void | Dirty (const string &path) |
| Node * | GetNode (const string &path) |
| BuildConfig | MakeConfig () |
| virtual bool | StartCommand (Edge *edge) |
| virtual Edge * | WaitForCommand (bool *success, string *output) |
| Wait for a command to complete. | |
Public Attributes | |
| BuildLog | build_log_ |
| Builder | builder_ |
| vector< string > | commands_ran_ |
| BuildConfig | config_ |
| VirtualFileSystem | fs_ |
| Edge * | last_command_ |
| int | now_ |
| State | state_ |
Definition at line 671 of file build_test.cc.
| BuildWithLogTest::BuildWithLogTest | ( | ) | [inline] |
Definition at line 672 of file build_test.cc.
References State::build_log_, build_log_, BuildTest::builder_, Builder::log_, and StateTestWithBuiltinRules::state_.
| bool BuildTest::CanRunMore | ( | ) | [virtual, inherited] |
Implements CommandRunner.
Definition at line 228 of file build_test.cc.
References BuildTest::last_command_.
| void BuildTest::Dirty | ( | const string & | path | ) | [inherited] |
Definition at line 218 of file build_test.cc.
References Node::dirty_, Node::file_, StateTestWithBuiltinRules::GetNode(), Node::in_edge_, and FileStat::mtime_.
| Node * StateTestWithBuiltinRules::GetNode | ( | const string & | path | ) | [inherited] |
Definition at line 25 of file test.cc.
References State::GetNode(), and StateTestWithBuiltinRules::state_.
Referenced by BuildTest::Dirty().
| BuildConfig BuildTest::MakeConfig | ( | ) | [inline, inherited] |
Definition at line 202 of file build_test.cc.
References BuildConfig::QUIET, and BuildConfig::verbosity.
| bool BuildTest::StartCommand | ( | Edge * | edge | ) | [virtual, inherited] |
Implements CommandRunner.
Definition at line 233 of file build_test.cc.
References BuildTest::commands_ran_, VirtualFileSystem::Create(), Edge::EvaluateCommand(), BuildTest::fs_, BuildTest::last_command_, Rule::name_, BuildTest::now_, Edge::outputs_, and Edge::rule_.
| Edge * BuildTest::WaitForCommand | ( | bool * | success, |
| string * | output | ||
| ) | [virtual, inherited] |
Wait for a command to complete.
Implements CommandRunner.
Definition at line 254 of file build_test.cc.
References BuildTest::last_command_.
Definition at line 676 of file build_test.cc.
Referenced by BuildWithLogTest().
Builder BuildTest::builder_ [inherited] |
Definition at line 209 of file build_test.cc.
Referenced by BuildTest::BuildTest(), and BuildWithLogTest().
vector<string> BuildTest::commands_ran_ [inherited] |
Definition at line 214 of file build_test.cc.
Referenced by BuildTest::StartCommand().
BuildConfig BuildTest::config_ [inherited] |
Definition at line 208 of file build_test.cc.
VirtualFileSystem BuildTest::fs_ [inherited] |
Definition at line 212 of file build_test.cc.
Referenced by BuildTest::BuildTest(), and BuildTest::StartCommand().
Edge* BuildTest::last_command_ [inherited] |
Definition at line 215 of file build_test.cc.
Referenced by BuildTest::CanRunMore(), BuildTest::StartCommand(), and BuildTest::WaitForCommand().
int BuildTest::now_ [inherited] |
Definition at line 210 of file build_test.cc.
Referenced by BuildTest::BuildTest(), and BuildTest::StartCommand().
State StateTestWithBuiltinRules::state_ [inherited] |
Definition at line 33 of file test.h.
Referenced by BuildTest::BuildTest(), BuildWithLogTest(), StateTestWithBuiltinRules::GetNode(), and StateTestWithBuiltinRules::StateTestWithBuiltinRules().
1.7.5.1