git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@342 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2011-05-20 10:49:16 +00:00
parent ee1c42843c
commit bec0c8aafa
13 changed files with 16 additions and 59 deletions

View file

@ -8,10 +8,7 @@
#include <turtle/constraints.hpp>
#include <turtle/operators.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
BOOST_AUTO_TEST_CASE( all_comparison_constraints_can_be_instanciated )
{

View file

@ -7,10 +7,7 @@
//
#include <turtle/error.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
BOOST_AUTO_TEST_CASE( a_mock_exception_is_not_an_std_exception_to_not_mess_with_user_exceptions )
{

View file

@ -6,15 +6,13 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
#include "mock_error.hpp"
#define BOOST_AUTO_TEST_MAIN
#include "mock_error.hpp"
#include <turtle/function.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#define MOCK_ERROR_POLICY mock_error
#include <turtle/mock.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
#define CHECK_CALLS( calls ) \

View file

@ -7,14 +7,8 @@
//
#include "mock_error.hpp"
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#define MOCK_ERROR_POLICY mock_error
#include <turtle/mock.hpp>
#include <boost/test/auto_unit_test.hpp>
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <boost/ref.hpp>

View file

@ -7,10 +7,7 @@
//
#include <turtle/invocation.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
BOOST_AUTO_TEST_CASE( unlimited )
{

View file

@ -7,8 +7,7 @@
//
#include <turtle/is_functor.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <boost/test/auto_unit_test.hpp>
#ifdef _MSC_VER
#pragma warning( push, 0 )
#endif
@ -17,10 +16,8 @@
#ifdef _MSC_VER
#pragma warning( pop )
#endif
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
namespace
{

View file

@ -7,6 +7,7 @@
//
#include <turtle/log.hpp>
#include <boost/test/auto_unit_test.hpp>
#include <boost/assign.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
@ -17,10 +18,6 @@
#include <map>
#include <set>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
namespace
{
template< typename T >

View file

@ -1,4 +1,3 @@
//
// Copyright Mathieu Champlon 2008
//
@ -8,14 +7,9 @@
//
#include "mock_error.hpp"
#define MOCK_ERROR_POLICY mock_error
#include <turtle/mock.hpp>
#include <boost/preprocessor/repetition/enum.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#include <boost/preprocessor/repetition/enum.hpp>
#define IDENTITY(z, n, d) d

View file

@ -9,7 +9,7 @@
#ifndef MOCK_TEST_MOCK_ERROR_HPP_INCLUDED
#define MOCK_TEST_MOCK_ERROR_HPP_INCLUDED
#include <boost/type_traits/remove_reference.hpp>
#define MOCK_ERROR_POLICY mock_error
#include <boost/lexical_cast.hpp>
#include <stdexcept>
#include <string>

View file

@ -7,12 +7,10 @@
//
#include <turtle/mock.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/bind.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/bind.hpp>
namespace
{

View file

@ -7,14 +7,9 @@
//
#include "mock_error.hpp"
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#define MOCK_ERROR_POLICY mock_error
#include <turtle/object.hpp>
#include <turtle/function.hpp>
#include <boost/test/auto_unit_test.hpp>
namespace
{

View file

@ -7,13 +7,9 @@
//
#include "mock_error.hpp"
#include <turtle/sequence.hpp>
#include <turtle/function.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
#define MOCK_ERROR_POLICY mock_error
#include <turtle/mock.hpp>
BOOST_AUTO_TEST_CASE( registering_to_a_sequence_and_calling_out_of_order_throws )
{

View file

@ -7,10 +7,7 @@
//
#include <turtle/type_name.hpp>
#include <boost/test/auto_unit_test.hpp>
#define BOOST_LIB_NAME boost_unit_test_framework
#include <boost/config/auto_link.hpp>
struct my_type_from_default_namespace {};