Removed tbc_text_format (superceded by TextFlow)

This commit is contained in:
Phil Nash
2017-07-20 23:20:42 +01:00
parent 6ec7709e07
commit 3a37f45a97
6 changed files with 5 additions and 198 deletions

View File

@@ -12,7 +12,7 @@
#include "catch_interfaces_reporter.h"
#include "catch_interfaces_testcase.h"
#include "catch_clara.h" // For TextFlow
#include "internal/catch_text.h"
#include "catch_console_colour.hpp"
#include "catch_test_spec_parser.hpp"
@@ -24,8 +24,6 @@
namespace Catch {
using namespace clara::TextFlow;
std::size_t listTests( Config const& config ) {
TestSpec testSpec = config.testSpec();
if( config.testSpec().hasFilters() )

View File

@@ -8,17 +8,10 @@
#ifndef TWOBLUECUBES_CATCH_TEXT_H_INCLUDED
#define TWOBLUECUBES_CATCH_TEXT_H_INCLUDED
#include "catch_config.hpp"
#define TBC_TEXT_FORMAT_CONSOLE_WIDTH CATCH_CONFIG_CONSOLE_WIDTH
#define CLICHE_TBC_TEXT_FORMAT_OUTER_NAMESPACE Catch
#include "../external/tbc_text_format.h"
#undef CLICHE_TBC_TEXT_FORMAT_OUTER_NAMESPACE
#include "catch_clara.h"
namespace Catch {
using Tbc::Text;
using Tbc::TextAttributes;
using namespace clara::TextFlow;
}
#endif // TWOBLUECUBES_CATCH_TEXT_H_INCLUDED