Home | History | Annotate | Download | only in gtest

Lines Matching refs:statement

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 of
184 // The verification of the assertion is done correctly even when the statement
194 // EXPECT_NONFATAL_FAILURE() a statement that contains a macro that
200 // if (::testing::internal::AlwaysTrue()) { statement; }
202 // GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
214 if (::testing::internal::AlwaysTrue()) { statement; }\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
228 if (::testing::internal::AlwaysTrue()) { statement; }\