Searched refs:fake_proc (Results 1 – 1 of 1) sorted by relevance
330 auto fake_proc = base::TempDir::Create(); in TEST_F() local335 sprintf(path, "%s/%d", fake_proc.path().c_str(), pid); in TEST_F()342 EXPECT_CALL(*data_source, OpenProcDir()).WillRepeatedly(Invoke([&fake_proc] { in TEST_F()343 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()410 auto fake_proc = base::TempDir::Create(); in TEST_F() local414 sprintf(path, "%s/%d", fake_proc.path().c_str(), kPid); in TEST_F()419 EXPECT_CALL(*data_source, OpenProcDir()).WillRepeatedly(Invoke([&fake_proc] { in TEST_F()420 return base::ScopedDir(opendir(fake_proc.path().c_str())); in TEST_F()487 auto fake_proc = base::TempDir::Create(); in TEST_F() local489 make_proc_path(fake_proc, kPid); in TEST_F()[all …]