Searched refs:sql_path (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/chrome/browser/history/ |
D | shortcuts_database_unittest.cc | 224 base::FilePath sql_path; in TEST() local 225 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &sql_path)); in TEST() 226 sql_path = sql_path.AppendASCII("History").AppendASCII( in TEST() 235 ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, sql_path)); in TEST() 274 base::FilePath sql_path; in TEST() local 275 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &sql_path)); in TEST() 276 sql_path = sql_path.AppendASCII("History").AppendASCII("Shortcuts.v0.sql"); in TEST() 280 ASSERT_TRUE(sql::test::CreateDatabaseFromSQL(db_path, sql_path)); in TEST()
|
D | history_unittest_base.cc | 19 void HistoryUnitTestBase::ExecuteSQLScript(const base::FilePath& sql_path, in ExecuteSQLScript() argument 22 ASSERT_TRUE(base::ReadFileToString(sql_path, &sql)); in ExecuteSQLScript()
|
D | top_sites_database_unittest.cc | 38 base::FilePath sql_path; in CreateDatabaseFromSQL() local 39 if (!PathService::Get(chrome::DIR_TEST_DATA, &sql_path)) in CreateDatabaseFromSQL() 41 sql_path = sql_path.AppendASCII("History").AppendASCII(ascii_path); in CreateDatabaseFromSQL() 42 return sql::test::CreateDatabaseFromSQL(db_path, sql_path); in CreateDatabaseFromSQL()
|
D | thumbnail_database_unittest.cc | 55 base::FilePath sql_path; in CreateDatabaseFromSQL() local 56 if (!PathService::Get(chrome::DIR_TEST_DATA, &sql_path)) in CreateDatabaseFromSQL() 58 sql_path = sql_path.AppendASCII("History").AppendASCII(ascii_path); in CreateDatabaseFromSQL() 59 return sql::test::CreateDatabaseFromSQL(db_path, sql_path); in CreateDatabaseFromSQL() 1006 base::FilePath sql_path; in TEST_F() local 1007 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &sql_path)); in TEST_F() 1008 sql_path = sql_path.AppendASCII("History").AppendASCII("thumbnail_wild"); in TEST_F() 1011 sql_path, false, base::FileEnumerator::FILES, FILE_PATH_LITERAL("*.sql")); in TEST_F()
|
D | history_unittest_base.h | 24 static void ExecuteSQLScript(const base::FilePath& sql_path,
|
/external/chromium_org/sql/test/ |
D | test_helpers.cc | 220 const base::FilePath& sql_path) { in CreateDatabaseFromSQL() argument 221 if (base::PathExists(db_path) || !base::PathExists(sql_path)) in CreateDatabaseFromSQL() 225 if (!base::ReadFileToString(sql_path, &sql)) in CreateDatabaseFromSQL()
|
D | test_helpers.h | 77 const base::FilePath& sql_path) WARN_UNUSED_RESULT;
|