Update from deprecated unit test header inclusion

This commit is contained in:
Alexander Grund 2020-07-12 17:53:18 +02:00
parent d9a10afc12
commit c2617ba360
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
30 changed files with 30 additions and 30 deletions

View file

@ -50,7 +50,7 @@ struct configurable_mock_error
#define MOCK_USE_BOOST_TEST
//[ prerequisite
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
//]
#include "calculator.hpp"

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
//[ limitations_non_virtual_method_problem

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace limitations_template_method_problem

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
#include "calculator.hpp"
#include "mock_view.hpp"

View file

@ -38,7 +38,7 @@ namespace mock_test
}
//[ async_call_solution
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/thread.hpp>
#include <turtle/mock.hpp>

View file

@ -32,7 +32,7 @@ void function( base_class& c)
}
//[ invoke_functor_solution
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace

View file

@ -7,7 +7,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//[ quick_constraint_problem
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
#include <iostream>

View file

@ -38,7 +38,7 @@ namespace mock_test
}
//[ retrieve_cref_solution
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace mock_test

View file

@ -10,7 +10,7 @@
#define ASSERT_VERIFY_FAIL() mock::reset()
//[ static_objects_problem
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
#include <ostream>

View file

@ -6,7 +6,7 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/test/auto_unit_test.hpp>
#include <boost/test/unit_test.hpp>
#include <turtle/mock.hpp>
namespace class_example_1