|
Ninja
|

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, ImplicitOutputParse) | |
| TEST_F (GraphTest, ImplicitOutputMissing) | |
| TEST_F (GraphTest, ImplicitOutputOutOfDate) | |
| TEST_F (GraphTest, ImplicitOutputOnlyParse) | |
| TEST_F (GraphTest, ImplicitOutputOnlyMissing) | |
| TEST_F (GraphTest, ImplicitOutputOnlyOutOfDate) | |
| TEST_F (GraphTest, PathWithCurrentDirectory) | |
| TEST_F (GraphTest, RootNodes) | |
| TEST_F (GraphTest, CollectInputs) | |
| TEST_F (GraphTest, VarInOutPathEscaping) | |
| TEST_F (GraphTest, DepfileWithCanonicalizablePath) | |
| TEST_F (GraphTest, DepfileRemoved) | |
| TEST_F (GraphTest, RuleVariablesInScope) | |
| TEST_F (GraphTest, DepfileOverride) | |
| TEST_F (GraphTest, DepfileOverrideParent) | |
| TEST_F (GraphTest, NestedPhonyPrintsDone) | |
| TEST_F (GraphTest, PhonySelfReferenceError) | |
| TEST_F (GraphTest, DependencyCycle) | |
| TEST_F (GraphTest, CycleInEdgesButNotInNodes1) | |
| TEST_F (GraphTest, CycleInEdgesButNotInNodes2) | |
| TEST_F (GraphTest, CycleInEdgesButNotInNodes3) | |
| TEST_F (GraphTest, CycleInEdgesButNotInNodes4) | |
| TEST_F (GraphTest, CycleWithLengthZeroFromDepfile) | |
| TEST_F (GraphTest, CycleWithLengthOneFromDepfile) | |
| TEST_F (GraphTest, CycleWithLengthOneFromDepfileOneHopAway) | |
| TEST_F (GraphTest, DyndepLoadTrivial) | |
| TEST_F (GraphTest, DyndepLoadImplicit) | |
| TEST_F (GraphTest, DyndepLoadMissingFile) | |
| TEST_F (GraphTest, DyndepLoadMissingEntry) | |
| TEST_F (GraphTest, DyndepLoadExtraEntry) | |
| TEST_F (GraphTest, DyndepLoadOutputWithMultipleRules1) | |
| TEST_F (GraphTest, DyndepLoadOutputWithMultipleRules2) | |
| TEST_F (GraphTest, DyndepLoadMultiple) | |
| TEST_F (GraphTest, DyndepFileMissing) | |
| TEST_F (GraphTest, DyndepFileError) | |
| TEST_F (GraphTest, DyndepImplicitInputNewer) | |
| TEST_F (GraphTest, DyndepFileReady) | |
| TEST_F (GraphTest, DyndepFileNotClean) | |
| TEST_F (GraphTest, DyndepFileNotReady) | |
| TEST_F (GraphTest, DyndepFileSecondNotReady) | |
| TEST_F (GraphTest, DyndepFileCircular) | |
| TEST_F (GraphTest, Validation) | |
| TEST_F (GraphTest, PhonyDepsMtimes) | |
| TEST_F | ( | GraphTest | , |
| MissingImplicit | |||
| ) |
Definition at line 29 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| ModifiedImplicit | |||
| ) |
Definition at line 45 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| FunkyMakefilePath | |||
| ) |
Definition at line 61 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| ExplicitImplicit | |||
| ) |
Definition at line 82 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| ImplicitOutputParse | |||
| ) |
Definition at line 106 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_EQ, Edge::implicit_outs_, and Edge::outputs_.
| TEST_F | ( | GraphTest | , |
| ImplicitOutputMissing | |||
| ) |
Definition at line 118 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| ImplicitOutputOutOfDate | |||
| ) |
Definition at line 132 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| ImplicitOutputOnlyParse | |||
| ) |
Definition at line 148 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_EQ, Edge::implicit_outs_, and Edge::outputs_.
| TEST_F | ( | GraphTest | , |
| ImplicitOutputOnlyMissing | |||
| ) |
Definition at line 159 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| ImplicitOutputOnlyOutOfDate | |||
| ) |
Definition at line 171 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| PathWithCurrentDirectory | |||
| ) |
Definition at line 185 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| RootNodes | |||
| ) |
Definition at line 202 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_EQ.
| TEST_F | ( | GraphTest | , |
| CollectInputs | |||
| ) |
Definition at line 218 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), Edge::CollectInputs(), and EXPECT_EQ.
| TEST_F | ( | GraphTest | , |
| VarInOutPathEscaping | |||
| ) |
Definition at line 251 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), Edge::EvaluateCommand(), and EXPECT_EQ.
| TEST_F | ( | GraphTest | , |
| DepfileWithCanonicalizablePath | |||
| ) |
Definition at line 266 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| DepfileRemoved | |||
| ) |
Definition at line 284 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| RuleVariablesInScope | |||
| ) |
Definition at line 309 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), Edge::EvaluateCommand(), and EXPECT_EQ.
| TEST_F | ( | GraphTest | , |
| DepfileOverride | |||
| ) |
Definition at line 320 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_EQ, and Edge::GetBinding().
| TEST_F | ( | GraphTest | , |
| DepfileOverrideParent | |||
| ) |
Definition at line 332 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_EQ, and Edge::GetBinding().
| TEST_F | ( | GraphTest | , |
| NestedPhonyPrintsDone | |||
| ) |
Definition at line 344 of file graph_test.cc.
References Plan::AddTarget(), ASSERT_EQ, ASSERT_FALSE, AssertParse(), Plan::command_edge_count(), EXPECT_EQ, EXPECT_TRUE, and Plan::more_to_do().
| TEST_F | ( | GraphTest | , |
| PhonySelfReferenceError | |||
| ) |
Definition at line 361 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_FALSE, kPhonyCycleActionError, and ManifestParserOptions::phony_cycle_action_.
| TEST_F | ( | GraphTest | , |
| DependencyCycle | |||
| ) |
Definition at line 373 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| CycleInEdgesButNotInNodes1 | |||
| ) |
Definition at line 385 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| CycleInEdgesButNotInNodes2 | |||
| ) |
Definition at line 393 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| CycleInEdgesButNotInNodes3 | |||
| ) |
Definition at line 401 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| CycleInEdgesButNotInNodes4 | |||
| ) |
Definition at line 410 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| CycleWithLengthZeroFromDepfile | |||
| ) |
Definition at line 424 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_EQ, EXPECT_FALSE, and Edge::inputs_.
| TEST_F | ( | GraphTest | , |
| CycleWithLengthOneFromDepfile | |||
| ) |
Definition at line 446 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_EQ, EXPECT_FALSE, and Edge::inputs_.
| TEST_F | ( | GraphTest | , |
| CycleWithLengthOneFromDepfileOneHopAway | |||
| ) |
Definition at line 472 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_EQ, EXPECT_FALSE, and Edge::inputs_.
| TEST_F | ( | GraphTest | , |
| DyndepLoadTrivial | |||
| ) |
Definition at line 518 of file graph_test.cc.
References ASSERT_EQ, ASSERT_TRUE, AssertParse(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, Edge::GetBindingBool(), Edge::implicit_deps_, Edge::inputs_, Edge::order_only_deps_, and Edge::outputs_.
| TEST_F | ( | GraphTest | , |
| DyndepLoadImplicit | |||
| ) |
Definition at line 547 of file graph_test.cc.
References ASSERT_EQ, ASSERT_TRUE, AssertParse(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, Edge::GetBindingBool(), Edge::implicit_deps_, Edge::inputs_, Edge::order_only_deps_, and Edge::outputs_.
| TEST_F | ( | GraphTest | , |
| DyndepLoadMissingFile | |||
| ) |
Definition at line 578 of file graph_test.cc.
References ASSERT_TRUE, AssertParse(), EXPECT_EQ, and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| DyndepLoadMissingEntry | |||
| ) |
Definition at line 592 of file graph_test.cc.
References ASSERT_TRUE, AssertParse(), EXPECT_EQ, and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| DyndepLoadExtraEntry | |||
| ) |
Definition at line 609 of file graph_test.cc.
References ASSERT_TRUE, AssertParse(), EXPECT_EQ, and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| DyndepLoadOutputWithMultipleRules1 | |||
| ) |
Definition at line 630 of file graph_test.cc.
References ASSERT_TRUE, AssertParse(), EXPECT_EQ, and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| DyndepLoadOutputWithMultipleRules2 | |||
| ) |
Definition at line 649 of file graph_test.cc.
References ASSERT_TRUE, AssertParse(), EXPECT_EQ, EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| DyndepLoadMultiple | |||
| ) |
Definition at line 676 of file graph_test.cc.
References ASSERT_EQ, ASSERT_TRUE, AssertParse(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, Edge::GetBindingBool(), Edge::implicit_deps_, Edge::implicit_outs_, Edge::inputs_, Edge::order_only_deps_, Node::out_edges(), and Edge::outputs_.
| TEST_F | ( | GraphTest | , |
| DyndepFileMissing | |||
| ) |
Definition at line 732 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| DyndepFileError | |||
| ) |
Definition at line 745 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), and EXPECT_FALSE.
| TEST_F | ( | GraphTest | , |
| DyndepImplicitInputNewer | |||
| ) |
Definition at line 761 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| DyndepFileReady | |||
| ) |
Definition at line 787 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| DyndepFileNotClean | |||
| ) |
Definition at line 816 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| DyndepFileNotReady | |||
| ) |
Definition at line 841 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| DyndepFileSecondNotReady | |||
| ) |
Definition at line 865 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_FALSE, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| DyndepFileCircular | |||
| ) |
Definition at line 895 of file graph_test.cc.
References ASSERT_EQ, AssertParse(), EXPECT_EQ, EXPECT_FALSE, Edge::implicit_deps_, Edge::inputs_, and Edge::order_only_deps_.
| TEST_F | ( | GraphTest | , |
| Validation | |||
| ) |
Definition at line 926 of file graph_test.cc.
References ASSERT_EQ, ASSERT_NO_FATAL_FAILURE, AssertParse(), EXPECT_EQ, and EXPECT_TRUE.
| TEST_F | ( | GraphTest | , |
| PhonyDepsMtimes | |||
| ) |
Definition at line 945 of file graph_test.cc.
References ASSERT_NO_FATAL_FAILURE, ASSERT_TRUE, AssertParse(), Node::dirty(), EXPECT_EQ, EXPECT_GT, EXPECT_TRUE, Node::mtime(), and Node::Stat().
1.8.14