diff --git a/internal/catch_capture.hpp b/internal/catch_capture.hpp index ee8b00ce..81373843 100644 --- a/internal/catch_capture.hpp +++ b/internal/catch_capture.hpp @@ -263,14 +263,7 @@ public: { instance().currentResult.setMessage( msg ); } - static void acceptSectionStart( const std::string& name, const std::string& description ) - { - } - - static void acceptSectionEnd( const std::string& name ) - { - } - + static bool acceptSectionStart( const std::string& name, const std::string& description, std::size_t& successes, std::size_t& failures ) { return instance().m_listener->sectionStarted( name, description, successes, failures ); diff --git a/internal/catch_runner_impl.hpp b/internal/catch_runner_impl.hpp index 9b5e7c67..596bfb78 100644 --- a/internal/catch_runner_impl.hpp +++ b/internal/catch_runner_impl.hpp @@ -141,6 +141,8 @@ namespace Catch m_reporter->StartSection( name, description ); successes = m_successes; failures = m_failures; + + // !TBD look up whether we should execute this section or not return true; }