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

Side by Side Diff: sql/meta_table_unittest.cc

Issue 1533283002: Switch to standard integer types in xxx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « sql/meta_table.cc ('k') | sql/mojo/mojo_vfs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sql/meta_table.h" 5 #include "sql/meta_table.h"
6 6
7 #include <stdint.h>
8
7 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
8 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
9 #include "sql/connection.h" 11 #include "sql/connection.h"
10 #include "sql/statement.h" 12 #include "sql/statement.h"
11 #include "sql/test/sql_test_base.h" 13 #include "sql/test/sql_test_base.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 15
14 namespace { 16 namespace {
15 17
16 using SQLMetaTableTest = sql::SQLTestBase; 18 using SQLMetaTableTest = sql::SQLTestBase;
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 EXPECT_TRUE(meta_table.SetValue(kKey, kValue)); 251 EXPECT_TRUE(meta_table.SetValue(kKey, kValue));
250 EXPECT_TRUE(meta_table.GetValue(kKey, &value)); 252 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
251 EXPECT_EQ(kValue, value); 253 EXPECT_EQ(kValue, value);
252 254
253 // After delete value isn't present. 255 // After delete value isn't present.
254 EXPECT_TRUE(meta_table.DeleteKey(kKey)); 256 EXPECT_TRUE(meta_table.DeleteKey(kKey));
255 EXPECT_FALSE(meta_table.GetValue(kKey, &value)); 257 EXPECT_FALSE(meta_table.GetValue(kKey, &value));
256 } 258 }
257 259
258 } // namespace 260 } // namespace
OLDNEW
« no previous file with comments | « sql/meta_table.cc ('k') | sql/mojo/mojo_vfs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698