/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/protobuf/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...] |
/ndk/sources/third_party/googletest/googletest/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/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...] |
/libcore/luni/src/main/java/javax/sql/ |
StatementEvent.java | 25 * A statement event that a PreparedStatement is closed 35 private PreparedStatement statement; field in class:StatementEvent 42 * @param statement 43 * the statement to be closed 47 public StatementEvent(PooledConnection con, PreparedStatement statement, 50 this.statement = statement; 59 * @param statement 60 * the statement to be closed 62 public StatementEvent(PooledConnection con, PreparedStatement statement) { [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...] |
/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...] |
/libcore/luni/src/test/java/tests/support/ |
DatabaseCreator.java | 22 import java.sql.Statement; 257 Statement statement = conn.createStatement(); local 258 statement 260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')"); 261 statement 266 Statement statement = conn.createStatement(); local 267 statement.execute("INSERT INTO " + FKSTRICT_TABLE 269 statement.execute("INSERT INTO " + FKSTRICT_TABL 276 Statement statement = conn.createStatement(); local 286 Statement statement = conn.createStatement(); local 293 Statement statement = conn.createStatement(); local 301 Statement statement = conn.createStatement(); local 312 Statement statement = conn.createStatement(); local 324 Statement statement = conn.createStatement(); local 340 Statement statement = conn.createStatement(); local 352 Statement statement = conn.createStatement(); local 370 Statement statement = conn.createStatement(); local 386 Statement statement = conn.createStatement(); local 396 Statement statement = conn.createStatement(); 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...] |
/libcore/luni/src/test/java/tests/java/sql/ |
DeleteFunctionalityTest.java | 25 import java.sql.Statement; 39 private static Statement statement = null; field in class:DeleteFunctionalityTest 45 statement = conn.createStatement(); 52 statement.close(); 66 statement 70 statement 74 statement 78 statement.execute(DatabaseCreator.DROP_TABLE5); 82 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT) [all...] |
UpdateFunctionalityTest2.java | 26 import java.sql.Statement; 40 private static Statement statement = null; field in class:UpdateFunctionalityTest2 47 statement = conn.createStatement(); 59 statement.close(); 72 statement 76 statement 80 statement 84 statement 88 statement [all...] |
InsertFunctionalityTest.java | 23 import java.sql.Statement; 37 private static Statement statement = null; field in class:InsertFunctionalityTest 43 statement = conn.createStatement(); 50 statement.close(); 63 statement 67 statement 71 statement 75 statement 79 statement [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
|