Lines Matching refs:ProcessUtilTest
149 class ProcessUtilTest : public MultiProcessTest { class
168 std::string ProcessUtilTest::GetSignalFilePath(const char* filename) { in GetSignalFilePath()
184 TEST_F(ProcessUtilTest, SpawnChild) { in TEST_F() argument
193 WaitToDie(ProcessUtilTest::GetSignalFilePath(kSignalFileSlow).c_str()); in MULTIPROCESS_TEST_MAIN()
197 TEST_F(ProcessUtilTest, KillSlowChild) { in TEST_F() argument
199 ProcessUtilTest::GetSignalFilePath(kSignalFileSlow); in TEST_F()
211 TEST_F(ProcessUtilTest, DISABLED_GetTerminationStatusExit) { in TEST_F() argument
213 ProcessUtilTest::GetSignalFilePath(kSignalFileSlow); in TEST_F()
238 WaitToDie(ProcessUtilTest::GetSignalFilePath(kDataDirHasStaged).c_str()); in MULTIPROCESS_TEST_MAIN()
243 TEST_F(ProcessUtilTest, HandleTransfersOverrideClones) { in TEST_F() argument
245 ProcessUtilTest::GetSignalFilePath(kDataDirHasStaged); in TEST_F()
288 WaitToDie(ProcessUtilTest::GetSignalFilePath(kFooDirHasStaged).c_str()); in MULTIPROCESS_TEST_MAIN()
293 TEST_F(ProcessUtilTest, TransferHandleToPath) { in TEST_F() argument
295 ProcessUtilTest::GetSignalFilePath(kFooDirHasStaged); in TEST_F()
342 WaitToDie(ProcessUtilTest::GetSignalFilePath(kSignalFileClone).c_str()); in MULTIPROCESS_TEST_MAIN()
346 TEST_F(ProcessUtilTest, CloneTmp) { in TEST_F() argument
348 ProcessUtilTest::GetSignalFilePath(kSignalFileClone); in TEST_F()
370 ProcessUtilTest::GetSignalFilePath(kFooDirDoesNotHaveStaged).c_str()); in MULTIPROCESS_TEST_MAIN()
374 TEST_F(ProcessUtilTest, TransferInvalidHandleFails) { in TEST_F() argument
383 ProcessUtilTest::GetSignalFilePath(kFooDirDoesNotHaveStaged); in TEST_F()
390 TEST_F(ProcessUtilTest, CloneInvalidDirFails) { in TEST_F() argument
392 ProcessUtilTest::GetSignalFilePath(kSignalFileClone); in TEST_F()
407 TEST_F(ProcessUtilTest, CloneAlternateDir) { in TEST_F() argument
409 ProcessUtilTest::GetSignalFilePath(kSignalFileClone); in TEST_F()
427 TEST_F(ProcessUtilTest, HandlesToTransferClosedOnSpawnFailure) { in TEST_F() argument
451 TEST_F(ProcessUtilTest, HandlesToTransferClosedOnBadPathToMapFailure) { in TEST_F() argument
497 TEST_F(ProcessUtilTest, CurrentDirectory) { in TEST_F() argument
517 TEST_F(ProcessUtilTest, GetProcId) { in TEST_F() argument
543 WaitToDie(ProcessUtilTest::GetSignalFilePath(kSignalFileCrash).c_str()); in MULTIPROCESS_TEST_MAIN()
564 TEST_F(ProcessUtilTest, MAYBE_GetTerminationStatusCrash) { in TEST_F() argument
566 ProcessUtilTest::GetSignalFilePath(kSignalFileCrash); in TEST_F()
598 WaitToDie(ProcessUtilTest::GetSignalFilePath(kSignalFileKill).c_str()); in MULTIPROCESS_TEST_MAIN()
614 WaitToDie(ProcessUtilTest::GetSignalFilePath(kSignalFileTerm).c_str()); in MULTIPROCESS_TEST_MAIN()
628 TEST_F(ProcessUtilTest, MAYBE_GetTerminationStatusSigKill) { in TEST_F() argument
630 ProcessUtilTest::GetSignalFilePath(kSignalFileKill); in TEST_F()
665 TEST_F(ProcessUtilTest, GetTerminationStatusSigTerm) { in TEST_F() argument
667 ProcessUtilTest::GetSignalFilePath(kSignalFileTerm); in TEST_F()
691 TEST_F(ProcessUtilTest, EnsureTerminationUndying) { in TEST_F() argument
724 TEST_F(ProcessUtilTest, EnsureTerminationGracefulExit) { in TEST_F() argument
747 TEST_F(ProcessUtilTest, LaunchAsUser) { in TEST_F() argument
775 TEST_F(ProcessUtilTest, InheritSpecifiedHandles) { in TEST_F() argument
799 TEST_F(ProcessUtilTest, GetAppOutput) { in TEST_F() argument
819 TEST_F(ProcessUtilTest, GetAppOutputWithExitCode) { in TEST_F() argument
970 int ProcessUtilTest::CountOpenFDsInChild() { in CountOpenFDsInChild()
1011 TEST_F(ProcessUtilTest, MAYBE_FDRemapping) { in TEST_F() argument
1046 TEST_F(ProcessUtilTest, FDRemappingIncludesStdio) { in TEST_F() argument
1114 TEST_F(ProcessUtilTest, LaunchWithHandleTransfer) { in TEST_F() argument
1195 TEST_F(ProcessUtilTest, LaunchProcess) { in TEST_F() argument
1246 TEST_F(ProcessUtilTest, GetParentProcessId) { in TEST_F() argument
1267 TEST_F(ProcessUtilTest, PreExecHook) { in TEST_F() argument
1304 TEST_F(ProcessUtilTest, CloneFlags) { in TEST_F() argument
1344 TEST_F(ProcessUtilTest, InvalidCurrentDirectory) { in TEST_F() argument