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

@@ -198,6 +198,16 @@ namespace Catch {
};
template<char C>
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;
}
} // end namespace Catch
#endif // TWOBLUECUBES_CATCH_REPORTER_BASES_HPP_INCLUDED