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
arguments"
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: http://www.nabble.com/BOOST_CLASS_TEST_CASE-not-working-tf4553611.html#a12994707
Sent from the Boost - Testing mailing list archive at Nabble.com.

Boost-testing list run by mbergal at meta-comm.com