Skip to content

Commit

Permalink
Fix linux build break
Browse files Browse the repository at this point in the history
TBR=satorux@chromium.org
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7453041

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94846 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
rsleevi@chromium.org committed Jul 30, 2011
1 parent a9e9149 commit 3820b96
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dbus/message_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/logging.h"
#include "dbus/message.h"

#include "base/basictypes.h"
#include "base/logging.h"
#include "testing/gtest/include/gtest/gtest.h"

// Test that a byte can be properly written and read. We only have this
Expand Down Expand Up @@ -252,7 +254,7 @@ TEST(MessageTest, CreateComplexMessageAndReadIt) {
dbus::MessageWriter dict_entry_writer(&message);
dict_array_writer.OpenDictEntry(&dict_entry_writer);
dict_entry_writer.AppendString("foo");
dict_entry_writer.AppendInt64(1234567890123456789);
dict_entry_writer.AppendInt64(GG_INT64_C(1234567890123456789));
dict_array_writer.CloseContainer(&dict_entry_writer);
}
variant_writer.CloseContainer(&dict_array_writer);
Expand Down Expand Up @@ -322,7 +324,7 @@ TEST(MessageTest, CreateComplexMessageAndReadIt) {
EXPECT_EQ("foo", string_value);
int64 int64_value = 0;
ASSERT_TRUE(dict_entry_reader.PopInt64(&int64_value));
EXPECT_EQ(1234567890123456789, int64_value);
EXPECT_EQ(GG_INT64_C(1234567890123456789), int64_value);
}
ASSERT_FALSE(dict_array_reader.HasMoreData());
}
Expand Down

0 comments on commit 3820b96

Please sign in to comment.