Home
last modified time | relevance | path

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

/external/chromium_org/sql/
Dconnection_unittest.cc572 const char* kSimpleSql = "SELECT 1"; in TEST_F() local
580 ASSERT_TRUE(db().IsSQLValid(kSimpleSql)); in TEST_F()
581 ASSERT_EQ(SQLITE_OK, db().ExecuteAndReturnErrorCode(kSimpleSql)); in TEST_F()
582 ASSERT_TRUE(db().Execute(kSimpleSql)); in TEST_F()
585 sql::Statement s(db().GetUniqueStatement(kSimpleSql)); in TEST_F()
589 sql::Statement s(db().GetCachedStatement(SQL_FROM_HERE, kSimpleSql)); in TEST_F()
602 ASSERT_FALSE(db().IsSQLValid(kSimpleSql)); in TEST_F()
603 ASSERT_EQ(SQLITE_ERROR, db().ExecuteAndReturnErrorCode(kSimpleSql)); in TEST_F()
604 ASSERT_FALSE(db().Execute(kSimpleSql)); in TEST_F()
607 sql::Statement s(db().GetUniqueStatement(kSimpleSql)); in TEST_F()
[all …]