#include "minidump/minidump_exception_writer.h"
#include <iterator>
#include <string>
#include <utility>
#include "gtest/gtest.h"
#include "minidump/minidump_context.h"
#include "minidump/minidump_context_writer.h"
#include "minidump/minidump_extensions.h"
#include "minidump/minidump_file_writer.h"
#include "minidump/test/minidump_context_test_util.h"
#include "minidump/test/minidump_file_writer_test_util.h"
#include "minidump/test/minidump_writable_test_util.h"
#include "snapshot/test/test_cpu_context.h"
#include "snapshot/test/test_exception_snapshot.h"
#include "test/gtest_death.h"
#include "util/file/string_file.h"
namespace crashpad {
namespace test {
namespace {
void GetExceptionStream(const std::string& file_contents,
const MINIDUMP_EXCEPTION_STREAM** exception_stream) { … }
void ExpectExceptionStream(const MINIDUMP_EXCEPTION_STREAM* expected,
const MINIDUMP_EXCEPTION_STREAM* observed,
const std::string& file_contents,
const MinidumpContextX86** context) { … }
TEST(MinidumpExceptionWriter, Minimal) { … }
TEST(MinidumpExceptionWriter, Standard) { … }
TEST(MinidumpExceptionWriter, InitializeFromSnapshot) { … }
TEST(MinidumpExceptionWriterDeathTest, NoContext) { … }
TEST(MinidumpExceptionWriterDeathTest, TooMuchInformation) { … }
}
}
}