mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Removed stream name from config
This commit is contained in:
@@ -76,9 +76,6 @@ namespace Catch {
|
||||
|
||||
private:
|
||||
void openStream() {
|
||||
if( !m_config->getStreamName().empty() )
|
||||
m_config->useStream( m_config->getStreamName() );
|
||||
|
||||
// Open output file, if specified
|
||||
if( !m_config->getFilename().empty() ) {
|
||||
m_ofs.open( m_config->getFilename().c_str() );
|
||||
|
@@ -413,10 +413,7 @@ namespace Catch {
|
||||
"OutputDebugString is supported).";
|
||||
}
|
||||
virtual void parseIntoConfig( Command const& cmd, ConfigData& config ) {
|
||||
if( cmd[0][0] == '%' )
|
||||
config.stream = cmd[0].substr( 1 );
|
||||
else
|
||||
config.outputFilename = cmd[0];
|
||||
config.outputFilename = cmd[0];
|
||||
}
|
||||
};
|
||||
|
||||
|
@@ -69,8 +69,6 @@ namespace Catch {
|
||||
std::string name;
|
||||
|
||||
std::vector<std::string> testsOrTags;
|
||||
|
||||
std::string stream;
|
||||
};
|
||||
|
||||
|
||||
@@ -142,8 +140,6 @@ namespace Catch {
|
||||
m_stream = stream;
|
||||
}
|
||||
|
||||
std::string getStreamName() const { return m_data.stream; }
|
||||
|
||||
std::string getReporterName() const { return m_data.reporter; }
|
||||
|
||||
void addTestSpec( std::string const& testSpec ) {
|
||||
|
Reference in New Issue
Block a user