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:
mat007 2013-01-07 16:16:49 +00:00
parent 3c0bb8e16e
commit 6d3630f0a2
4 changed files with 29 additions and 4 deletions

View file

@ -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
{