mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Moved mock::exception in its own header so that it can be included without the error policy
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@582 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
3c0bb8e16e
commit
6d3630f0a2
4 changed files with 29 additions and 4 deletions
|
|
@ -10,18 +10,15 @@
|
|||
#define MOCK_ERROR_HPP_INCLUDED
|
||||
|
||||
#include "config.hpp"
|
||||
#include "exception.hpp"
|
||||
#ifdef MOCK_USE_BOOST_TEST
|
||||
#include <boost/test/framework.hpp>
|
||||
#include <boost/test/test_tools.hpp>
|
||||
#include <boost/test/unit_test_suite.hpp>
|
||||
#include <boost/test/execution_monitor.hpp>
|
||||
#include <boost/exception/enable_current_exception.hpp>
|
||||
|
||||
namespace mock
|
||||
{
|
||||
struct exception : virtual boost::execution_aborted
|
||||
{};
|
||||
|
||||
template< typename Result >
|
||||
struct error
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue