Updated Boost.Algorithm tests to use non-deprecated test framework

[SVN r82785]
This commit is contained in:
Marshall Clow
2013-02-08 17:21:43 +00:00
parent 4ca6b10441
commit f65d36aca7
44 changed files with 228 additions and 203 deletions

View File

@ -13,7 +13,8 @@
#include <boost/algorithm/string/predicate.hpp>
// Include unit test framework
#include <boost/test/included/test_exec_monitor.hpp>
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
#include <string>
#include <vector>
@ -70,10 +71,8 @@ void join_test()
BOOST_CHECK( equals(join_if(tokens3, "-", is_not_empty), "") );
}
// test main
int test_main( int, char*[] )
BOOST_AUTO_TEST_CASE( test_main )
{
join_test();
return 0;
}