Boost.Test框架测试宏令人困惑。有没有办法用BOOST_TEST_*
和BOOST_AUTO_TEST_*
宏帮助doxygen更好地工作? ref api page?
我遇到了这个PREDEFINED设置的doxygen似乎有帮助:
PREDEFINED = "BOOST_AUTO_TEST_CASE(name)=void name()" \
"BOOST_AUTO_TEST_SUITE(name)=namespace BoostTest { class name {public:" \
"BOOST_FIXTURE_TEST_SUITE(name,data)=namespace BoostTest { class name {public:" \
"BOOST_AUTO_TEST_SUITE_END()=};}" \
"BOOST_CONCEPT_REQUIRES(req,type)=type " \
"BOOST_CONCEPT_ASSERT(req)= "