aboutsummaryrefslogtreecommitdiff
path: root/src/client/minidump_file_writer_unittest.cc
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-02-14 19:51:05 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-02-14 19:51:05 +0000
commite5dc60822e5938fea2ae892ccddb906641ba174e (patch)
treed7d4a8e94fee7bdb4eee6501221d92595ebd5f02 /src/client/minidump_file_writer_unittest.cc
parentChange the symbol table parsing so that it will only use symbols that are fro... (diff)
downloadbreakpad-e5dc60822e5938fea2ae892ccddb906641ba174e.tar.xz
Rename Airbag to Breakpad.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@122 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/minidump_file_writer_unittest.cc')
-rw-r--r--src/client/minidump_file_writer_unittest.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/client/minidump_file_writer_unittest.cc b/src/client/minidump_file_writer_unittest.cc
index ae335d5e..58750667 100644
--- a/src/client/minidump_file_writer_unittest.cc
+++ b/src/client/minidump_file_writer_unittest.cc
@@ -1,5 +1,5 @@
-// Copyright (c) 2006, Google Inc. All rights reserved.
-// Author: waylonis@google.com (Dan Waylonis)
+// Copyright (c) 2006, Google Inc.
+// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -27,6 +27,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Author: waylonis@google.com (Dan Waylonis)
+
/*
g++ -I../ ../common/convert_UTF.c \
../common/string_conversion.cc \
@@ -40,7 +42,7 @@
#include "minidump_file_writer-inl.h"
-using google_airbag::MinidumpFileWriter;
+using google_breakpad::MinidumpFileWriter;
#define ASSERT_TRUE(cond) \
if (!(cond)) { \
@@ -72,7 +74,7 @@ static bool WriteFile(const char *path) {
MinidumpFileWriter writer;
if (writer.Open(path)) {
// Test a single structure
- google_airbag::TypedMDRVA<StringStructure> strings(&writer);
+ google_breakpad::TypedMDRVA<StringStructure> strings(&writer);
ASSERT_TRUE(strings.Allocate());
strings.get()->integer_value = 0xBEEF;
const char *first = "First String";
@@ -81,7 +83,7 @@ static bool WriteFile(const char *path) {
ASSERT_TRUE(writer.WriteString(second, 0, &strings.get()->second_string));
// Test an array structure
- google_airbag::TypedMDRVA<ArrayStructure> array(&writer);
+ google_breakpad::TypedMDRVA<ArrayStructure> array(&writer);
unsigned int count = 10;
ASSERT_TRUE(array.AllocateArray(count));
for (unsigned int i = 0; i < count; ++i) {
@@ -93,7 +95,7 @@ static bool WriteFile(const char *path) {
}
// Test an object followed by an array
- google_airbag::TypedMDRVA<ObjectAndArrayStructure> obj_array(&writer);
+ google_breakpad::TypedMDRVA<ObjectAndArrayStructure> obj_array(&writer);
ASSERT_TRUE(obj_array.AllocateObjectAndArray(count,
sizeof(ArrayStructure)));
obj_array.get()->count = count;