Index: third_party/crashpad/crashpad/minidump/minidump_system_info_writer_test.cc |
diff --git a/third_party/crashpad/crashpad/minidump/minidump_system_info_writer_test.cc b/third_party/crashpad/crashpad/minidump/minidump_system_info_writer_test.cc |
index 2a869c6b10b254b45fd40d59afa8a22071e8ba54..4f35d3d1bc91e2becef6ec9177b55a586c992666 100644 |
--- a/third_party/crashpad/crashpad/minidump/minidump_system_info_writer_test.cc |
+++ b/third_party/crashpad/crashpad/minidump/minidump_system_info_writer_test.cc |
@@ -82,7 +82,7 @@ TEST(MinidumpSystemInfoWriter, Empty) { |
system_info_writer->SetCSDVersion(std::string()); |
- minidump_file_writer.AddStream(std::move(system_info_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(system_info_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -153,7 +153,7 @@ TEST(MinidumpSystemInfoWriter, X86_Win) { |
system_info_writer->SetCPUX86VersionAndFeatures(kCPUVersion, kCPUFeatures); |
system_info_writer->SetCPUX86AMDExtendedFeatures(kAMDFeatures); |
- minidump_file_writer.AddStream(std::move(system_info_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(system_info_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -213,7 +213,7 @@ TEST(MinidumpSystemInfoWriter, AMD64_Mac) { |
system_info_writer->SetCSDVersion(kCSDVersion); |
system_info_writer->SetCPUOtherFeatures(kCPUFeatures[0], kCPUFeatures[1]); |
- minidump_file_writer.AddStream(std::move(system_info_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(system_info_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -255,7 +255,7 @@ TEST(MinidumpSystemInfoWriter, X86_CPUVendorFromRegisters) { |
kCPUVendor[0], kCPUVendor[1], kCPUVendor[2]); |
system_info_writer->SetCSDVersion(std::string()); |
- minidump_file_writer.AddStream(std::move(system_info_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(system_info_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -335,7 +335,7 @@ TEST(MinidumpSystemInfoWriter, InitializeFromSnapshot_X86) { |
system_info_writer->InitializeFromSnapshot(&system_snapshot); |
MinidumpFileWriter minidump_file_writer; |
- minidump_file_writer.AddStream(std::move(system_info_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(system_info_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -431,7 +431,7 @@ TEST(MinidumpSystemInfoWriter, InitializeFromSnapshot_AMD64) { |
system_info_writer->InitializeFromSnapshot(&system_snapshot); |
MinidumpFileWriter minidump_file_writer; |
- minidump_file_writer.AddStream(std::move(system_info_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(system_info_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -469,7 +469,7 @@ TEST(MinidumpSystemInfoWriter, InitializeFromSnapshot_AMD64) { |
TEST(MinidumpSystemInfoWriterDeathTest, NoCSDVersion) { |
MinidumpFileWriter minidump_file_writer; |
auto system_info_writer = base::WrapUnique(new MinidumpSystemInfoWriter()); |
- minidump_file_writer.AddStream(std::move(system_info_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(system_info_writer))); |
StringFile string_file; |
ASSERT_DEATH_CHECK(minidump_file_writer.WriteEverything(&string_file), |