📄 unit_test_parameters.hpp
字号:
// (C) Copyright Gennadiy Rozental 2001-2004.// 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: unit_test_parameters.hpp,v $//// Version : $Revision: 1.1.1.2 $//// Description : storage for unit test framework parameters information// ***************************************************************************#ifndef BOOST_UNIT_TEST_PARAMETERS_HPP_071894GER#define BOOST_UNIT_TEST_PARAMETERS_HPP_071894GER// STL#include <string> // std::string#include <boost/test/detail/unit_test_config.hpp>namespace boost {namespace unit_test {// framework parameters and there corresponding command-line argumentsstatic literal_string LOG_LEVEL = "BOOST_TEST_LOG_LEVEL"; // --log_levelstatic literal_string NO_RESULT_CODE = "BOOST_TEST_RESULT_CODE"; // --result_codestatic literal_string REPORT_LEVEL = "BOOST_TEST_REPORT_LEVEL"; // --report_levelstatic literal_string TESTS_TO_RUN = "BOOST_TESTS_TO_RUN"; // --run_teststatic literal_string SAVE_TEST_PATTERN = "BOOST_TEST_SAVE_PATTERN"; // --save_patternstatic literal_string BUILD_INFO = "BOOST_TEST_BUILD_INFO"; // --build_infostatic literal_string CATCH_SYS_ERRORS = "BOOST_TEST_CATCH_SYSTEM_ERRORS"; // --catch_system_errorsstatic literal_string REPORT_FORMAT = "BOOST_TEST_REPORT_FORMAT"; // --report_formatstatic literal_string LOG_FORMAT = "BOOST_TEST_LOG_FORMAT"; // --log_formatstatic literal_string OUTPUT_FORMAT = "BOOST_TEST_OUTPUT_FORMAT"; // --output_formatenum report_level { CONFIRMATION_REPORT, SHORT_REPORT, DETAILED_REPORT, NO_REPORT, UNDEF_REPORT };static literal_string report_level_names[] = { "confirm" , "short" , "detailed" , "no" };enum output_format { HRF /* human readable format */, XML /* XML */ };const_string retrieve_framework_parameter( const_string parameter_name_, int* argc_, char** argv_ );} // namespace unit_test} // namespace boost// ***************************************************************************// Revision History :// // $Log: unit_test_parameters.hpp,v $// Revision 1.1.1.2 2004/11/20 10:52:21 spion// Import of Boost v. 1.32.0//// Revision 1.16 2004/08/18 05:28:57 rogeeff// another tru64cxx65 workaround//// Revision 1.15 2004/07/19 12:24:32 rogeeff// guard rename//// Revision 1.14 2004/05/21 06:19:35 rogeeff// licence update//// Revision 1.13 2004/05/11 11:00:53 rogeeff// basic_cstring introduced and used everywhere// class properties reworked//// Revision 1.12 2003/12/01 00:41:56 rogeeff// prerelease cleaning//// ***************************************************************************#endif // BOOST_UNIT_TEST_CONFIG_HPP_071894GER
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -