Go to the source code of this file.
|
| template<class ExceptionType = std::exception, class Action = bool> |
| void | Moose::UnitUtils::assertThrows (const Action &action, const std::optional< std::string > &contains={}, const bool set_throw_on_error=false) |
| | A helper for asserting that calling something throws an exception. More...
|
| |
| template<typename ExceptionType , bool exact, bool assert, bool set_throw_on_error, typename Func > |
| void | Moose::UnitUtils::throwsWithMessage (Func &&fn, const std::string_view message, const char *file, int line) |
| | Helper for the [EXPECT,ASSERT]_[MOOSEERROR,THROW]_[MSG,MSG_CONTAINS] macros. More...
|
| |