Convenience test fixture struct to request desired logging level from Boost.Test.
More...
Convenience test fixture struct to request desired logging level from Boost.Test.
Definition at line 120 of file UnitTestMain.cpp.
TestFixture::TestFixture |
( |
void |
| ) |
|
|
inline |
Definition at line 121 of file UnitTestMain.cpp.
122 boost::unit_test::log_level log_level =
123 boost::unit_test::log_successful_tests
133 boost::unit_test::unit_test_log.set_threshold_level(log_level);
136 char**& argv = boost::unit_test::framework::master_test_suite().argv;
137 int argc = boost::unit_test::framework::master_test_suite().argc;
142 bool regressionRequested =
false;
143 for(
int i = 1; i < argc; i++) {
144 if(argv[i] == regression) {
145 regressionRequested =
true;
156 if(regressionRequested ==
false) {
157 std::cout <<
"NOTE: Disabling all regression tests. Use -regression to enable them."
160 boost::unit_test::traverse_test_tree(boost::unit_test::framework::master_test_suite(),
161 regressionTestFilter);
Test suite visitor to disable regression tests.
Encapsulation of filesystem paths that are used by the library.
The documentation for this struct was generated from the following file: