• Home
  • Raw
  • Download

Lines Matching full:stat

54     EXPECT_EQ(0, disk_.Stat("nosuchfile", &err));  in TEST_F()
59 EXPECT_EQ(0, disk_.Stat("nosuchdir/nosuchfile", &err)); in TEST_F()
65 EXPECT_EQ(0, disk_.Stat("notadir/nosuchfile", &err)); in TEST_F()
73 // On Windows, the errno for FindFirstFileExA, which is used when the stat in TEST_F()
76 EXPECT_EQ(0, disk_.Stat("notadir/nosuchfile", &err)); in TEST_F()
84 EXPECT_EQ(-1, disk_.Stat(bad_path, &err)); in TEST_F()
88 EXPECT_EQ(-1, disk_.Stat(too_long_name, &err)); in TEST_F()
96 EXPECT_GT(disk_.Stat("file", &err), 1); in TEST_F()
112 EXPECT_GT(disk_.Stat(disk_.AreLongPathsEnabled() ? in TEST_F()
122 EXPECT_GT(disk_.Stat("..", &err), 1); in TEST_F()
124 EXPECT_GT(disk_.Stat(".", &err), 1); in TEST_F()
126 EXPECT_GT(disk_.Stat("subdir", &err), 1); in TEST_F()
128 EXPECT_GT(disk_.Stat("subdir/subsubdir", &err), 1); in TEST_F()
131 EXPECT_EQ(disk_.Stat("subdir", &err), in TEST_F()
132 disk_.Stat("subdir/.", &err)); in TEST_F()
133 EXPECT_EQ(disk_.Stat("subdir", &err), in TEST_F()
134 disk_.Stat("subdir/subsubdir/..", &err)); in TEST_F()
135 EXPECT_EQ(disk_.Stat("subdir/subsubdir", &err), in TEST_F()
136 disk_.Stat("subdir/subsubdir/.", &err)); in TEST_F()
152 TimeStamp parent_stat_uncached = disk_.Stat("..", &err); in TEST_F()
155 EXPECT_GT(disk_.Stat("FIle1", &err), 1); in TEST_F()
157 EXPECT_GT(disk_.Stat("file1", &err), 1); in TEST_F()
160 EXPECT_GT(disk_.Stat("subdir/subfile2", &err), 1); in TEST_F()
162 EXPECT_GT(disk_.Stat("sUbdir\\suBFile1", &err), 1); in TEST_F()
165 EXPECT_GT(disk_.Stat("..", &err), 1); in TEST_F()
167 EXPECT_GT(disk_.Stat(".", &err), 1); in TEST_F()
169 EXPECT_GT(disk_.Stat("subdir", &err), 1); in TEST_F()
171 EXPECT_GT(disk_.Stat("subdir/subsubdir", &err), 1); in TEST_F()
175 EXPECT_EQ(disk_.Stat("subdir", &err), in TEST_F()
176 disk_.Stat("subdir/.", &err)); in TEST_F()
178 EXPECT_EQ(disk_.Stat("subdir", &err), in TEST_F()
179 disk_.Stat("subdir/subsubdir/..", &err)); in TEST_F()
182 EXPECT_EQ(disk_.Stat("..", &err), parent_stat_uncached); in TEST_F()
184 EXPECT_EQ(disk_.Stat("subdir/subsubdir", &err), in TEST_F()
185 disk_.Stat("subdir/subsubdir/.", &err)); in TEST_F()
190 EXPECT_EQ(-1, disk_.Stat(bad_path, &err)); in TEST_F()
192 EXPECT_EQ(-1, disk_.Stat(bad_path, &err)); in TEST_F()
194 EXPECT_EQ(0, disk_.Stat("nosuchfile", &err)); in TEST_F()
196 EXPECT_EQ(0, disk_.Stat("nosuchdir/nosuchfile", &err)); in TEST_F()
265 virtual TimeStamp Stat(const string& path, string* err) const;
288 TimeStamp StatTest::Stat(const string& path, string* err) const { in Stat() function in __anon9d04f1280111::StatTest
302 EXPECT_TRUE(out->Stat(this, &err)); in TEST_F()
318 EXPECT_TRUE(out->Stat(this, &err)); in TEST_F()
338 EXPECT_TRUE(out->Stat(this, &err)); in TEST_F()
359 EXPECT_TRUE(out->Stat(this, &err)); in TEST_F()