15 #include <gtest/gtest.h>
36 state.
AddIn(edge,
"in1");
37 state.
AddIn(edge,
"in2");
void AddIn(Edge *edge, StringPiece path)
Node * GetNode(StringPiece path)
An edge in the dependency graph; links between Nodes using Rules.
string EvaluateCommand(bool incl_rsp_file=false)
Expand all variables in a command and return it as a string.
Edge * AddEdge(const Rule *rule)
TEST(EditDistanceTest, TestEmpty)
void AddOut(Edge *edge, StringPiece path)
void AddSpecial(StringPiece text)
void AddRule(const Rule *rule)
An invokable build command and associated metadata (description, etc.).
void AddBinding(const string &key, const EvalString &val)
void AddText(StringPiece text)
Global state (file status, loaded rules) for a single run.
A tokenized string that contains variable references.