Small fixes and started new section tracking code

This commit is contained in:
Phil Nash committed 2013-07-23 08:15:34 +01:00
1 parent f3d1f08c3b
commit 372a6c6fed
8 files changed
+294 -13

No files matched your search

+2
View File
@@ -286,6 +286,8 @@ namespace Catch {
exResult << translateActiveException();
actOnCurrentResult( exResult.buildResult( m_lastAssertionInfo ) );
}
// If sections ended prematurely due to an exception we stored their
// infos here so we can tear them down outside the unwind process.
for( std::vector<UnfinishedSections>::const_iterator it = m_unfinishedSections.begin(),
itEnd = m_unfinishedSections.end();
it != itEnd;