TeamCity reporter work

expanded reporting - includes section headers
This commit is contained in:
Phil Nash
2014-12-20 00:46:02 +00:00
parent 5933d75cdc
commit 8ec959e936
4 changed files with 78 additions and 33 deletions

View File

@@ -445,15 +445,6 @@ namespace Catch {
void printSummaryDivider() {
stream << getLineOfChars<'-'>() << "\n";
}
template<char C>
static char const* getLineOfChars() {
static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
if( !*line ) {
memset( line, C, CATCH_CONFIG_CONSOLE_WIDTH-1 );
line[CATCH_CONFIG_CONSOLE_WIDTH-1] = 0;
}
return line;
}
private:
bool m_headerPrinted;