MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / getLineOfChars

Function getLineOfChars

unittests/catch.hpp:3982–3989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3980
3981 template<char C>
3982 char const* getLineOfChars() {
3983 static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
3984 if( !*line ) {
3985 std::memset( line, C, CATCH_CONFIG_CONSOLE_WIDTH-1 );
3986 line[CATCH_CONFIG_CONSOLE_WIDTH-1] = 0;
3987 }
3988 return line;
3989 }
3990
3991 struct TestEventListenerBase : StreamingReporterBase<TestEventListenerBase> {
3992 TestEventListenerBase( ReporterConfig const& _config );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected