Go to the source code of this file.
|
| namespace | Moose |
| | MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found.
|
| |
| namespace | Moose::UnitUtils |
| |
|
| 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.
|
| |
| 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.
|
| |