mirror of
https://github.com/boostorg/range.git
synced 2025-07-24 01:47:25 +02:00
eliminated unit_test_framework
[SVN r74719]
This commit is contained in:
@ -172,9 +172,9 @@ void check_adl_conformance()
|
||||
BOOST_CHECK_EQUAL( boost_test::begin( r6 ), global_namespace );
|
||||
}
|
||||
|
||||
#include <boost/test/included/unit_test_framework.hpp>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
using boost::unit_test_framework::test_suite;
|
||||
using boost::unit_test::test_suite;
|
||||
|
||||
test_suite* init_unit_test_suite( int argc, char* argv[] )
|
||||
{
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <boost/range/begin.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/test/test_tools.hpp>
|
||||
#include <boost/test/included/unit_test_framework.hpp>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
namespace mock_std
|
||||
{
|
||||
@ -104,12 +104,12 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
using boost::unit_test_framework::test_suite;
|
||||
using boost::unit_test::test_suite;
|
||||
|
||||
boost::unit_test_framework::test_suite*
|
||||
boost::unit_test::test_suite*
|
||||
init_unit_test_suite( int argc, char* argv[] )
|
||||
{
|
||||
boost::unit_test_framework::test_suite* test = BOOST_TEST_SUITE( "Range Test Suite - begin() ADL namespace barrier" );
|
||||
boost::unit_test::test_suite* test = BOOST_TEST_SUITE( "Range Test Suite - begin() ADL namespace barrier" );
|
||||
|
||||
test->add( BOOST_TEST_CASE( &test_range_begin ) );
|
||||
|
||||
|
@ -53,9 +53,9 @@ void compat1()
|
||||
iterator_of< std::vector<int> >::type i = v.begin();
|
||||
}
|
||||
|
||||
#include <boost/test/included/unit_test_framework.hpp>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
using boost::unit_test_framework::test_suite;
|
||||
using boost::unit_test::test_suite;
|
||||
|
||||
test_suite* init_unit_test_suite( int argc, char* argv[] )
|
||||
{
|
||||
|
4
test/compat3.cpp
Executable file → Normal file
4
test/compat3.cpp
Executable file → Normal file
@ -53,9 +53,9 @@ void compat1()
|
||||
iterator_of< std::vector<int> >::type i = v.begin();
|
||||
}
|
||||
|
||||
#include <boost/test/included/unit_test_framework.hpp>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
using boost::unit_test_framework::test_suite;
|
||||
using boost::unit_test::test_suite;
|
||||
|
||||
test_suite* init_unit_test_suite( int argc, char* argv[] )
|
||||
{
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <boost/range/end.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/test/test_tools.hpp>
|
||||
#include <boost/test/included/unit_test_framework.hpp>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
namespace mock_std
|
||||
{
|
||||
@ -104,12 +104,12 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
using boost::unit_test_framework::test_suite;
|
||||
using boost::unit_test::test_suite;
|
||||
|
||||
boost::unit_test_framework::test_suite*
|
||||
boost::unit_test::test_suite*
|
||||
init_unit_test_suite( int argc, char* argv[] )
|
||||
{
|
||||
boost::unit_test_framework::test_suite* test = BOOST_TEST_SUITE( "Range Test Suite - end() ADL namespace barrier" );
|
||||
boost::unit_test::test_suite* test = BOOST_TEST_SUITE( "Range Test Suite - end() ADL namespace barrier" );
|
||||
|
||||
test->add( BOOST_TEST_CASE( &test_range_end_adl_avoidance ) );
|
||||
|
||||
|
Reference in New Issue
Block a user