Ninja
|
Go to the source code of this file.
Classes | |
struct | CleanTest |
Functions | |
TEST_F (CleanTest, CleanAll) | |
TEST_F (CleanTest, CleanAllDryRun) | |
TEST_F (CleanTest, CleanTarget) | |
TEST_F (CleanTest, CleanTargetDryRun) | |
TEST_F (CleanTest, CleanRule) | |
TEST_F (CleanTest, CleanRuleDryRun) | |
TEST_F (CleanTest, CleanRuleGenerator) | |
TEST_F (CleanTest, CleanDepFile) | |
TEST_F (CleanTest, CleanDepFileOnCleanTarget) | |
TEST_F (CleanTest, CleanDepFileOnCleanRule) | |
TEST_F (CleanTest, CleanRspFile) | |
TEST_F (CleanTest, CleanRsp) | |
TEST_F (CleanTest, CleanFailure) | |
TEST_F (CleanTest, CleanPhony) | |
TEST_F (CleanTest, CleanDepFileAndRspFileWithSpaces) | |
TEST_F | ( | CleanTest | , |
CleanAll | |||
) |
Definition at line 28 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), Cleaner::cleaned_files_count(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanAllDryRun | |||
) |
Definition at line 58 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), Cleaner::cleaned_files_count(), CleanTest::config_, VirtualFileSystem::Create(), BuildConfig::dry_run, VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanTarget | |||
) |
Definition at line 89 of file clean_test.cc.
References AssertParse(), Cleaner::cleaned_files_count(), Cleaner::CleanTarget(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanTargetDryRun | |||
) |
Definition at line 119 of file clean_test.cc.
References AssertParse(), Cleaner::cleaned_files_count(), Cleaner::CleanTarget(), CleanTest::config_, VirtualFileSystem::Create(), BuildConfig::dry_run, VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanRule | |||
) |
Definition at line 150 of file clean_test.cc.
References AssertParse(), Cleaner::cleaned_files_count(), Cleaner::CleanRule(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanRuleDryRun | |||
) |
Definition at line 182 of file clean_test.cc.
References AssertParse(), Cleaner::cleaned_files_count(), Cleaner::CleanRule(), CleanTest::config_, VirtualFileSystem::Create(), BuildConfig::dry_run, VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanRuleGenerator | |||
) |
Definition at line 215 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), Cleaner::cleaned_files_count(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanDepFile | |||
) |
Definition at line 237 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), Cleaner::cleaned_files_count(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanDepFileOnCleanTarget | |||
) |
Definition at line 252 of file clean_test.cc.
References AssertParse(), Cleaner::cleaned_files_count(), Cleaner::CleanTarget(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanDepFileOnCleanRule | |||
) |
Definition at line 267 of file clean_test.cc.
References AssertParse(), Cleaner::cleaned_files_count(), Cleaner::CleanRule(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanRspFile | |||
) |
Definition at line 282 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), Cleaner::cleaned_files_count(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanRsp | |||
) |
Definition at line 299 of file clean_test.cc.
References AssertParse(), Cleaner::cleaned_files_count(), Cleaner::CleanRule(), Cleaner::CleanTarget(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanFailure | |||
) |
Definition at line 339 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), CleanTest::config_, CleanTest::fs_, VirtualFileSystem::MakeDir(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanPhony | |||
) |
Definition at line 347 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), Cleaner::cleaned_files_count(), Cleaner::CleanTarget(), CleanTest::config_, VirtualFileSystem::Create(), CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.
TEST_F | ( | CleanTest | , |
CleanDepFileAndRspFileWithSpaces | |||
) |
Definition at line 372 of file clean_test.cc.
References AssertParse(), Cleaner::CleanAll(), Cleaner::cleaned_files_count(), CleanTest::config_, VirtualFileSystem::Create(), VirtualFileSystem::files_removed_, CleanTest::fs_, VirtualFileSystem::Stat(), and StateTestWithBuiltinRules::state_.