1 /* 2 * Created by Martin on 01/08/2017. 3 * 4 * Distributed under the Boost Software License, Version 1.0. (See accompanying 5 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 8 #include "catch_section_info.h" 9 10 namespace Catch { 11 SectionInfo(SourceLineInfo const & _lineInfo,std::string const & _name,std::string const & _description)12 SectionInfo::SectionInfo 13 ( SourceLineInfo const& _lineInfo, 14 std::string const& _name, 15 std::string const& _description ) 16 : name( _name ), 17 description( _description ), 18 lineInfo( _lineInfo ) 19 {} 20 SectionEndInfo(SectionInfo const & _sectionInfo,Counts const & _prevAssertions,double _durationInSeconds)21 SectionEndInfo::SectionEndInfo( SectionInfo const& _sectionInfo, Counts const& _prevAssertions, double _durationInSeconds ) 22 : sectionInfo( _sectionInfo ), prevAssertions( _prevAssertions ), durationInSeconds( _durationInSeconds ) 23 {} 24 25 } // end namespace Catch 26