x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
global_typedef.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\test\detail\global_typedef.hpp
旋转
特效
属性
历史版本
// (C) Copyright Gennadiy Rozental 2001-2007. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version : $Revision: 41369 $ // // Description : some trivial global typedefs // *************************************************************************** #ifndef BOOST_TEST_GLOBAL_TYPEDEF_HPP_021005GER #define BOOST_TEST_GLOBAL_TYPEDEF_HPP_021005GER #include
#define BOOST_TEST_L( s ) boost::unit_test::const_string( s, sizeof( s ) - 1 ) #define BOOST_TEST_STRINGIZE( s ) BOOST_TEST_L( BOOST_STRINGIZE( s ) ) #define BOOST_TEST_EMPTY_STRING BOOST_TEST_L( "" ) #include
//____________________________________________________________________________// namespace boost { namespace unit_test { typedef unsigned long counter_t; //____________________________________________________________________________// enum report_level { CONFIRMATION_REPORT, SHORT_REPORT, DETAILED_REPORT, NO_REPORT, INV_REPORT_LEVEL }; //____________________________________________________________________________// enum output_format { CLF /* compiler log format */, XML /* XML */ }; //____________________________________________________________________________// enum test_unit_type { tut_case = 0x01, tut_suite = 0x10, tut_any = 0x11 }; //____________________________________________________________________________// typedef unsigned long test_unit_id; const test_unit_id INV_TEST_UNIT_ID = 0xFFFFFFFF; const test_unit_id MAX_TEST_CASE_ID = 0xFFFFFFFE; const test_unit_id MIN_TEST_CASE_ID = 0x00010000; const test_unit_id MAX_TEST_SUITE_ID = 0x0000FF00; const test_unit_id MIN_TEST_SUITE_ID = 0x00000001; //____________________________________________________________________________// inline test_unit_type test_id_2_unit_type( test_unit_id id ) { return (id & 0xFFFF0000) != 0 ? tut_case : tut_suite; } //____________________________________________________________________________// } // namespace unit_test } // namespace boost //____________________________________________________________________________// #include
#endif // BOOST_TEST_GLOBAL_TYPEDEF_HPP_021005GER
global_typedef.hpp
网页地址
文件地址
上一页
4/8
下一页
下载
( 2 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.