Mark Mentovai
6e97189d27
Add MinidumpStringListWriter and test.
...
TEST=minidump_test MinidumpStringWriter.*List
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/707003002
2014-11-07 09:57:07 -05:00
Mark Mentovai
38aeadc1c1
minidump: Use forward declarations in more places.
...
TEST=minidump_test
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/679443002
2014-10-23 18:47:27 -04:00
Mark Mentovai
8a6a4c68e4
Refactor minidump test utilities for MinidumpWritable,
...
MinidumpFileWriter, and Minidump*StringWriter.
TEST=minidump_test
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/664283002
2014-10-21 14:15:07 -04:00
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
5d74f120fc
Convert NULL to nullptr.
...
This change was generated mechanically by running:
find . \( -name \*.cc -or -name \*.mm -or -name \*.h \) \
-and -not -path ./third_party/\* -and -not -path ./out/\* \
-exec sed -i '' -E -e 's/(^|[^_])NULL/\1nullptr/g' {} +
Further manual fix-ups were applied to remove casts of nullptr to other
pointer types where possible, to preserve the intentional use of NULL
(as a short form of MACH_PORT_NULL) in exception_port_tool, and to fix
80-column violations.
https://groups.google.com/a/chromium.org/d/topic/chromium-dev/4mijeJHzxLg/discussion
TEST=*_test
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/656703002
2014-10-14 11:10:45 -04:00
Mark Mentovai
6d1af6922f
Don’t use using directives (“using namespace”) in tests.
...
The contents of tests are moved into the namespace
crashpad::test::(anonymous namespace).
https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Namespaces
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/635883002
2014-10-07 17:28:50 -04: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
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