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

Unified Diff: base/process/process_unittest.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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_posix.cc ('k') | base/process/process_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_unittest.cc
diff --git a/base/process/process_unittest.cc b/base/process/process_unittest.cc
index 1a2af5034ddfb6fd41a036061369f745910d580d..4ea7a5efbc7e1fb823f7bbe927f9fa155b97c8e2 100644
--- a/base/process/process_unittest.cc
+++ b/base/process/process_unittest.cc
@@ -68,7 +68,7 @@ TEST_F(ProcessTest, Duplicate) {
Process process2 = process1.Duplicate();
ASSERT_TRUE(process1.IsValid());
ASSERT_TRUE(process2.IsValid());
- EXPECT_EQ(process1.pid(), process2.pid());
+ EXPECT_EQ(process1.Pid(), process2.Pid());
EXPECT_FALSE(process1.is_current());
EXPECT_FALSE(process2.is_current());
@@ -83,7 +83,7 @@ TEST_F(ProcessTest, DuplicateCurrent) {
Process process2 = process1.Duplicate();
ASSERT_TRUE(process1.IsValid());
ASSERT_TRUE(process2.IsValid());
- EXPECT_EQ(process1.pid(), process2.pid());
+ EXPECT_EQ(process1.Pid(), process2.Pid());
EXPECT_TRUE(process1.is_current());
EXPECT_TRUE(process2.is_current());
@@ -98,7 +98,7 @@ TEST_F(ProcessTest, DeprecatedGetProcessFromHandle) {
Process process2 = Process::DeprecatedGetProcessFromHandle(process1.Handle());
ASSERT_TRUE(process1.IsValid());
ASSERT_TRUE(process2.IsValid());
- EXPECT_EQ(process1.pid(), process2.pid());
+ EXPECT_EQ(process1.Pid(), process2.Pid());
EXPECT_FALSE(process1.is_current());
EXPECT_FALSE(process2.is_current());
« no previous file with comments | « base/process/process_posix.cc ('k') | base/process/process_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698