mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
listTests now only uses TextFlow (not tbd_text_format) again
This commit is contained in:
parent
5c3355ad1b
commit
224250e2d4
@ -12,12 +12,11 @@
|
||||
#include "catch_interfaces_reporter.h"
|
||||
#include "catch_interfaces_testcase.h"
|
||||
|
||||
#include "catch_text.h"
|
||||
|
||||
#include "catch_clara.h" // For TextFlow
|
||||
|
||||
#include "catch_console_colour.hpp"
|
||||
#include "catch_test_spec_parser.hpp"
|
||||
#include "catch_tostring.h"
|
||||
|
||||
#include <limits>
|
||||
#include <algorithm>
|
||||
@ -45,13 +44,11 @@ namespace Catch {
|
||||
|
||||
Catch::cout() << Column( testCaseInfo.name ).initialIndent( 2 ).indent( 4 ) << "\n";
|
||||
if( config.verbosity() >= Verbosity::High ) {
|
||||
TextAttributes descAttr;
|
||||
descAttr.setIndent( 4 );
|
||||
Catch::cout() << Text( testCaseInfo.lineInfo, descAttr ) << std::endl;
|
||||
Catch::cout() << Column( Catch::Detail::stringify( testCaseInfo.lineInfo ) ).indent(4) << std::endl;
|
||||
std::string description = testCaseInfo.description;
|
||||
if( description == "" )
|
||||
description = "(NO DESCRIPTION)";
|
||||
Catch::cout() << Text( description, descAttr ) << std::endl;
|
||||
Catch::cout() << Column( description ).indent(4) << std::endl;
|
||||
}
|
||||
if( !testCaseInfo.tags.empty() )
|
||||
Catch::cout() << Column( testCaseInfo.tagsAsString ).indent( 6 ) << "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user