/external/chromium_org/testing/gtest/include/gtest/ |
gtest-death-test.h | 165 // Asserts that a given statement causes the program to exit, with an 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 173 # define EXPECT_EXIT(statement, predicate, regex) \ 174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 176 // Asserts that a given statement causes the program to exit, either by 179 # define ASSERT_DEATH(statement, regex) \ 180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 184 # define EXPECT_DEATH(statement, regex) \ 185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/ |
gtest-death-test.h | 154 // Asserts that a given statement causes the program to exit, with an 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 165 // Asserts that a given statement causes the program to exit, either by 168 # define ASSERT_DEATH(statement, regex) \ 169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 173 # define EXPECT_DEATH(statement, regex) \ 174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex [all...] |
/external/gtest/include/gtest/ |
gtest-death-test.h | 165 // Asserts that a given statement causes the program to exit, with an 168 # define ASSERT_EXIT(statement, predicate, regex) \ 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 173 # define EXPECT_EXIT(statement, predicate, regex) \ 174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 176 // Asserts that a given statement causes the program to exit, either by 179 # define ASSERT_DEATH(statement, regex) \ 180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 184 # define EXPECT_DEATH(statement, regex) \ 185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-death-test.h | 154 // Asserts that a given statement causes the program to exit, with an 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 165 // Asserts that a given statement causes the program to exit, either by 168 # define ASSERT_DEATH(statement, regex) \ 169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 173 # define EXPECT_DEATH(statement, regex) \ 174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex [all...] |
/external/mesa3d/src/gtest/include/gtest/ |
gtest-death-test.h | 154 // Asserts that a given statement causes the program to exit, with an 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 165 // Asserts that a given statement causes the program to exit, either by 168 # define ASSERT_DEATH(statement, regex) \ 169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 173 # define EXPECT_DEATH(statement, regex) \ 174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex [all...] |
/external/chromium_org/net/test/ |
gtest_util.h | 20 #define GTEST_DFATAL_(statement, matcher, fail) \ 32 { statement; } \ 47 // execute the given statement in the current process, not a forked 54 #define EXPECT_DFATAL_WITH(statement, matcher) \ 55 GTEST_DFATAL_(statement, matcher, GTEST_NONFATAL_FAILURE_) 57 #define ASSERT_DFATAL_WITH(statement, matcher) \ 58 GTEST_DFATAL_(statement, matcher, GTEST_FATAL_FAILURE_) 60 #define EXPECT_DFATAL(statement, regex) \ 61 EXPECT_DFATAL_WITH(statement, ::testing::ContainsRegex(regex)) 63 #define ASSERT_DFATAL(statement, regex) [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteProgramTest.java | 59 SQLiteStatement statement; local 61 statement = mDatabase.compileStatement("SELECT num1 FROM test WHERE num2 = ?;"); 62 statement.bindLong(1, 30); 63 assertEquals(12, statement.simpleQueryForLong()); 66 statement.bindDouble(1, 589.0); 67 assertEquals(213, statement.simpleQueryForLong()); 68 statement.close(); 70 statement = mDatabase.compileStatement("SELECT text1 FROM test WHERE text2 = ?;"); 72 statement.bindDouble(1, 589.0); // Wrong binding 74 statement.simpleQueryForString() 126 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " + local 156 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test " + local [all...] |
DatabaseStatementTest.java | 83 SQLiteStatement statement = mDatabase.compileStatement("DELETE FROM test"); local 84 statement.execute(); 89 statement.close(); 132 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local 135 statement.bindLong(1, i); 136 statement.execute(); 138 statement.close(); 154 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local 157 statement.bindString(1, Long.toHexString(i)); 158 statement.execute() 176 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local 198 String statement = "INSERT INTO test (num, value) VALUES (?,?)"; local 222 SQLiteStatement statement = local 285 SQLiteStatement statement = local 300 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)"); local [all...] |
/external/chromium_org/components/precache/core/ |
precache_url_table.cc | 11 #include "sql/statement.h" 13 using sql::Statement; 39 Statement statement(db_->GetCachedStatement( 43 statement.BindString(0, GetKey(url)); 44 statement.BindInt64(1, precache_time.ToInternalValue()); 45 statement.Run(); 49 Statement statement(db_->GetCachedStatement( 52 statement.BindString(0, GetKey(url)) [all...] |
/external/chromium_org/chrome/browser/history/ |
visit_database.cc | 17 #include "sql/statement.h" 85 void VisitDatabase::FillVisitRow(sql::Statement& statement, VisitRow* visit) { 86 visit->visit_id = statement.ColumnInt64(0); 87 visit->url_id = statement.ColumnInt64(1); 88 visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); 89 visit->referring_visit = statement.ColumnInt64(3); 90 visit->transition = ui::PageTransitionFromInt(statement.ColumnInt(4)); 91 visit->segment_id = statement.ColumnInt64(5); 93 base::TimeDelta::FromInternalValue(statement.ColumnInt64(6)) [all...] |
history_backend_android.cc | 24 AndroidStatement* statement = NULL; local 26 statement = android_provider_backend_->QueryHistoryAndBookmarks( 29 return statement; 65 // Statement ------------------------------------------------------------------- 67 int HistoryBackend::MoveStatement(history::AndroidStatement* statement, 75 statement->statement()->Reset(false); 79 if (!statement->statement()->Step()) 86 void HistoryBackend::CloseStatement(AndroidStatement* statement) { 127 AndroidStatement* statement = NULL; local [all...] |
thumbnail_database.cc | 24 #include "sql/statement.h" 91 void FillIconMapping(const sql::Statement& statement, 94 icon_mapping->mapping_id = statement.ColumnInt64(0); 95 icon_mapping->icon_id = statement.ColumnInt64(1); 97 static_cast<favicon_base::IconType>(statement.ColumnInt(2)); 98 icon_mapping->icon_url = GURL(statement.ColumnString(3)); 182 sql::Statement statement(db->GetUniqueStatement(kVersionSql)); 183 if (statement.Step()) 867 sql::Statement statement; local [all...] |
/external/chromium_org/content/browser/appcache/ |
appcache_database.cc | 18 #include "sql/statement.h" 254 sql::Statement statement(db_->GetUniqueStatement(kSql)); 256 while (statement.Step()) 257 origins->insert(GURL(statement.ColumnString(0))); 259 return statement.Succeeded(); 318 sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); 320 statement.BindInt64(0, group_id); 321 if (!statement.Step() [all...] |
/external/chromium_org/chrome/browser/history/android/ |
android_urls_database_unittest.cc | 52 sql::Statement statement(db.GetDB().GetUniqueStatement( 54 ASSERT_TRUE(statement.Step()); 55 EXPECT_EQ(1, statement.ColumnInt64(0)); 56 EXPECT_EQ("http://google.com/", statement.ColumnString(2)); 57 EXPECT_EQ(1, statement.ColumnInt64(1)); 59 ASSERT_TRUE(statement.Step()); 60 EXPECT_EQ(4, statement.ColumnInt64(0)); 61 EXPECT_EQ("www.google.com/", statement.ColumnString(2)); 62 EXPECT_EQ(3, statement.ColumnInt64(1)) [all...] |
android_urls_database.cc | 55 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 58 statement.BindString(0, raw_url); 59 statement.BindInt64(1, static_cast<int64>(url_id)); 61 if (!statement.Run()) { 69 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 72 statement.BindInt64(0, url_id); 74 if (!statement.Step()) 77 row->id = statement.ColumnInt64(0) [all...] |
android_cache_database.cc | 9 #include "sql/statement.h" 42 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 46 statement.BindInt64(0, ToDatabaseTime(created_time)); 47 statement.BindInt64(1, ToDatabaseTime(last_visit_time)); 48 statement.BindInt64(2, url_id); 50 if (!statement.Run()) { 59 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 61 if (!statement.Run()) [all...] |
/external/chromium_org/components/history/core/browser/ |
url_database.cc | 16 #include "sql/statement.h" 63 void URLDatabase::FillURLRow(sql::Statement& s, history::URLRow* i) { 79 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 81 statement.BindInt64(0, url_id); 83 if (statement.Step()) { 84 FillURLRow(statement, info); 91 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 94 while (statement.Step()) [all...] |
/external/chromium_org/chrome/browser/predictors/ |
logged_in_predictor_table.cc | 14 #include "sql/statement.h" 17 using sql::Statement; 60 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 64 statement.BindString(0, GetKey(url)); 65 statement.BindInt64(1, base::Time::Now().ToInternalValue()); 67 statement.Run(); 75 Statement statement(DB()->GetCachedStatement(SQL_FROM_HERE, 78 statement.BindString(0, GetKey(url)) [all...] |
autocomplete_action_predictor_table.cc | 13 #include "sql/statement.h" 25 sql::Statement* statement) { 27 statement->BindString(0, row.id); 28 statement->BindString16(1, row.user_text.substr(0, kMaxDataLength)); 29 statement->BindString(2, row.url.spec().substr(0, kMaxDataLength)); 30 statement->BindInt(3, row.number_of_hits); 31 statement->BindInt(4, row.number_of_misses); 35 sql::Statement* statement, [all...] |
/external/chromium-libpac/test/js-unittest/ |
ends_with_statement_no_semicolon.js | 1 // Ends with a statement, and no terminal newline.
|
/external/chromium_org/net/data/proxy_resolver_v8_unittest/ |
ends_with_statement_no_semicolon.js | 1 // Ends with a statement, and no terminal newline.
|
/external/chromium_org/third_party/WebKit/ManualTests/inspector/resources/ |
loop-statements.js | 19 function statement() function
|
/external/chromium_org/components/enhanced_bookmarks/ |
persistent_image_store.cc | 9 #include "sql/statement.h" 84 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, 86 statement.BindString(0, page_url.possibly_invalid_spec()); 88 int count = statement.Step() ? statement.ColumnInt(0) : 0; 101 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, 106 statement.BindString(0, page_url.possibly_invalid_spec()); 107 statement.BindString(1, image_url.possibly_invalid_spec()) [all...] |
/external/junit/src/org/junit/rules/ |
RunRules.java | 4 import org.junit.runners.model.Statement; 7 * Runs a collection of rules on a statement. 9 public class RunRules extends Statement { 10 private final Statement statement; field in class:RunRules 12 public RunRules(Statement base, Iterable<TestRule> rules, Description description) { 13 statement= applyAll(base, rules, description); 18 statement.evaluate(); 21 private static Statement applyAll(Statement result, Iterable<TestRule> rules [all...] |
/external/chromium_org/storage/browser/quota/ |
quota_database.cc | 16 #include "sql/statement.h" 153 sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); 154 statement.BindString(0, host); 155 statement.BindInt(1, static_cast<int>(type)); 157 if (!statement.Step()) 160 *quota = statement.ColumnInt64(0); 174 sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); 175 statement.BindInt64(0, quota) [all...] |