Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-death-test.h168 # define ASSERT_EXIT(statement, predicate, regex) \ argument
169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
173 # define EXPECT_EXIT(statement, predicate, regex) \ argument
174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
179 # define ASSERT_DEATH(statement, regex) \ argument
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
184 # define EXPECT_DEATH(statement, regex) \ argument
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
258 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
259 GTEST_EXECUTE_STATEMENT_(statement, regex)
[all …]
Dgtest-spi.h138 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument
142 static void Execute() { statement; }\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
159 static void Execute() { statement; }\
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ argument
214 if (::testing::internal::AlwaysTrue()) { statement; }\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
228 if (::testing::internal::AlwaysTrue()) { statement; }\
Dgtest.h1867 #define EXPECT_THROW(statement, expected_exception) \ argument
1868 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1869 #define EXPECT_NO_THROW(statement) \ argument
1870 GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_)
1871 #define EXPECT_ANY_THROW(statement) \ argument
1872 GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_)
1873 #define ASSERT_THROW(statement, expected_exception) \ argument
1874 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
1875 #define ASSERT_NO_THROW(statement) \ argument
1876 GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_)
[all …]
Dgtest-param-test.h.pump99 // The following statement will instantiate tests from the FooTest test case
122 // This statement will instantiate all tests from FooTest again, each
137 // AFTER the INSTANTIATE_TEST_CASE_P statement.
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-death-test-internal.h79 static bool Create(const char* statement, const RE* regex,
143 virtual bool Create(const char* statement, const RE* regex,
150 virtual bool Create(const char* statement, const RE* regex,
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ argument
190 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
206 GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \
[all …]
Dgtest-internal.h1032 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \
1033 if (::testing::internal::AlwaysTrue()) { statement; }
1035 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1040 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1047 "Expected: " #statement " throws an exception of type " \
1053 "Expected: " #statement " throws an exception of type " \
1061 #define GTEST_TEST_NO_THROW_(statement, fail) \
1065 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1072 fail("Expected: " #statement " doesn't throw an exception.\n" \
1075 #define GTEST_TEST_ANY_THROW_(statement, fail) \
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc345 bool DeathTest::Create(const char* statement, const RE* regex, in Create() argument
348 statement, regex, file, line, test); in Create()
379 const char* statement() const { return statement_; } in statement() function in testing::internal::DeathTestImpl
539 buffer << "Death test: " << statement() << "\n"; in Passed()
778 ForkingDeathTest(const char* statement, const RE* regex);
1153 bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex, in Create() argument
1182 *test = new WindowsDeathTest(statement, regex, file, line); in Create()
1188 *test = new ExecDeathTest(statement, regex, file, line); in Create()
1190 *test = new NoExecDeathTest(statement, regex); in Create()
/ndk/sources/host-tools/sed-4.2.1/m4/
Dsys_time_h.m412 dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement
Dlib-prefix.m4142 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
/ndk/tests/device/issue42891-boost-1_52/
DCOPYING10 The copyright notices in the Software and this entire statement, including
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dunit_test_suite.ipp110 …// !! weirdest MSVC BUG; try to remove this statement; looks like it eats first token of next stat…
/ndk/sources/host-tools/make-3.81/config/
Dlib-prefix.m4143 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dparallelism9 echo statement. When make is called in this test, it is given
/ndk/sources/host-tools/make-3.81/
Dreadme.vms95 %CC-I-IMPLICITFUNC, In this statement, the identifier "lowercase_x" is implicitly declared as a fun…
102 %CC-I-IMPLICITFUNC, In this statement, the identifier "UPPERCASE_X" is implicitly declared as a fun…
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-death-test_test.cc819 virtual bool Create(const char* statement,
/ndk/sources/host-tools/sed-4.2.1/
DCOPYING400 must place, in the relevant source files, a statement of the
582 public statement of acceptance of a version permanently authorizes you
DCOPYING.DOC391 License can be used, that proxy's public statement of acceptance of a
DChangeLog1323 if statement.
/ndk/sources/host-tools/ndk-stack/binutils/
DCOPYING3399 must place, in the relevant source files, a statement of the
581 public statement of acceptance of a version permanently authorizes you
/ndk/sources/host-tools/gdb-pretty-printers/stlport/gppfs-0.2/
DCOPYING400 must place, in the relevant source files, a statement of the
582 public statement of acceptance of a version permanently authorizes you
/ndk/sources/host-tools/sed-4.2.1/testsuite/
DBOOST.tests33 ; The copyright notices in the Software and this entire statement, including
/ndk/sources/host-tools/make-3.81/tests/
DChangeLog721 after an if-statement to make sure it works.
/ndk/docs/text/
DCHANGES.text577 w/o return statement. If you are sure your code is correct, use
1079 return statement
/ndk/sources/host-tools/make-3.81/doc/
Dmake.info-13175 use `cd' to affect the next statement, put both statements in a single
4163 an effect if the variable is not yet defined. This statement:
4751 statement like this:
Dmake.texi3811 systems.} If you want to use @code{cd} to affect the next statement,
5062 has an effect if the variable is not yet defined. This statement:
5802 statement like this: