Utopia  2
Framework for studying models of complex & adaptive systems.
Namespaces | Functions
exceptions.hh File Reference
#include <string>
#include <functional>
#include <string_view>
#include <type_traits>
#include <boost/test/unit_test.hpp>
#include <boost/core/demangle.hpp>
#include "../exceptions.hh"
#include "utils.hh"
Include dependency graph for exceptions.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Utopia
 
 Utopia::TestTools
 

Functions

template<typename ExcT , typename Callable = std::function<void()>>
void Utopia::TestTools::check_exception (Callable &&func, const std::string_view match="", const LocationInfo loc={})
 Checks if a callable throws with the expected error type and message. More...