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

Unified Diff: sql/meta_table_unittest.cc

Issue 1133053004: sql: Remove basictypes.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shess review 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 | « sql/meta_table.cc ('k') | sql/recovery.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/meta_table_unittest.cc
diff --git a/sql/meta_table_unittest.cc b/sql/meta_table_unittest.cc
index e3ee2c6d5c3028db27b630f925066f6377b1cbb8..141239217939b0e2c39c07b82d7c800baba055cd 100644
--- a/sql/meta_table_unittest.cc
+++ b/sql/meta_table_unittest.cc
@@ -208,15 +208,15 @@ TEST_F(SQLMetaTableTest, IntValue) {
TEST_F(SQLMetaTableTest, Int64Value) {
const char kKey[] = "Int Key";
- const int64 kFirstValue = 5000000017LL;
- const int64 kSecondValue = 5000000023LL;
+ const int64_t kFirstValue = 5000000017LL;
+ const int64_t kSecondValue = 5000000023LL;
// Initially, the value isn't there until set.
{
sql::MetaTable meta_table;
EXPECT_TRUE(meta_table.Init(&db(), 1, 1));
- int64 value;
+ int64_t value;
EXPECT_FALSE(meta_table.GetValue(kKey, &value));
EXPECT_TRUE(meta_table.SetValue(kKey, kFirstValue));
@@ -229,7 +229,7 @@ TEST_F(SQLMetaTableTest, Int64Value) {
sql::MetaTable meta_table;
EXPECT_TRUE(meta_table.Init(&db(), 1, 1));
- int64 value;
+ int64_t value;
EXPECT_TRUE(meta_table.GetValue(kKey, &value));
EXPECT_EQ(kFirstValue, value);
@@ -241,7 +241,7 @@ TEST_F(SQLMetaTableTest, Int64Value) {
sql::MetaTable meta_table;
EXPECT_TRUE(meta_table.Init(&db(), 1, 1));
- int64 value;
+ int64_t value;
EXPECT_TRUE(meta_table.GetValue(kKey, &value));
EXPECT_EQ(kSecondValue, value);
}
« no previous file with comments | « sql/meta_table.cc ('k') | sql/recovery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698