Remove all uses of Boost.Test.

This commit is contained in:
jzmaddock
2015-10-08 10:06:34 +01:00
parent a307fd7077
commit 09e789b4c6
14 changed files with 281 additions and 58 deletions

View File

@ -17,7 +17,8 @@
*/
#include <boost/regex.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/detail/lightweight_main.hpp>
#include "../test_macros.hpp"
#include <boost/array.hpp>
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
@ -50,7 +51,7 @@ void test_captures(const std::string& regx, const std::string& text, T& expected
}
}
int test_main(int , char* [])
int cpp_main(int , char* [])
{
typedef const char* pchar;
pchar e1[4][5] =
@ -113,4 +114,3 @@ int test_main(int , char* [])
return 0;
}
#include <boost/test/included/test_exec_monitor.hpp>