Boost logo

Boost Testing :

From: Monsieur_jj (zjonathan2004_at_[hidden])
Date: 2007-10-02 04:31:14

  Hi all,

I am testing a certain function and I am getting an error
"error C2660: 'boost::unit_test::make_test_case' : function does not take 3
This is the code below:

#include using boost::unit_test::test_suite;test_suite*
init_unit_test_suite( int argc, char* argv[] )
test_suite* test = BOOST_TEST_SUITE( "Test Convert" );
boost::shared_ptr> instance( new MailFile<MAPIMSG> );
test->add( BOOST_CLASS_TEST_CASE(&MailFile<MAPIMSG>::Convert, instance) );
return test;

What is wrong with this code?

View this message in context:
Sent from the Boost - Testing mailing list archive at

Boost-testing list run by mbergal at