test_doc
test_all.cpp
浏览该文件的文档.
1 /*
2  * test_all.cpp
3  *
4  * Created on: 2010-5-23
5  * Author: fasiondog
6  */
7 
24 #define BOOST_TEST_MODULE test_all
25 #include <boost/test/unit_test.hpp>
26 
27 // Linux下在Eclipse中编译必须使用下面的头文件(使用bjam不需要),否则提示无法找到“main“函数,原因未知
28 // 但bjam编译时会有告警,虽然可以编译通过。
29 // Windows下,如果使用下面的头文件将无法编译。
30 #ifdef ECLIPSE_GCC
31 #include <boost/test/included/unit_test.hpp>
32 #endif
33 
34 using namespace boost::unit_test;