Lines Matching refs:Subprocess
76 Subprocess subprocess_;
99 void ExpectedDataOnPipe(const Subprocess* subprocess, in ExpectedDataOnPipe()
123 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F()
127 std::unique_ptr<Subprocess> another_subprocess(new Subprocess()); in TEST_F()
128 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F()
130 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F()
194 EXPECT_TRUE(Subprocess::SynchronousExecFlags( in TEST_F()
195 {"true"}, Subprocess::kSearchPath, &rc, nullptr)); in TEST_F()
206 ASSERT_TRUE(Subprocess::SynchronousExec(cmd, &rc, &stdout)); in TEST_F()
213 ASSERT_TRUE(Subprocess::SynchronousExec( in TEST_F()
242 uint32_t tag = Subprocess::Get().Exec(cmd, base::Bind(&CallbackBad)); in TEST_F()
257 Subprocess::Get().KillExec(tag); in TEST_F()
265 base::Bind([] { return Subprocess::Get().subprocess_records_.empty(); })); in TEST_F()
266 EXPECT_TRUE(Subprocess::Get().subprocess_records_.empty()); in TEST_F()