forked from boostorg/regex
Remove all uses of Boost.Test.
This commit is contained in:
@ -16,7 +16,8 @@
|
||||
* DESCRIPTION: Test code for a generic object cache.
|
||||
*/
|
||||
#include <boost/regex/pending/object_cache.hpp>
|
||||
#include <boost/test/included/test_exec_monitor.hpp>
|
||||
#include <boost/detail/lightweight_main.hpp>
|
||||
#include "../test_macros.hpp"
|
||||
|
||||
class test_object
|
||||
{
|
||||
@ -43,7 +44,7 @@ int test_object::s_count = 0;
|
||||
|
||||
static const int max_cache_size = 5;
|
||||
|
||||
int test_main(int /*argc*/, char * /*argv*/[])
|
||||
int cpp_main(int /*argc*/, char * /*argv*/[])
|
||||
{
|
||||
int i;
|
||||
for(i = 0; i < 20; ++i)
|
||||
@ -73,6 +74,4 @@ int test_main(int /*argc*/, char * /*argv*/[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
#include <boost/test/included/test_exec_monitor.hpp>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user