Lines 40-47
Link Here
|
40 |
#include <string> |
40 |
#include <string> |
41 |
#include <iostream> |
41 |
#include <iostream> |
42 |
|
42 |
|
|
|
43 |
#define BOOST_TEST_DYN_LINK |
44 |
|
43 |
#include <boost/static_assert.hpp> |
45 |
#include <boost/static_assert.hpp> |
44 |
#include <boost/test/auto_unit_test.hpp> |
46 |
#include <boost/test/unit_test.hpp> |
|
|
47 |
#include <boost/test/framework.hpp> |
48 |
#include <boost/test/results_reporter.hpp> |
49 |
#include <boost/test/results_collector.hpp> |
45 |
#include <boost/format.hpp> |
50 |
#include <boost/format.hpp> |
46 |
|
51 |
|
47 |
#include "xmp.h" |
52 |
#include "xmp.h" |
Lines 136-138
Link Here
|
136 |
return test; |
141 |
return test; |
137 |
} |
142 |
} |
138 |
|
143 |
|
|
|
144 |
|
145 |
int |
146 |
main( int argc, char* argv[] ) |
147 |
{ |
148 |
namespace ut = boost::unit_test; |
149 |
|
150 |
ut::framework::init( argc, argv ); |
151 |
ut::test_suite::test_suite* test = init_unit_test_suite( argc, argv ); |
152 |
ut::framework::run( test ); |
153 |
ut::results_reporter::make_report( ut::INV_REPORT_LEVEL, test->p_id ); |
154 |
return ut::results_collector.results( test->p_id ).result_code(); |
155 |
} |
156 |
|