Lines Matching refs:minidump
87 Minidump minidump(minidump_file_); in TEST_F() local
88 ASSERT_EQ(minidump.path(), minidump_file_); in TEST_F()
89 ASSERT_TRUE(minidump.Read()); in TEST_F()
90 const MDRawHeader* header = minidump.header(); in TEST_F()
113 Minidump minidump(stream); in TEST_F() local
114 ASSERT_EQ(minidump.path(), ""); in TEST_F()
115 ASSERT_TRUE(minidump.Read()); in TEST_F()
116 const MDRawHeader* header = minidump.header(); in TEST_F()
128 Minidump minidump(stream); in TEST() local
129 ASSERT_TRUE(minidump.Read()); in TEST()
130 ASSERT_EQ(0U, minidump.GetDirectoryEntryCount()); in TEST()
139 Minidump minidump(stream); in TEST() local
140 ASSERT_TRUE(minidump.Read()); in TEST()
141 ASSERT_EQ(0U, minidump.GetDirectoryEntryCount()); in TEST()
154 Minidump minidump(minidump_stream); in TEST() local
155 ASSERT_TRUE(minidump.Read()); in TEST()
156 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
158 const MDRawDirectory *dir = minidump.GetDirectoryEntryAtIndex(0); in TEST()
163 ASSERT_TRUE(minidump.SeekToStreamType(0xfbb7fa2bU, &stream_length)); in TEST()
166 ASSERT_TRUE(minidump.ReadBytes(stream_contents, sizeof(stream_contents))); in TEST()
170 EXPECT_FALSE(minidump.GetThreadList()); in TEST()
171 EXPECT_FALSE(minidump.GetModuleList()); in TEST()
172 EXPECT_FALSE(minidump.GetMemoryList()); in TEST()
173 EXPECT_FALSE(minidump.GetException()); in TEST()
174 EXPECT_FALSE(minidump.GetAssertion()); in TEST()
175 EXPECT_FALSE(minidump.GetSystemInfo()); in TEST()
176 EXPECT_FALSE(minidump.GetMiscInfo()); in TEST()
177 EXPECT_FALSE(minidump.GetBreakpadInfo()); in TEST()
190 Minidump minidump(minidump_stream); in TEST() local
191 ASSERT_TRUE(minidump.Read()); in TEST()
192 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
194 const MDRawDirectory *dir = minidump.GetDirectoryEntryAtIndex(0); in TEST()
198 MinidumpMemoryList *memory_list = minidump.GetMemoryList(); in TEST()
244 Minidump minidump(minidump_stream); in TEST() local
245 ASSERT_TRUE(minidump.Read()); in TEST()
246 ASSERT_EQ(2U, minidump.GetDirectoryEntryCount()); in TEST()
248 MinidumpMemoryList *md_memory_list = minidump.GetMemoryList(); in TEST()
258 MinidumpThreadList *thread_list = minidump.GetThreadList(); in TEST()
323 Minidump minidump(minidump_stream); in TEST() local
324 ASSERT_TRUE(minidump.Read()); in TEST()
325 ASSERT_EQ(2U, minidump.GetDirectoryEntryCount()); in TEST()
328 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST()
366 Minidump minidump(minidump_stream); in TEST() local
367 ASSERT_TRUE(minidump.Read()); in TEST()
368 ASSERT_EQ(2U, minidump.GetDirectoryEntryCount()); in TEST()
371 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST()
421 Minidump minidump(minidump_stream); in TEST() local
422 ASSERT_TRUE(minidump.Read()); in TEST()
423 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
425 const MDRawDirectory *dir = minidump.GetDirectoryEntryAtIndex(0); in TEST()
429 MinidumpModuleList *md_module_list = minidump.GetModuleList(); in TEST()
459 Minidump minidump(minidump_stream); in TEST() local
460 ASSERT_TRUE(minidump.Read()); in TEST()
461 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
463 const MDRawDirectory *dir = minidump.GetDirectoryEntryAtIndex(0); in TEST()
467 MinidumpSystemInfo *md_system_info = minidump.GetSystemInfo(); in TEST()
571 Minidump minidump(minidump_stream); in TEST() local
572 ASSERT_TRUE(minidump.Read()); in TEST()
573 ASSERT_EQ(4U, minidump.GetDirectoryEntryCount()); in TEST()
576 MinidumpThreadList *thread_list = minidump.GetThreadList(); in TEST()
621 MinidumpModuleList *md_module_list = minidump.GetModuleList(); in TEST()
662 Minidump minidump(minidump_stream); in TEST() local
663 ASSERT_TRUE(minidump.Read()); in TEST()
664 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
666 const MDRawDirectory *dir = minidump.GetDirectoryEntryAtIndex(0); in TEST()
670 MinidumpMemoryInfoList *info_list = minidump.GetMemoryInfoList(); in TEST()
720 Minidump minidump(minidump_stream); in TEST() local
721 ASSERT_TRUE(minidump.Read()); in TEST()
722 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
724 MinidumpException *md_exception = minidump.GetException(); in TEST()
794 Minidump minidump(minidump_stream); in TEST() local
795 ASSERT_TRUE(minidump.Read()); in TEST()
796 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
798 MinidumpException *md_exception = minidump.GetException(); in TEST()
879 Minidump minidump(minidump_stream); in TEST() local
880 ASSERT_TRUE(minidump.Read()); in TEST()
881 ASSERT_EQ(2U, minidump.GetDirectoryEntryCount()); in TEST()
883 MinidumpException *md_exception = minidump.GetException(); in TEST()
961 Minidump minidump(minidump_stream); in TEST() local
962 ASSERT_TRUE(minidump.Read()); in TEST()
963 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
965 MinidumpException *md_exception = minidump.GetException(); in TEST()
1024 Minidump minidump(minidump_stream); in TEST() local
1025 ASSERT_TRUE(minidump.Read()); in TEST()
1026 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
1028 MinidumpException *md_exception = minidump.GetException(); in TEST()
1108 Minidump minidump(minidump_stream); in TEST() local
1109 ASSERT_TRUE(minidump.Read()); in TEST()
1110 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
1112 MinidumpException *md_exception = minidump.GetException(); in TEST()
1207 Minidump minidump(minidump_stream); in TEST() local
1208 ASSERT_TRUE(minidump.Read()); in TEST()
1209 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount()); in TEST()
1211 MinidumpException *md_exception = minidump.GetException(); in TEST()