summaryrefslogtreecommitdiffstats
path: root/sql/connection_unittest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 17:36:07 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 17:36:07 +0000
commit7567484144da059e2c2c2a818b06660a5459052f (patch)
treea4ceafc7e890051c25dbdd54b170d0f5794dd229 /sql/connection_unittest.cc
parent8a25d54d6eb190a8b82479b5309a892c1080a372 (diff)
downloadchromium_src-7567484144da059e2c2c2a818b06660a5459052f.zip
chromium_src-7567484144da059e2c2c2a818b06660a5459052f.tar.gz
chromium_src-7567484144da059e2c2c2a818b06660a5459052f.tar.bz2
Move PathExists to base namespace.
BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/18286004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/connection_unittest.cc')
-rw-r--r--sql/connection_unittest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/connection_unittest.cc b/sql/connection_unittest.cc
index c85382f..37cb750 100644
--- a/sql/connection_unittest.cc
+++ b/sql/connection_unittest.cc
@@ -325,7 +325,7 @@ TEST_F(SQLConnectionTest, RazeEmptyDB) {
TEST_F(SQLConnectionTest, RazeNOTADB) {
db().Close();
sql::Connection::Delete(db_path());
- ASSERT_FALSE(file_util::PathExists(db_path()));
+ ASSERT_FALSE(base::PathExists(db_path()));
{
file_util::ScopedFILE file(file_util::OpenFile(db_path(), "w"));
@@ -334,7 +334,7 @@ TEST_F(SQLConnectionTest, RazeNOTADB) {
const char* kJunk = "This is the hour of our discontent.";
fputs(kJunk, file.get());
}
- ASSERT_TRUE(file_util::PathExists(db_path()));
+ ASSERT_TRUE(base::PathExists(db_path()));
// SQLite will successfully open the handle, but will fail with
// SQLITE_IOERR_SHORT_READ on pragma statemenets which read the
@@ -551,12 +551,12 @@ TEST_F(SQLConnectionTest, Delete) {
// Should have both a main database file and a journal file because
// of journal_mode PERSIST.
base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal"));
- ASSERT_TRUE(file_util::PathExists(db_path()));
- ASSERT_TRUE(file_util::PathExists(journal));
+ ASSERT_TRUE(base::PathExists(db_path()));
+ ASSERT_TRUE(base::PathExists(journal));
sql::Connection::Delete(db_path());
- EXPECT_FALSE(file_util::PathExists(db_path()));
- EXPECT_FALSE(file_util::PathExists(journal));
+ EXPECT_FALSE(base::PathExists(db_path()));
+ EXPECT_FALSE(base::PathExists(journal));
}
} // namespace