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:
Mark Mentovai 2014-10-09 17:07:59 -04:00
parent b8684a8a3c
commit c182be95a2
10 changed files with 13 additions and 13 deletions

View File

@ -76,6 +76,8 @@
'minidump_context_writer_test.cc',
'minidump_exception_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_util.cc',
'minidump_memory_writer_test_util.h',
@ -83,8 +85,6 @@
'minidump_module_writer_test.cc',
'minidump_string_writer_test.cc',
'minidump_system_info_writer_test.cc',
'minidump_test_util.cc',
'minidump_test_util.h',
'minidump_thread_writer_test.cc',
'minidump_writable_test.cc',
],

View File

@ -26,7 +26,7 @@
#include "minidump/minidump_context_writer.h"
#include "minidump/minidump_extensions.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"
namespace crashpad {

View File

@ -20,8 +20,8 @@
#include "base/basictypes.h"
#include "gtest/gtest.h"
#include "minidump/minidump_file_writer_test_util.h"
#include "minidump/minidump_stream_writer.h"
#include "minidump/minidump_test_util.h"
#include "minidump/minidump_writable.h"
#include "util/file/file_writer.h"
#include "util/file/string_file_writer.h"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "minidump/minidump_test_util.h"
#include "minidump/minidump_file_writer_test_util.h"
#include "gtest/gtest.h"

View File

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef CRASHPAD_MINIDUMP_MINIDUMP_TEST_UTIL_H_
#define CRASHPAD_MINIDUMP_MINIDUMP_TEST_UTIL_H_
#ifndef CRASHPAD_MINIDUMP_MINIDUMP_FILE_WRITER_TEST_UTIL_H_
#define CRASHPAD_MINIDUMP_MINIDUMP_FILE_WRITER_TEST_UTIL_H_
#include <dbghelp.h>
#include <stdint.h>
@ -38,4 +38,4 @@ void VerifyMinidumpHeader(const MINIDUMP_HEADER* header,
} // namespace test
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_TEST_UTIL_H_
#endif // CRASHPAD_MINIDUMP_MINIDUMP_FILE_WRITER_TEST_UTIL_H_

View File

@ -21,9 +21,9 @@
#include "gtest/gtest.h"
#include "minidump/minidump_extensions.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_stream_writer.h"
#include "minidump/minidump_test_util.h"
#include "util/file/string_file_writer.h"
namespace crashpad {

View File

@ -24,7 +24,7 @@
#include "base/strings/utf_string_conversions.h"
#include "gtest/gtest.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/stdlib/strlcpy.h"

View File

@ -22,7 +22,7 @@
#include "gtest/gtest.h"
#include "minidump/minidump_extensions.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/misc/uuid.h"

View File

@ -21,7 +21,7 @@
#include "gtest/gtest.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"
namespace crashpad {

View File

@ -22,7 +22,7 @@
#include "minidump/minidump_memory_writer.h"
#include "minidump/minidump_memory_writer_test_util.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"
namespace crashpad {