HomeSort by: relevance | last modified time | path
    Searched refs:statement (Results 1 - 25 of 43) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib.old/dist/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...]
gtest-spi.h 117 // statement will cause exactly one fatal Google Test failure with 'substr'
124 // The verification of the assertion is done correctly even when the statement
128 // - 'statement' cannot reference local non-static variables or
130 // - 'statement' cannot return a value.
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
142 static void Execute() { statement; }\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
159 static void Execute() { statement; }\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
181 // 'statement' is allowed to reference local variables and members o
    [all...]
gtest.h 226 // Then a statement EXPECT_FALSE(IsEven(Fib(6))) will print
1836 // * {ASSERT|EXPECT}_THROW(statement, expected_exception):
1837 // Tests that the statement throws the expected exception.
1838 // * {ASSERT|EXPECT}_NO_THROW(statement):
1839 // Tests that the statement doesn't throw any exception.
1840 // * {ASSERT|EXPECT}_ANY_THROW(statement):
1841 // Tests that the statement throws an exception.
1843 #define EXPECT_THROW(statement, expected_exception) \
1844 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1845 #define EXPECT_NO_THROW(statement) \
    [all...]
  /xsrc/external/mit/MesaLib/dist/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...]
gtest-spi.h 123 // statement will cause exactly one fatal Google Test failure with 'substr'
130 // The verification of the assertion is done correctly even when the statement
134 // - 'statement' cannot reference local non-static variables or
136 // - 'statement' cannot return a value.
144 #define EXPECT_FATAL_FAILURE(statement, substr) \
148 static void Execute() { statement; }\
161 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
165 static void Execute() { statement; }\
180 // statement will cause exactly one non-fatal Google Test failure with 'substr'
187 // 'statement' is allowed to reference local variables and members o
    [all...]
gtest.h 245 // Then a statement EXPECT_FALSE(IsEven(Fib(6))) will print
1945 // * {ASSERT|EXPECT}_THROW(statement, expected_exception):
1946 // Tests that the statement throws the expected exception.
1947 // * {ASSERT|EXPECT}_NO_THROW(statement):
1948 // Tests that the statement doesn't throw any exception.
1949 // * {ASSERT|EXPECT}_ANY_THROW(statement):
1950 // Tests that the statement throws an exception.
1952 #define EXPECT_THROW(statement, expected_exception) \
1953 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1954 #define EXPECT_NO_THROW(statement) \
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/
gtest-death-test-internal.h 79 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,
158 // Traps C++ exceptions escaping statement and reports them as test
161 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
163 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
168 "death test statement. Exception message: %s\n", \
178 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
179 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail)
    [all...]
gtest-internal.h 1119 // statement if it returns or throws (or doesn't return or throw in some
1121 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \
1122 if (::testing::internal::AlwaysTrue()) { statement; }
1124 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1129 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1136 "Expected: " #statement " throws an exception of type " \
1142 "Expected: " #statement " throws an exception of type " \
1150 #define GTEST_TEST_NO_THROW_(statement, fail) \
1154 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1161 fail("Expected: " #statement " doesn't throw an exception.\n"
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/internal/
gtest-death-test-internal.h 83 static bool Create(const char* statement, Matcher<const std::string&> matcher,
149 virtual bool Create(const char* statement,
157 bool Create(const char* statement, Matcher<const std::string&> matcher,
187 // Traps C++ exceptions escaping statement and reports them as test
190 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
192 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
197 "death test statement. Exception message: %s\n", \
207 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
208 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
214 #define GTEST_DEATH_TEST_(statement, predicate, regex_or_matcher, fail)
    [all...]
gtest-internal.h 1255 // statement if it returns or throws (or doesn't return or throw in some
1257 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \
1258 if (::testing::internal::AlwaysTrue()) { statement; }
1260 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1265 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1272 "Expected: " #statement " throws an exception of type " \
1278 "Expected: " #statement " throws an exception of type " \
1286 #define GTEST_TEST_NO_THROW_(statement, fail) \
1290 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
1297 fail("Expected: " #statement " doesn't throw an exception.\n"
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gtest/src/
gtest-death-test.cc 238 // to executing the given statement. It is the responsibility of the
274 // RETURNED means that the test statement attempted to execute a return
275 // statement, which is not allowed; THREW means that the test statement
379 bool DeathTest::Create(const char* statement,
383 statement, std::move(matcher), file, line, test);
414 const char* statement() const { return statement_; } function in class:testing::internal::DeathTestImpl
578 buffer << "Death test: " << statement() << "\n";
589 buffer << " Result: illegal return in test statement.\n"
1075 ForkingDeathTest(const char* statement, Matcher<const std::string&> matcher)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gtest/src/
gtest-death-test.cc 226 // to executing the given statement. It is the responsibility of the
249 // RETURNED means that the test statement attempted to execute a return
250 // statement, which is not allowed; THREW means that the test statement
356 bool DeathTest::Create(const char* statement, const RE* regex,
359 statement, regex, file, line, test);
390 const char* statement() const { return statement_; } function in class:testing::internal::DeathTestImpl
550 buffer << "Death test: " << statement() << "\n";
561 buffer << " Result: illegal return in test statement.\n"
789 ForkingDeathTest(const char* statement, const RE* regex)
    [all...]
  /xsrc/external/mit/xterm/dist/
ptyx.h 2409 #define if_PRINT_GRAPHICS2(statement) if (optRegisGraphics(screen)) { statement; } else
2411 #define if_PRINT_GRAPHICS2(statement) /* nothing */
  /xsrc/external/mit/MesaLib/dist/src/mesa/program/
program_parse.y 346 statementSequence: statementSequence statement
350 statement: instruction ';' label
2064 "undefined variable binding in ALIAS statement");
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
program_parse.y 337 statementSequence: statementSequence statement
341 statement: instruction ';' label
2043 "undefined variable binding in ALIAS statement");
  /xsrc/external/mit/beforelight/dist/
configure 5897 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5900 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5932 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/luit/dist/
configure 5824 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
5827 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
5859 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/mkfontdir/dist/
configure 5567 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5570 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5571 cacheid=`$as_echo_n xorg_cv_cc_flag_-Wdeclaration-after-statement`
5602 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/proxymngr/dist/
configure 6051 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
6054 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
6086 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/xcompmgr/dist/
configure 5880 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5883 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5915 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/xcursor-themes/dist/
configure 5895 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5898 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5930 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/xfindproxy/dist/
configure 5868 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5871 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5903 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/xtrap/dist/
configure 5881 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5884 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5916 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/xvidtune/dist/
configure 5676 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5679 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5711 BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
  /xsrc/external/mit/evieext/dist/
configure 4372 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"

Completed in 78 milliseconds

1 2