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

Unified Diff: third_party/crashpad/crashpad/util/win/initial_client_data_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/win/initial_client_data_test.cc
diff --git a/third_party/crashpad/crashpad/util/win/initial_client_data_test.cc b/third_party/crashpad/crashpad/util/win/initial_client_data_test.cc
index 5ac7be916135aedfa890a230082f74d1f7ed2fc1..21212494172d58f86b91fbff8d44558f3e704b72 100644
--- a/third_party/crashpad/crashpad/util/win/initial_client_data_test.cc
+++ b/third_party/crashpad/crashpad/util/win/initial_client_data_test.cc
@@ -48,25 +48,24 @@ TEST(InitialClientData, RoundTrip) {
0xccccddddeeeeffffull);
std::string as_string = first.StringRepresentation();
- EXPECT_EQ(
- "0x123,0x456,0x789,0xabc,0xdef,"
- "0x7fff000012345678,0x100000,0xccccddddeeeeffff",
- as_string);
+ EXPECT_EQ(as_string,
+ "0x123,0x456,0x789,0xabc,0xdef,"
+ "0x7fff000012345678,0x100000,0xccccddddeeeeffff");
InitialClientData second;
ASSERT_TRUE(second.InitializeFromString(as_string));
- EXPECT_EQ(first.request_crash_dump(), second.request_crash_dump());
- EXPECT_EQ(first.request_non_crash_dump(), second.request_non_crash_dump());
- EXPECT_EQ(first.non_crash_dump_completed(),
- second.non_crash_dump_completed());
- EXPECT_EQ(first.first_pipe_instance(), second.first_pipe_instance());
- EXPECT_EQ(first.client_process(), second.client_process());
- EXPECT_EQ(first.crash_exception_information(),
- second.crash_exception_information());
- EXPECT_EQ(first.non_crash_exception_information(),
- second.non_crash_exception_information());
- EXPECT_EQ(first.debug_critical_section_address(),
- second.debug_critical_section_address());
+ EXPECT_EQ(second.request_crash_dump(), first.request_crash_dump());
+ EXPECT_EQ(second.request_non_crash_dump(), first.request_non_crash_dump());
+ EXPECT_EQ(second.non_crash_dump_completed(),
+ first.non_crash_dump_completed());
+ EXPECT_EQ(second.first_pipe_instance(), first.first_pipe_instance());
+ EXPECT_EQ(second.client_process(), first.client_process());
+ EXPECT_EQ(second.crash_exception_information(),
+ first.crash_exception_information());
+ EXPECT_EQ(second.non_crash_exception_information(),
+ first.non_crash_exception_information());
+ EXPECT_EQ(second.debug_critical_section_address(),
+ first.debug_critical_section_address());
}
} // namespace
« no previous file with comments | « third_party/crashpad/crashpad/util/win/handle_test.cc ('k') | third_party/crashpad/crashpad/util/win/process_info_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698