NorMIT-nav  18.04-rc6
An IGT application
Catch::Config Class Reference

#include <catch.hpp>

Inheritance diagram for Catch::Config:
Catch::SharedImpl< IConfig > Catch::IConfig Catch::IShared Catch::NonCopyable

Public Member Functions

 Config ()
 
 Config (ConfigData const &data)
 
virtual ~Config ()
 
void setFilename (std::string const &filename)
 
std::string const & getFilename () const
 
bool listTests () const
 
bool listTags () const
 
bool listReporters () const
 
std::string getProcessName () const
 
bool shouldDebugBreak () const
 
void setStreamBuf (std::streambuf *buf)
 
void useStream (std::string const &streamName)
 
std::string getReporterName () const
 
void addTestSpec (std::string const &testSpec)
 
int abortAfter () const
 
std::vector< TestCaseFilters > const & filters () const
 
bool showHelp () const
 
virtual bool allowThrows () const
 
virtual std::ostream & stream () const
 
virtual std::string name () const
 
virtual bool includeSuccessfulResults () const
 
virtual bool warnAboutMissingAssertions () const
 
virtual ShowDurations::OrNot showDurations () const
 
- Public Member Functions inherited from Catch::SharedImpl< IConfig >
 SharedImpl ()
 
virtual void addRef () const
 
virtual void release () const
 
- Public Member Functions inherited from Catch::IConfig
virtual ~IConfig ()
 
- Public Member Functions inherited from Catch::IShared
virtual ~IShared ()
 

Additional Inherited Members

- Public Attributes inherited from Catch::SharedImpl< IConfig >
unsigned int m_rc
 
- Protected Member Functions inherited from Catch::NonCopyable
 NonCopyable ()
 
virtual ~NonCopyable ()
 

Detailed Description

Definition at line 2144 of file catch.hpp.

Constructor & Destructor Documentation

Catch::Config::Config ( )
inline

Definition at line 2151 of file catch.hpp.

Catch::Config::Config ( ConfigData const &  data)
inline

Definition at line 2155 of file catch.hpp.

virtual Catch::Config::~Config ( )
inlinevirtual

Definition at line 2178 of file catch.hpp.

Member Function Documentation

int Catch::Config::abortAfter ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2222 of file catch.hpp.

void Catch::Config::addTestSpec ( std::string const &  testSpec)
inline

Definition at line 2216 of file catch.hpp.

virtual bool Catch::Config::allowThrows ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2233 of file catch.hpp.

std::vector<TestCaseFilters> const& Catch::Config::filters ( ) const
inline

Definition at line 2226 of file catch.hpp.

std::string const& Catch::Config::getFilename ( ) const
inline

Definition at line 2187 of file catch.hpp.

std::string Catch::Config::getProcessName ( ) const
inline

Definition at line 2195 of file catch.hpp.

std::string Catch::Config::getReporterName ( ) const
inline

Definition at line 2214 of file catch.hpp.

virtual bool Catch::Config::includeSuccessfulResults ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2236 of file catch.hpp.

bool Catch::Config::listReporters ( ) const
inline

Definition at line 2193 of file catch.hpp.

bool Catch::Config::listTags ( ) const
inline

Definition at line 2192 of file catch.hpp.

bool Catch::Config::listTests ( ) const
inline

Definition at line 2191 of file catch.hpp.

virtual std::string Catch::Config::name ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2235 of file catch.hpp.

void Catch::Config::setFilename ( std::string const &  filename)
inline

Definition at line 2183 of file catch.hpp.

void Catch::Config::setStreamBuf ( std::streambuf *  buf)
inline

Definition at line 2203 of file catch.hpp.

bool Catch::Config::shouldDebugBreak ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2199 of file catch.hpp.

virtual ShowDurations::OrNot Catch::Config::showDurations ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2238 of file catch.hpp.

bool Catch::Config::showHelp ( ) const
inline

Definition at line 2230 of file catch.hpp.

virtual std::ostream& Catch::Config::stream ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2234 of file catch.hpp.

void Catch::Config::useStream ( std::string const &  streamName)
inline

Definition at line 2207 of file catch.hpp.

virtual bool Catch::Config::warnAboutMissingAssertions ( ) const
inlinevirtual

Implements Catch::IConfig.

Definition at line 2237 of file catch.hpp.


The documentation for this class was generated from the following file: