Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1345)

Unified Diff: base/process/process_util_unittest.cc

Issue 2692273008: Hacky slashy (Closed)
Patch Set: rebase on config CL, and minor fixes Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process/process_metrics_posix.cc ('k') | base/sys_info_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_util_unittest.cc
diff --git a/base/process/process_util_unittest.cc b/base/process/process_util_unittest.cc
index 3f28b89b82743b76da71273edad2f127f553480d..2ce167419220cddaa5ba67c0fa3a51918509a4c6 100644
--- a/base/process/process_util_unittest.cc
+++ b/base/process/process_util_unittest.cc
@@ -858,11 +858,13 @@ TEST_F(ProcessUtilTest, GetAppOutputWithExitCode) {
EXPECT_EQ(exit_code, 2);
}
+#if !defined(OS_FUCHSIA)
TEST_F(ProcessUtilTest, GetParentProcessId) {
base::ProcessId ppid =
base::GetParentProcessId(base::GetCurrentProcessHandle());
EXPECT_EQ(ppid, getppid());
}
+#endif // OS_FUCHSIA
// TODO(port): port those unit tests.
bool IsProcessDead(base::ProcessHandle child) {
« no previous file with comments | « base/process/process_metrics_posix.cc ('k') | base/sys_info_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698