Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185689 | Differences between
and this patch

Collapse All | Expand All

(-)exempi-1.99.3/exempi/tests/test1.cpp (-1 / +19 lines)
Lines 37-46 Link Here
37
#include <stdlib.h>
37
#include <stdlib.h>
38
#include <stdio.h>
38
#include <stdio.h>
39
39
40
#define BOOST_TEST_DYN_LINK
41
40
#include <string>
42
#include <string>
41
43
42
#include <boost/static_assert.hpp>
44
#include <boost/static_assert.hpp>
43
#include <boost/test/auto_unit_test.hpp>
45
#include <boost/test/unit_test.hpp>
46
#include <boost/test/framework.hpp>
47
#include <boost/test/results_reporter.hpp>
48
#include <boost/test/results_collector.hpp>
44
49
45
#include "xmpconsts.h"
50
#include "xmpconsts.h"
46
#include "xmp.h"
51
#include "xmp.h"
Lines 238-240 Link Here
238
    return test;
243
    return test;
239
}
244
}
240
245
246
247
int
248
main( int argc, char* argv[] )
249
{
250
	namespace ut =  boost::unit_test;
251
252
	ut::framework::init( argc, argv );
253
	ut::test_suite::test_suite* test = init_unit_test_suite( argc, argv );
254
	ut::framework::run( test );
255
	ut::results_reporter::make_report( ut::INV_REPORT_LEVEL, test->p_id );
256
	return ut::results_collector.results( test->p_id ).result_code();
257
}
258
(-)exempi-1.99.3/exempi/tests/test2.cpp (-1 / +19 lines)
Lines 39-46 Link Here
39
39
40
#include <string>
40
#include <string>
41
41
42
#define BOOST_TEST_DYN_LINK
43
42
#include <boost/static_assert.hpp>
44
#include <boost/static_assert.hpp>
43
#include <boost/test/auto_unit_test.hpp>
45
#include <boost/test/unit_test.hpp>
46
#include <boost/test/framework.hpp>
47
#include <boost/test/results_reporter.hpp>
48
#include <boost/test/results_collector.hpp>
44
49
45
#include "xmp.h"
50
#include "xmp.h"
46
#include "xmpconsts.h"
51
#include "xmpconsts.h"
Lines 165-167 Link Here
165
    return test;
170
    return test;
166
}
171
}
167
172
173
174
int
175
main( int argc, char* argv[] )
176
{
177
	namespace ut =  boost::unit_test;
178
179
	ut::framework::init( argc, argv );
180
	ut::test_suite::test_suite* test = init_unit_test_suite( argc, argv );
181
	ut::framework::run( test );
182
	ut::results_reporter::make_report( ut::INV_REPORT_LEVEL, test->p_id );
183
	return ut::results_collector.results( test->p_id ).result_code();
184
}
185
(-)exempi-1.99.3/exempi/tests/test3.cpp (-1 / +19 lines)
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

Return to bug 185689