• Home
  • Raw
  • Download

Lines Matching refs:db_path

104   const base::FilePath& db_path() { return db_path_; }  in db_path()  function in __anon8597a9840111::SQLConnectionTest
353 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
373 ASSERT_TRUE(other_db.Open(db_path())); in TEST_F()
392 ASSERT_TRUE(other_db.Open(db_path())); in TEST_F()
427 base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); in TEST_F()
433 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
441 sql::Connection::Delete(db_path()); in TEST_F()
442 ASSERT_FALSE(base::PathExists(db_path())); in TEST_F()
445 base::ScopedFILE file(base::OpenFile(db_path(), "wb")); in TEST_F()
451 ASSERT_TRUE(base::PathExists(db_path())); in TEST_F()
459 EXPECT_TRUE(db().Open(db_path())); in TEST_F()
466 EXPECT_TRUE(db().Open(db_path())); in TEST_F()
478 base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); in TEST_F()
492 EXPECT_TRUE(db().Open(db_path())); in TEST_F()
499 EXPECT_TRUE(db().Open(db_path())); in TEST_F()
514 ASSERT_TRUE(sql::test::CorruptSizeInHeader(db_path())); in TEST_F()
521 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
535 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
552 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
563 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
658 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal")); in TEST_F()
659 ASSERT_TRUE(base::PathExists(db_path())); in TEST_F()
662 sql::Connection::Delete(db_path()); in TEST_F()
663 EXPECT_FALSE(base::PathExists(db_path())); in TEST_F()
676 sql::Connection::Delete(db_path()); in TEST_F()
677 ASSERT_FALSE(base::PathExists(db_path())); in TEST_F()
679 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
686 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal")); in TEST_F()
691 ASSERT_TRUE(base::PathExists(db_path())); in TEST_F()
694 EXPECT_TRUE(base::GetPosixFilePermissions(db_path(), &mode)); in TEST_F()
704 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
705 ASSERT_TRUE(base::PathExists(db_path())); in TEST_F()
708 EXPECT_TRUE(base::GetPosixFilePermissions(db_path(), &mode)); in TEST_F()
716 sql::Connection::Delete(db_path()); in TEST_F()
717 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
718 ASSERT_TRUE(base::PathExists(db_path())); in TEST_F()
721 EXPECT_TRUE(base::GetPosixFilePermissions(db_path(), &mode)); in TEST_F()
775 db_path().DirName().AppendASCII("SQLConnectionAttach.db"); in TEST_F()
832 ASSERT_TRUE(sql::test::CorruptSizeInHeader(db_path())); in TEST_F()
837 ASSERT_TRUE(db().Open(db_path())); in TEST_F()
854 ASSERT_TRUE(sql::test::CorruptSizeInHeader(db_path())); in TEST_F()
859 ASSERT_TRUE(db().Open(db_path())); in TEST_F()