[boost] Re: Boost.Test with templated test cases... or is itbind?(was:Howto make Boost.Test work with function objects?)

2003-02-06 Thread Gennadiy Rozental
test-add(BOOST_TEST_CASE(::boost::bind(fn, 1))); I just tried this and MSVC7 tells me: test_charset.cpp(50) : error C2664: 'boost::unit_test_framework::test_case *boost::unit_test_framework::create_test_case(void (__cdecl *)(void),std::string)' : cannot convert parameter 1 from

[boost] Re: Boost.Test with templated test cases... or is itbind?(was:Howto make Boost.Test work with function objects?)

2003-01-30 Thread Gennadiy Rozental
I guess it would help if the syntax for all four possibilities (normal function, templated function, normal function object templated function object) made it into the Boost.Test documentation. Syntax is basically the same for all simple (not parameterized tests) cases. Though I admit