Home
last modified time | relevance | path

Searched refs:kTestFilename (Results 1 – 4 of 4) sorted by relevance

/third_party/ninja/src/
Dbuild_log_test.cc34 const char kTestFilename[] = "BuildLogTest-tempfile"; variable
39 unlink(kTestFilename); in SetUp()
42 unlink(kTestFilename); in TearDown()
54 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
61 EXPECT_TRUE(log2.Load(kTestFilename, &err)); in TEST_F()
82 EXPECT_TRUE(log.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
86 ASSERT_EQ(0, ReadFile(kTestFilename, &contents, &err)); in TEST_F()
93 EXPECT_TRUE(log.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
98 ASSERT_EQ(0, ReadFile(kTestFilename, &contents, &err)); in TEST_F()
106 FILE* f = fopen(kTestFilename, "wb"); in TEST_F()
[all …]
Ddeps_log_test.cc30 const char kTestFilename[] = "DepsLogTest-tempfile"; variable
35 unlink(kTestFilename); in SetUp()
38 unlink(kTestFilename); in TearDown()
46 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, &err)); in TEST_F()
72 EXPECT_TRUE(log2.Load(kTestFilename, &state2, &err)); in TEST_F()
98 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, &err)); in TEST_F()
118 EXPECT_TRUE(log2.Load(kTestFilename, &state2, &err)); in TEST_F()
133 EXPECT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
143 ASSERT_EQ(0, stat(kTestFilename, &st)); in TEST_F()
153 EXPECT_TRUE(log.Load(kTestFilename, &state, &err)); in TEST_F()
[all …]
Dbuild_log_perftest.cc31 const char kTestFilename[] = "BuildLogPerfTest-tempfile"; variable
41 if (!log.OpenForWrite(kTestFilename, no_dead_paths, err)) in WriteTestData()
115 if (log.Load(kTestFilename, &err) == LOAD_ERROR) { in main()
124 if (log.Load(kTestFilename, &err) == LOAD_ERROR) { in main()
147 unlink(kTestFilename); in main()
Dclean_test.cc29 const char kTestFilename[] = "CleanTest-tempfile"; variable
472 unlink(kTestFilename); in SetUp()
476 unlink(kTestFilename); in TearDown()
498 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
505 EXPECT_TRUE(log2.Load(kTestFilename, &err)); in TEST_F()
561 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
568 EXPECT_TRUE(log2.Load(kTestFilename, &err)); in TEST_F()