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

Unified Diff: third_party/crashpad/crashpad/util/mach/child_port_handshake_test.cc

Issue 2804713002: Update Crashpad to b4095401639ebe2ad33169e5c1d994065cbff1b8 (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/crashpad/crashpad/util/mach/child_port_handshake_test.cc
diff --git a/third_party/crashpad/crashpad/util/mach/child_port_handshake_test.cc b/third_party/crashpad/crashpad/util/mach/child_port_handshake_test.cc
index f77107b53982614c66074238711cb3f372006369..fa7ab0934c31cd5d0ce0c18c367da6bac7fc236a 100644
--- a/third_party/crashpad/crashpad/util/mach/child_port_handshake_test.cc
+++ b/third_party/crashpad/crashpad/util/mach/child_port_handshake_test.cc
@@ -113,12 +113,12 @@ class ChildPortHandshakeTest : public Multiprocess {
case TestType::kClientChecksIn_SendRight:
case TestType::kTokenIncorrectThenCorrect:
- EXPECT_EQ(bootstrap_port, send_right);
+ EXPECT_EQ(send_right, bootstrap_port);
break;
case TestType::kClientChecksIn_SendOnceRight:
EXPECT_TRUE(send_right.is_valid());
- EXPECT_NE(bootstrap_port, send_right);
+ EXPECT_NE(send_right, bootstrap_port);
break;
case TestType::kClientDoesNotCheckIn:
@@ -219,7 +219,7 @@ class ChildPortHandshakeTest : public Multiprocess {
}
case TestType::kServerDies: {
- ASSERT_EQ(ClientProcess::kParentClient, client_process_);
+ ASSERT_EQ(client_process_, ClientProcess::kParentClient);
ASSERT_FALSE(child_port_handshake_.RunClient(bootstrap_port,
MACH_MSG_TYPE_COPY_SEND));
break;

Powered by Google App Engine
This is Rietveld 408576698