diff options
| author | Martin Hořeňovský | 2017-08-01 17:51:32 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-08-01 17:51:32 +0200 |
| commit | d4e796c1382b850d020ff197bfc0ca82c70d05e2 (patch) | |
| tree | d49655dc4f774dd78288b60036282b8571f2b659 /include/internal/catch_section_info.cpp | |
| parent | 0a3f899d6a63ae01bdc33c6a7c2d2eb8086db702 (diff) | |
| download | catch3-d4e796c1382b850d020ff197bfc0ca82c70d05e2.tar.gz | |
Move Section(End)Info bodies to proper .cpp file
Diffstat (limited to 'include/internal/catch_section_info.cpp')
| -rw-r--r-- | include/internal/catch_section_info.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/internal/catch_section_info.cpp b/include/internal/catch_section_info.cpp new file mode 100644 index 00000000..e2846b8a --- /dev/null +++ b/include/internal/catch_section_info.cpp @@ -0,0 +1,25 @@ +/* + * Created by Martin on 01/08/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) + */ + +#include "catch_section_info.h" + +namespace Catch { + + SectionInfo::SectionInfo + ( SourceLineInfo const& _lineInfo, + std::string const& _name, + std::string const& _description ) + : name( _name ), + description( _description ), + lineInfo( _lineInfo ) + {} + + SectionEndInfo::SectionEndInfo( SectionInfo const& _sectionInfo, Counts const& _prevAssertions, double _durationInSeconds ) + : sectionInfo( _sectionInfo ), prevAssertions( _prevAssertions ), durationInSeconds( _durationInSeconds ) + {} + +} // end namespace Catch |