Mark Mentovai
c9db1b1d19
Add MinidumpSimpleStringDictionaryWriter and its test.
...
TEST=minidump_test MinidumpSimpleStringDictionaryWriter.*
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/656173003
2014-10-16 18:09:18 -04:00
Mark Mentovai
c182be95a2
Rename minidump_test_util.* to minidump_file_writer_test_util.*.
...
This is in line with the other new minidump_*_test_util files, namely,
the “context” and “memory” ones. minidump_file_writer_test_util.*
provides VerifyMinidumpHeader(), which is used to validate the
MINIDUMP_HEADER at the beginning of a minidump file, as written by
MinidumpFileWriter.
TEST=minidump_test
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/643643003
2014-10-09 17:07:59 -04:00
Mark Mentovai
b8684a8a3c
Add MinidumpThreadWriter, MinidumpThreadListWriter, and their test.
...
TEST=minidump_test MinidumpThreadWriter*
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/637503006
2014-10-09 15:31:29 -04:00
Mark Mentovai
9d115e2391
Add MinidumpExceptionWriter and its test.
...
TEST=minidump_test MinidumpExceptionWriter*
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/639573002
2014-10-09 15:13:13 -04:00
Mark Mentovai
9c76cc60db
Pull test utilities from MinidumpMemoryWriter’s test out into their own file.
...
These utilities are also useful to MinidumpThreadWriter’s test.
TEST=minidump_test MinidumpMemoryWriter.*
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/639513002
2014-10-07 17:58:43 -04:00
Mark Mentovai
e74a272ab5
Add MinidumpContextWriter test.
...
TEST=minidump_test MinidumpContextWriter.*
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/628153004
2014-10-07 17:27:11 -04:00
Mark Mentovai
cb2288d174
Add MinidumpContext (X86 and AMD64 variants) and their writers.
...
These are fairly simple classes and it’s not valuable to test them
individually. They will be tested as part of MinidumpThreadWriter and
MinidumpExceptionWriter.
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/593583004
2014-09-24 13:34:45 -04:00
Mark Mentovai
7090b209ad
Use the gtest_main target for test executables.
...
There’s no need to build a separate copy of gtest_main.cc for each test
executable.
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/465363004
2014-08-13 15:28:59 -07:00
Mark Mentovai
0ba9d2b065
Add MinidumpModuleWriter, MinidumpModuleListWriter, related classes, and
...
their test.
TEST=minidump_test MinidumpModuleTest
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/460933004
2014-08-13 15:26:21 -07:00
Mark Mentovai
3b2c6d32f4
Add MinidumpMemoryWriter, MinidumpMemoryListWriter, and their test.
...
TEST=minidump_test MinidumpMemoryWriter
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/459973002
2014-08-12 10:26:40 -07:00
Mark Mentovai
c73a97d4e3
Add MinidumpMiscInfoWriter and its test.
...
TEST=minidump_test MinidumpMiscInfoWriter
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/454073002
2014-08-11 11:42:12 -07:00
Mark Mentovai
aa3adf2c5b
Add MinidumpSystemInfoWriter and its test.
...
TEST=minidump_test MinidumpSystemInfoWriter
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/435243002
2014-08-07 14:58:26 -04:00
Mark Mentovai
859560f70d
Add MinidumpFileWriter and its test.
...
MinidumpFileWriter writes the top-level object to a minidump file. This
consists of a MINIDUMP_HEADER and a list of MINIDUMP_DIRECTORY entries
that point to streams, which are second-level objects in minidump files.
This change also adds the base class for stream writers,
MinidumpStreamWriter.
TEST=minidump_test MinidumpFileWriter*
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/432863006
2014-08-03 18:47:34 -04:00
Mark Mentovai
d2675ce50b
Introduce MinidumpStringWriter and its test.
...
MinidumpStringWriter is responsible for writing variable-length UTF-16
(MINIDUMP_STRING) and UTF-8 (MinidumpUTF8String) strings to minidump
files.
This change depends on https://codereview.chromium.org/430003003/ and
https://codereview.chromium.org/435013002/ .
TEST=minidump_test MinidumpStringWriter.*
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/431363002
2014-08-01 14:44:57 -04:00
Mark Mentovai
5ba343ccf1
Add minidump_extensions.h, which defines Crashpad/Breakpad extensions to
...
the standard minidump format defined in dbghelp.h.
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/435013002
2014-08-01 14:37:20 -04:00
Mark Mentovai
995012534e
Introduce MinidumpWritable, its dependencies, and their tests.
...
MinidumpWritable is the base class for all minidump-writing operations.
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/432003005
2014-08-01 12:48:28 -04:00