Lines Matching refs:statement
302 Note that the piece of code under test can be a compound statement, for example:
313 `EXPECT_THROW(`*`statement`*`,`*`exception_type`*`)` \
314 `ASSERT_THROW(`*`statement`*`,`*`exception_type`*`)`
316 Verifies that *`statement`* throws an exception of type *`exception_type`*.
320 `EXPECT_ANY_THROW(`*`statement`*`)` \
321 `ASSERT_ANY_THROW(`*`statement`*`)`
323 Verifies that *`statement`* throws an exception of any type.
327 `EXPECT_NO_THROW(`*`statement`*`)` \
328 `ASSERT_NO_THROW(`*`statement`*`)`
330 Verifies that *`statement`* does not throw any exception.
534 * If the variable's value is `"fast"`, the death test statement is
548 If the death test statement runs to completion without dying, the child process
551 Note that the piece of code under test can be a compound statement, for example:
562 `EXPECT_DEATH(`*`statement`*`,`*`matcher`*`)` \
563 `ASSERT_DEATH(`*`statement`*`,`*`matcher`*`)`
565 Verifies that *`statement`* causes the process to terminate with a nonzero exit
584 `EXPECT_DEATH_IF_SUPPORTED(`*`statement`*`,`*`matcher`*`)` \
585 `ASSERT_DEATH_IF_SUPPORTED(`*`statement`*`,`*`matcher`*`)`
592 `EXPECT_DEBUG_DEATH(`*`statement`*`,`*`matcher`*`)` \
593 `ASSERT_DEBUG_DEATH(`*`statement`*`,`*`matcher`*`)`
596 debug mode (i.e. `NDEBUG` is defined), just executes *`statement`*.
600 `EXPECT_EXIT(`*`statement`*`,`*`predicate`*`,`*`matcher`*`)` \
601 `ASSERT_EXIT(`*`statement`*`,`*`predicate`*`,`*`matcher`*`)`
603 Verifies that *`statement`* causes the process to terminate with an exit status