/external/tensorflow/tensorflow/core/lib/core/ |
status_test_util.h | 23 #define TF_EXPECT_OK(statement) \ 24 EXPECT_EQ(::tensorflow::Status::OK(), (statement)) 25 #define TF_ASSERT_OK(statement) \ 26 ASSERT_EQ(::tensorflow::Status::OK(), (statement))
|
/external/google-breakpad/src/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/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/libvpx/libvpx/third_party/googletest/src/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 | 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/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...] |
/external/swiftshader/third_party/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/v8/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/vulkan-validation-layers/tests/gtest-1.7.0/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...] |
/prebuilts/ndk/r16/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...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/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...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/m68k/ |
op68000.d | 6 .*statement `tstl %a0' ignored 7 .*statement `tstl %a0@\(8,%d0:w:2\)' ignored 8 .*statement `tstl %a0@\(8,%d0:w:4\)' ignored 9 .*statement `tstl %a0@\(8,%d0:w:8\)' ignored 10 .*statement `tstl %a0@\(8,%d0:l:2\)' ignored 11 .*statement `tstl %a0@\(8,%d0:l:4\)' ignored 12 .*statement `tstl %a0@\(8,%d0:l:8\)' ignored 13 .*statement `tstl %a0@\(%d0:w:2\)' ignored 14 .*statement `tstl \(8,%a0,%d0\*2\)' ignored 15 .*statement `tstl \(8,%a0,%d0\*4\)' ignore [all...] |
/libcore/ojluni/src/main/java/javax/sql/ |
StatementEvent.java | 46 private PreparedStatement statement; field in class:StatementEvent 55 * @param statement The <code>PreparedStatement</code> that is bieng closed or is invalid 62 PreparedStatement statement) { 66 this.statement = statement; 76 * @param statement The <code>PreparedStatement</code> that is being closed or is invalid 85 PreparedStatement statement, 90 this.statement = statement; 103 return this.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...] |
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
SupportSQLiteQuery.java | 33 * Callback to bind the query parameters to the compiled statement. 35 * @param statement The compiled statement 37 void bindTo(SupportSQLiteProgram statement);
|
SimpleSQLiteQuery.java | 56 public void bindTo(SupportSQLiteProgram statement) { 57 bind(statement, mBindArgs); 66 * Binds the given arguments into the given sqlite statement. 68 * @param statement The sqlite statement 71 public static void bind(SupportSQLiteProgram statement, Object[] bindArgs) { 78 bind(statement, i + 1, arg); 82 private static void bind(SupportSQLiteProgram statement, int index, Object arg) { 85 statement.bindNull(index); 87 statement.bindBlob(index, (byte[]) arg) [all...] |
/external/vogar/src/vogar/target/junit/ |
StatementRunner.java | 28 import org.junit.runners.model.Statement; 31 * Runs a {@link Statement}. 38 private final Statement statement; field in class:StatementRunner 42 Statement statement) { 44 this.statement = statement; 49 public StatementRunner(RunnerParams runnerParams, DescribableStatement statement) { 50 this(runnerParams, statement.getDescription(), statement) 60 Statement statement = this.statement; local [all...] |
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
Statement.java | 22 * An immutable value type representing a statement, consisting of a source, target, and relation. 35 * {@link Statement} with {@link #getSource} equal to the input parameter, {@link #getRelation} 47 public final class Statement { 53 private Statement(AbstractAsset source, AbstractAsset target, Relation relation) { 60 * Returns the source asset of the statement. 68 * Returns the target asset of the statement. 76 * Returns the relation of the statement. 84 * Creates a new Statement object for the specified target asset and relation. For example: 89 * Statement statement = Statement.create(asset, relation) 106 Statement statement = (Statement) o; local 131 StringBuilder statement = new StringBuilder(); local [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/ |
NodeWithStatements.java | 9 import com.github.javaparser.ast.stmt.Statement; 12 public List<Statement> getStmts(); 14 public T setStmts(final List<Statement> stmts); 17 public default T addStatement(Statement statement) { 18 getStmts().add(statement); 19 statement.setParentNode((Node) this); 24 public default T addStatement(int index, final Statement statement) { 25 getStmts().add(index, statement); 31 ExpressionStmt statement = new ExpressionStmt(expr); local [all...] |
/external/libchrome/base/test/ |
gtest_util.h | 19 // EXPECT/ASSERT_DEBUG_DEATH however, it doesn't execute the statement in non- 21 // happen and as such executing the statement results in undefined behavior 22 // (|statement| is compiled in unsupported configurations nonetheless). 30 #define EXPECT_DCHECK_DEATH(statement) EXPECT_DEATH(statement, "Check failed") 31 #define ASSERT_DCHECK_DEATH(statement) ASSERT_DEATH(statement, "Check failed") 41 # define GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, terminator) \ 46 << "Statement '" #statement "' cannot be verified."; [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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
NodeWithStatements.java | 30 import com.github.javaparser.ast.stmt.Statement;
38 NodeList<Statement> getStatements();
40 default Statement getStatement(int i) {
45 default N setStatement(int i, Statement statement) {
46 getStatements().set(i, statement);
50 N setStatements(final NodeList<Statement> statements);
53 default N addStatement(Statement statement) {
54 getStatements().add(statement);
91 ExpressionStmt statement = new ExpressionStmt(expr); local [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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
util.h | 31 int pysqlite_step(sqlite3_stmt* statement, pysqlite_Connection* connection);
|