|
Ninja
|

Public Member Functions | |
| void | AddCatRule (State *state) |
| Add a "cat" rule to state. | |
| Node * | GetNode (const std::string &path) |
| Short way to get a Node by its path from state_. | |
| GraphTest () | |
Public Attributes | |
| VirtualFileSystem | fs_ |
| DependencyScan | scan_ |
| State | state_ |
Definition at line 23 of file graph_test.cc.
|
inline |
Definition at line 24 of file graph_test.cc.
References fs_, scan_, and StateTestWithBuiltinRules::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().
Referenced by BuildTest::RebuildTarget(), and StateTestWithBuiltinRules().
|
inherited |
Short way to get a Node by its path from state_.
Definition at line 95 of file test.cc.
References state_.
Referenced by BuildTest::Dirty(), PlanTest::PrepareForTarget(), TestPhonyUseCase(), and PlanTest::TestPoolWithDepthOne().
| VirtualFileSystem GraphTest::fs_ |
Definition at line 26 of file graph_test.cc.
Referenced by GraphTest().
| DependencyScan GraphTest::scan_ |
Definition at line 27 of file graph_test.cc.
Referenced by GraphTest().
|
inherited |
Definition at line 40 of file test.h.
Referenced by BuildTest::BuildTest(), BuildTest::BuildTest(), GetNode(), GraphTest::GraphTest(), BuildTest::SetUp(), StateTestWithBuiltinRules(), TestPhonyUseCase(), and PlanTest::TestPoolWithDepthOne().