mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Build 20
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| /* | ||||
|  *  CATCH v1.0 build 19 (master branch) | ||||
|  *  Generated: 2013-12-14 23:16:21.805565 | ||||
|  *  CATCH v1.0 build 20 (master branch) | ||||
|  *  Generated: 2013-12-18 08:38:15.171445 | ||||
|  *  ---------------------------------------------------------- | ||||
|  *  This file has been merged from multiple headers. Please don't edit it directly | ||||
|  *  Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved. | ||||
| @@ -6166,7 +6166,7 @@ namespace Catch { | ||||
| namespace Catch { | ||||
|  | ||||
|     // These numbers are maintained by a script | ||||
|     Version libraryVersion( 1, 0, 19, "master" ); | ||||
|     Version libraryVersion( 1, 0, 20, "master" ); | ||||
| } | ||||
|  | ||||
| // #included from: catch_text.hpp | ||||
| @@ -6739,9 +6739,15 @@ namespace Catch { | ||||
|             std::string stdOut; | ||||
|             std::string stdErr; | ||||
|         }; | ||||
|         friend bool operator == ( Ptr<SectionNode> const& node, SectionInfo const& other ) { | ||||
|             return node->stats.sectionInfo.lineInfo == other.lineInfo; | ||||
|         } | ||||
|  | ||||
|         struct BySectionInfo { | ||||
|             BySectionInfo( SectionInfo const& other ) : m_other( other ) {} | ||||
|             bool operator() ( Ptr<SectionNode> const& node ) const { | ||||
|                 return node->stats.sectionInfo.lineInfo == m_other.lineInfo; | ||||
|             } | ||||
|         private: | ||||
|             SectionInfo const& m_other; | ||||
|         }; | ||||
|  | ||||
|         typedef Node<TestCaseStats, SectionNode> TestCaseNode; | ||||
|         typedef Node<TestGroupStats, TestCaseNode> TestGroupNode; | ||||
| @@ -6769,7 +6775,9 @@ namespace Catch { | ||||
|             else { | ||||
|                 SectionNode& parentNode = *m_sectionStack.back(); | ||||
|                 SectionNode::ChildSections::const_iterator it = | ||||
|                     std::find( parentNode.childSections.begin(), parentNode.childSections.end(), sectionInfo ); | ||||
|                     std::find_if(   parentNode.childSections.begin(), | ||||
|                                     parentNode.childSections.end(), | ||||
|                                     BySectionInfo( sectionInfo ) ); | ||||
|                 if( it == parentNode.childSections.end() ) { | ||||
|                     node = new SectionNode( incompleteStats ); | ||||
|                     parentNode.childSections.push_back( node ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash