/usr/include/boost/test/impl
NameSizeModeActions
compiler_log_formatter.ipp97570644editdlrm
cpp_main.ipp46140644editdlrm
debug.ipp321860644editdlrm
decorator.ipp79190644editdlrm
execution_monitor.ipp531260644editdlrm
framework.ipp702610644editdlrm
junit_log_formatter.ipp311600644editdlrm
plain_report_formatter.ipp75550644editdlrm
progress_monitor.ipp55220644editdlrm
results_collector.ipp109650644editdlrm
results_reporter.ipp57010644editdlrm
test_framework_init_observer.ipp23370644editdlrm
test_main.ipp21000644editdlrm
test_tools.ipp272630644editdlrm
test_tree.ipp185230644editdlrm
unit_test_log.ipp262890644editdlrm
unit_test_main.ipp104850644editdlrm
unit_test_monitor.ipp31770644editdlrm
unit_test_parameters.ipp327090644editdlrm
xml_log_formatter.ipp70280644editdlrm
xml_report_formatter.ipp39160644editdlrm
Edit: /usr/include/boost/test/impl/test_framework_init_observer.ipp (2337B)
// (c) Copyright Raffi Enficiaud 2017. // 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 //! An observer for monitoring the success/failure of the other observers // *************************************************************************** #ifndef BOOST_TEST_FRAMEWORK_INIT_OBSERVER_IPP_021105GER #define BOOST_TEST_FRAMEWORK_INIT_OBSERVER_IPP_021105GER // Boost.Test #include #include #include //____________________________________________________________________________// namespace boost { namespace unit_test { //____________________________________________________________________________// // ************************************************************************** // // ************** framework_init_observer_t ************** // // ************************************************************************** // void framework_init_observer_t::clear() { m_has_failure = false; } //____________________________________________________________________________// void framework_init_observer_t::test_start( counter_t, test_unit_id ) { clear(); } //____________________________________________________________________________// void framework_init_observer_t::assertion_result( unit_test::assertion_result ar ) { switch( ar ) { case AR_FAILED: m_has_failure = true; break; default: break; } } //____________________________________________________________________________// void framework_init_observer_t::exception_caught( execution_exception const& ) { m_has_failure = true; } void framework_init_observer_t::test_aborted() { m_has_failure = true; } //____________________________________________________________________________// bool framework_init_observer_t::has_failed() const { return m_has_failure; } //____________________________________________________________________________// } // namespace unit_test } // namespace boost #include #endif // BOOST_TEST_FRAMEWORK_INIT_OBSERVER_IPP_021105GER