Ninja
Classes | Functions
graph_test.cc File Reference
#include "graph.h"
#include "test.h"
Include dependency graph for graph_test.cc:

Go to the source code of this file.

Classes

struct  GraphTest
 

Functions

 TEST_F (GraphTest, MissingImplicit)
 
 TEST_F (GraphTest, ModifiedImplicit)
 
 TEST_F (GraphTest, FunkyMakefilePath)
 
 TEST_F (GraphTest, ExplicitImplicit)
 
 TEST_F (GraphTest, PathWithCurrentDirectory)
 
 TEST_F (GraphTest, RootNodes)
 
 TEST_F (GraphTest, VarInOutQuoteSpaces)
 
 TEST_F (GraphTest, DepfileWithCanonicalizablePath)
 
 TEST_F (GraphTest, DepfileRemoved)
 
 TEST_F (GraphTest, RuleVariablesInScope)
 
 TEST_F (GraphTest, DepfileOverride)
 
 TEST_F (GraphTest, DepfileOverrideParent)
 

Function Documentation

TEST_F ( GraphTest  ,
MissingImplicit   
)

Definition at line 26 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
ModifiedImplicit   
)

Definition at line 43 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
FunkyMakefilePath   
)

Definition at line 60 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
ExplicitImplicit   
)

Definition at line 82 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
PathWithCurrentDirectory   
)

Definition at line 107 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
RootNodes   
)

Definition at line 125 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
VarInOutQuoteSpaces   
)

Definition at line 141 of file graph_test.cc.

References AssertParse(), and Edge::EvaluateCommand().

TEST_F ( GraphTest  ,
DepfileWithCanonicalizablePath   
)

Definition at line 151 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
DepfileRemoved   
)

Definition at line 170 of file graph_test.cc.

References AssertParse().

TEST_F ( GraphTest  ,
RuleVariablesInScope   
)

Definition at line 196 of file graph_test.cc.

References AssertParse(), and Edge::EvaluateCommand().

TEST_F ( GraphTest  ,
DepfileOverride   
)

Definition at line 207 of file graph_test.cc.

References AssertParse(), and Edge::GetBinding().

TEST_F ( GraphTest  ,
DepfileOverrideParent   
)

Definition at line 219 of file graph_test.cc.

References AssertParse(), and Edge::GetBinding().