https://mooseframework.inl.gov
Namespaces | Functions
MooseUnitUtils.h File Reference

Go to the source code of this file.

Namespaces

 Moose::UnitUtils
 

Functions

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...