mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
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
This commit is contained in:
parent
b8684a8a3c
commit
c182be95a2
@ -76,6 +76,8 @@
|
|||||||
'minidump_context_writer_test.cc',
|
'minidump_context_writer_test.cc',
|
||||||
'minidump_exception_writer_test.cc',
|
'minidump_exception_writer_test.cc',
|
||||||
'minidump_file_writer_test.cc',
|
'minidump_file_writer_test.cc',
|
||||||
|
'minidump_file_writer_test_util.cc',
|
||||||
|
'minidump_file_writer_test_util.h',
|
||||||
'minidump_memory_writer_test.cc',
|
'minidump_memory_writer_test.cc',
|
||||||
'minidump_memory_writer_test_util.cc',
|
'minidump_memory_writer_test_util.cc',
|
||||||
'minidump_memory_writer_test_util.h',
|
'minidump_memory_writer_test_util.h',
|
||||||
@ -83,8 +85,6 @@
|
|||||||
'minidump_module_writer_test.cc',
|
'minidump_module_writer_test.cc',
|
||||||
'minidump_string_writer_test.cc',
|
'minidump_string_writer_test.cc',
|
||||||
'minidump_system_info_writer_test.cc',
|
'minidump_system_info_writer_test.cc',
|
||||||
'minidump_test_util.cc',
|
|
||||||
'minidump_test_util.h',
|
|
||||||
'minidump_thread_writer_test.cc',
|
'minidump_thread_writer_test.cc',
|
||||||
'minidump_writable_test.cc',
|
'minidump_writable_test.cc',
|
||||||
],
|
],
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#include "minidump/minidump_context_writer.h"
|
#include "minidump/minidump_context_writer.h"
|
||||||
#include "minidump/minidump_extensions.h"
|
#include "minidump/minidump_extensions.h"
|
||||||
#include "minidump/minidump_file_writer.h"
|
#include "minidump/minidump_file_writer.h"
|
||||||
#include "minidump/minidump_test_util.h"
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
#include "util/file/string_file_writer.h"
|
#include "util/file/string_file_writer.h"
|
||||||
|
|
||||||
namespace crashpad {
|
namespace crashpad {
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
#include "base/basictypes.h"
|
#include "base/basictypes.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
#include "minidump/minidump_stream_writer.h"
|
#include "minidump/minidump_stream_writer.h"
|
||||||
#include "minidump/minidump_test_util.h"
|
|
||||||
#include "minidump/minidump_writable.h"
|
#include "minidump/minidump_writable.h"
|
||||||
#include "util/file/file_writer.h"
|
#include "util/file/file_writer.h"
|
||||||
#include "util/file/string_file_writer.h"
|
#include "util/file/string_file_writer.h"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "minidump/minidump_test_util.h"
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
@ -12,8 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#ifndef CRASHPAD_MINIDUMP_MINIDUMP_TEST_UTIL_H_
|
#ifndef CRASHPAD_MINIDUMP_MINIDUMP_FILE_WRITER_TEST_UTIL_H_
|
||||||
#define CRASHPAD_MINIDUMP_MINIDUMP_TEST_UTIL_H_
|
#define CRASHPAD_MINIDUMP_MINIDUMP_FILE_WRITER_TEST_UTIL_H_
|
||||||
|
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@ -38,4 +38,4 @@ void VerifyMinidumpHeader(const MINIDUMP_HEADER* header,
|
|||||||
} // namespace test
|
} // namespace test
|
||||||
} // namespace crashpad
|
} // namespace crashpad
|
||||||
|
|
||||||
#endif // CRASHPAD_MINIDUMP_MINIDUMP_TEST_UTIL_H_
|
#endif // CRASHPAD_MINIDUMP_MINIDUMP_FILE_WRITER_TEST_UTIL_H_
|
@ -21,9 +21,9 @@
|
|||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "minidump/minidump_extensions.h"
|
#include "minidump/minidump_extensions.h"
|
||||||
#include "minidump/minidump_file_writer.h"
|
#include "minidump/minidump_file_writer.h"
|
||||||
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
#include "minidump/minidump_memory_writer_test_util.h"
|
#include "minidump/minidump_memory_writer_test_util.h"
|
||||||
#include "minidump/minidump_stream_writer.h"
|
#include "minidump/minidump_stream_writer.h"
|
||||||
#include "minidump/minidump_test_util.h"
|
|
||||||
#include "util/file/string_file_writer.h"
|
#include "util/file/string_file_writer.h"
|
||||||
|
|
||||||
namespace crashpad {
|
namespace crashpad {
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include "base/strings/utf_string_conversions.h"
|
#include "base/strings/utf_string_conversions.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "minidump/minidump_file_writer.h"
|
#include "minidump/minidump_file_writer.h"
|
||||||
#include "minidump/minidump_test_util.h"
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
#include "util/file/string_file_writer.h"
|
#include "util/file/string_file_writer.h"
|
||||||
#include "util/stdlib/strlcpy.h"
|
#include "util/stdlib/strlcpy.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "minidump/minidump_extensions.h"
|
#include "minidump/minidump_extensions.h"
|
||||||
#include "minidump/minidump_file_writer.h"
|
#include "minidump/minidump_file_writer.h"
|
||||||
#include "minidump/minidump_test_util.h"
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
#include "util/file/string_file_writer.h"
|
#include "util/file/string_file_writer.h"
|
||||||
#include "util/misc/uuid.h"
|
#include "util/misc/uuid.h"
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "minidump/minidump_file_writer.h"
|
#include "minidump/minidump_file_writer.h"
|
||||||
#include "minidump/minidump_test_util.h"
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
#include "util/file/string_file_writer.h"
|
#include "util/file/string_file_writer.h"
|
||||||
|
|
||||||
namespace crashpad {
|
namespace crashpad {
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include "minidump/minidump_memory_writer.h"
|
#include "minidump/minidump_memory_writer.h"
|
||||||
#include "minidump/minidump_memory_writer_test_util.h"
|
#include "minidump/minidump_memory_writer_test_util.h"
|
||||||
#include "minidump/minidump_file_writer.h"
|
#include "minidump/minidump_file_writer.h"
|
||||||
#include "minidump/minidump_test_util.h"
|
#include "minidump/minidump_file_writer_test_util.h"
|
||||||
#include "util/file/string_file_writer.h"
|
#include "util/file/string_file_writer.h"
|
||||||
|
|
||||||
namespace crashpad {
|
namespace crashpad {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user