Loading...
Searching...
No Matches
Catch::Config Class Reference

`#include <catch_amalgamated.hpp>`

Inheritance diagram for Catch::Config:
[legend]
Collaboration diagram for Catch::Config:
[legend]

## Public Member Functions

| Config ()=default
| Config (ConfigData const &data)
| ~Config () override
bool | listTests () const
bool | listTags () const
bool | listReporters () const
bool | listListeners () const
std::vector< ReporterSpec > const & | getReporterSpecs () const
std::vector< ProcessedReporterSpec > const & | getProcessedReporterSpecs () const
std::vector< std::string > const & | getTestsOrTags () const override
std::vector< std::string > const & | getSectionsToRun () const override
TestSpec const & | testSpec () const override
bool | hasTestFilters () const override
bool | showHelp () const
bool | allowThrows () const override
StringRef | name () const override
bool | includeSuccessfulResults () const override
bool | warnAboutMissingAssertions () const override
bool | warnAboutUnmatchedTestSpecs () const override
bool | zeroTestsCountAsSuccess () const override
ShowDurations | showDurations () const override
double | minDuration () const override
TestRunOrder | runOrder () const override
uint32_t | rngSeed () const override
unsigned int | shardCount () const override
unsigned int | shardIndex () const override
ColourMode | defaultColourMode () const override
bool | shouldDebugBreak () const override
int | abortAfter () const override
bool | showInvisibles () const override
Verbosity | verbosity () const override
bool | skipBenchmarks () const override
bool | benchmarkNoAnalysis () const override
unsigned int | benchmarkSamples () const override
double | benchmarkConfidenceInterval () const override
unsigned int | benchmarkResamples () const override
std::chrono::milliseconds | benchmarkWarmupTime () const override
Public Member Functions inherited from Catch::IConfig
virtual | ~IConfig ()

## Private Member Functions

void | readBazelEnvVars ()

## Private Attributes

ConfigData | m_data
std::vector< ProcessedReporterSpec > | m_processedReporterSpecs
TestSpec | m_testSpec
bool | m_hasTestFilters = false

## Additional Inherited Members

Protected Member Functions inherited from Catch::Detail::NonCopyable
| NonCopyable () noexcept=default

## Constructor & Destructor Documentation

## Config() [1/2]

Catch::Config::Config | ( |  | ) |

default

Here is the call graph for this function:
Here is the caller graph for this function:

## Config() [2/2]

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

Here is the call graph for this function:

## ~Config()

Catch::Config::~Config | ( |  | ) |

overridedefault

Here is the call graph for this function:

## Member Function Documentation

## abortAfter()

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

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## allowThrows()

bool Catch::Config::allowThrows | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## benchmarkConfidenceInterval()

double Catch::Config::benchmarkConfidenceInterval | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## benchmarkNoAnalysis()

bool Catch::Config::benchmarkNoAnalysis | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## benchmarkResamples()

unsigned int Catch::Config::benchmarkResamples | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## benchmarkSamples()

unsigned int Catch::Config::benchmarkSamples | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## benchmarkWarmupTime()

std::chrono::milliseconds Catch::Config::benchmarkWarmupTime | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## defaultColourMode()

ColourMode Catch::Config::defaultColourMode | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## getProcessedReporterSpecs()

std::vector< ProcessedReporterSpec > const & Catch::Config::getProcessedReporterSpecs | ( |  | ) | const

Here is the caller graph for this function:

## getReporterSpecs()

std::vector< ReporterSpec > const & Catch::Config::getReporterSpecs | ( |  | ) | const

Here is the caller graph for this function:

## getSectionsToRun()

std::vector< std::string > const & Catch::Config::getSectionsToRun | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## getTestsOrTags()

std::vector< std::string > const & Catch::Config::getTestsOrTags | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## hasTestFilters()

bool Catch::Config::hasTestFilters | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## includeSuccessfulResults()

bool Catch::Config::includeSuccessfulResults | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## listListeners()

bool Catch::Config::listListeners | ( |  | ) | const

Here is the caller graph for this function:

## listReporters()

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

Here is the caller graph for this function:

## listTags()

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

Here is the caller graph for this function:

## listTests()

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

Here is the caller graph for this function:

## minDuration()

double Catch::Config::minDuration | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## name()

StringRef Catch::Config::name | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## readBazelEnvVars()

void Catch::Config::readBazelEnvVars | ( |  | ) |

private

Here is the call graph for this function:
Here is the caller graph for this function:

## rngSeed()

uint32_t Catch::Config::rngSeed | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## runOrder()

TestRunOrder Catch::Config::runOrder | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## shardCount()

unsigned int Catch::Config::shardCount | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## shardIndex()

unsigned int Catch::Config::shardIndex | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## shouldDebugBreak()

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

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## showDurations()

ShowDurations Catch::Config::showDurations | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## showHelp()

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

Here is the caller graph for this function:

## showInvisibles()

bool Catch::Config::showInvisibles | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## skipBenchmarks()

bool Catch::Config::skipBenchmarks | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## testSpec()

TestSpec const & Catch::Config::testSpec | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## verbosity()

Verbosity Catch::Config::verbosity | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## warnAboutMissingAssertions()

bool Catch::Config::warnAboutMissingAssertions | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## warnAboutUnmatchedTestSpecs()

bool Catch::Config::warnAboutUnmatchedTestSpecs | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## zeroTestsCountAsSuccess()

bool Catch::Config::zeroTestsCountAsSuccess | ( |  | ) | const

overridevirtual

Implements Catch::IConfig.

Here is the caller graph for this function:

## Member Data Documentation

## m_data

ConfigData Catch::Config::m_data

private

## m_hasTestFilters

bool Catch::Config::m_hasTestFilters = false

private

## m_processedReporterSpecs

std::vector<ProcessedReporterSpec> Catch::Config::m_processedReporterSpecs

private

## m_testSpec

TestSpec Catch::Config::m_testSpec

private

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

- tests/vendor/catch_amalgamated.hpp
- tests/vendor/catch_amalgamated.cpp