console reporter is now a full replacement for the basic reporter, using the new streaming interface directly

This commit is contained in:
Phil Nash
2012-12-09 21:46:15 +00:00
parent 51f0572209
commit f4c0a1848d
3 changed files with 11 additions and 11 deletions

View File

@@ -46,6 +46,8 @@ namespace Catch {
}
std::string makeSectionPath( ThreadedSectionInfo const * section, std::string const& delimiter ) {
std::string sectionPath = "'" + section->name + "'";
// !TBD: Do this without the assignment in the while as it causes warnings:
while( ( section = section->parent.get() ) )
sectionPath = "'" + section->name + "'" + delimiter + sectionPath;
return sectionPath;