Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: net/quic/quic_data_writer_test.cc

Issue 1160203003: net: Remove the remaining use of GG_(U)INTn_C macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stdint.h Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_data_writer.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_data_writer_test.cc
diff --git a/net/quic/quic_data_writer_test.cc b/net/quic/quic_data_writer_test.cc
index a7ac2a8ea41461b2eb2443cad5a749452c655fd4..d34e5cef57063aac9f1c1d296f2764c6e4b31f0e 100644
--- a/net/quic/quic_data_writer_test.cc
+++ b/net/quic/quic_data_writer_test.cc
@@ -4,6 +4,8 @@
#include "net/quic/quic_data_writer.h"
+#include <stdint.h>
+
#include "base/memory/scoped_ptr.h"
#include "net/quic/quic_data_reader.h"
#include "net/test/gtest_util.h"
@@ -19,7 +21,7 @@ TEST(QuicDataWriterTest, SanityCheckUFloat16Consts) {
EXPECT_EQ(30, kUFloat16MaxExponent);
EXPECT_EQ(11, kUFloat16MantissaBits);
EXPECT_EQ(12, kUFloat16MantissaEffectiveBits);
- EXPECT_EQ(GG_UINT64_C(0x3FFC0000000), kUFloat16MaxValue);
+ EXPECT_EQ(UINT64_C(0x3FFC0000000), kUFloat16MaxValue);
}
TEST(QuicDataWriterTest, WriteUFloat16) {
@@ -118,7 +120,7 @@ TEST(QuicDataWriterTest, RoundTripUFloat16) {
if (i > 2000)
EXPECT_GT(previous_value * 1005, value * 1000);
// Check we're always within the promised range.
- EXPECT_LT(value, GG_UINT64_C(0x3FFC0000000));
+ EXPECT_LT(value, UINT64_C(0x3FFC0000000));
previous_value = value;
char buffer[6];
QuicDataWriter writer(6, buffer);
« no previous file with comments | « net/quic/quic_data_writer.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698