Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2003-05-29 09:48:20


> /////////////////////// START CODE ///////////////////
> // Boost Unit Test Library:
> #include <boost/test/unit_test.hpp>
> #include <boost/test/included/test_exec_monitor.hpp>

You included test_exec_monitor.

> // Individual Components:
> // None - just a clean compile would be nice!
>
> using namespace boost::unit_test_framework;
>
> test_suite* init_unit_test_suite(int argc, char* argv[]) {

You want to use unit test framework.

> test_suite* test= BOOST_TEST_SUITE("testtest");
> return test;
> }
> ////////////////////////// END CODE ////////////////////////

You should use
#include <boost/test/included/unit_test_framework.hpp>

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk