Home
last modified time | relevance | path

Searched refs:sql_path (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/history/
Dshortcuts_database_unittest.cc224 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()
Dhistory_unittest_base.cc19 void HistoryUnitTestBase::ExecuteSQLScript(const base::FilePath& sql_path, in ExecuteSQLScript() argument
22 ASSERT_TRUE(base::ReadFileToString(sql_path, &sql)); in ExecuteSQLScript()
Dtop_sites_database_unittest.cc38 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()
Dthumbnail_database_unittest.cc55 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()
Dhistory_unittest_base.h24 static void ExecuteSQLScript(const base::FilePath& sql_path,
/external/chromium_org/sql/test/
Dtest_helpers.cc220 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()
Dtest_helpers.h77 const base::FilePath& sql_path) WARN_UNUSED_RESULT;