Struct IConfig

Synopsis

#include <include/internal/catch_interfaces_config.h>

struct IConfig : NonCopyable

Description

No description yet.

Inheritance

Ancestors: NonCopyable

Decsendents: Config

Methods

~IConfig
abortAfter
allowThrows
benchmarkConfidenceInterval
benchmarkNoAnalysis
benchmarkResamples
benchmarkSamples
benchmarkWarmupTime
getSectionsToRun
getTestsOrTags
hasTestFilters
includeSuccessfulResults
minDuration
name
rngSeed
runOrder
shouldDebugBreak
showDurations
showInvisibles
stream
testSpec
useColour
verbosity
warnAboutMissingAssertions
warnAboutNoTests

Source

Lines 58-87 in include/internal/catch_interfaces_config.h.

struct IConfig : NonCopyable {
    virtual ~IConfig();
    virtual bool allowThrows() const = 0;
    virtual std::ostream& stream() const = 0;
    virtual std::string name() const = 0;
    virtual bool includeSuccessfulResults() const = 0;
    virtual bool shouldDebugBreak() const = 0;
    virtual bool warnAboutMissingAssertions() const = 0;
    virtual bool warnAboutNoTests() const = 0;
    virtual int abortAfter() const = 0;
    virtual bool showInvisibles() const = 0;
    virtual ShowDurations::OrNot showDurations() const = 0;
    virtual double minDuration() const = 0;
    virtual TestSpec const& testSpec() const = 0;
    virtual bool hasTestFilters() const = 0;
    virtual std::vector<std::string> const& getTestsOrTags() const = 0;
    virtual RunTests::InWhatOrder runOrder() const = 0;
    virtual unsigned int rngSeed() const = 0;
    virtual UseColour::YesOrNo useColour() const = 0;
    virtual std::vector<std::string> const& getSectionsToRun() const = 0;
    virtual Verbosity verbosity() const = 0;
    virtual bool benchmarkNoAnalysis() const = 0;
    virtual int benchmarkSamples() const = 0;
    virtual double benchmarkConfidenceInterval() const = 0;
    virtual unsigned int benchmarkResamples() const = 0;
    virtual std::chrono::milliseconds benchmarkWarmupTime() const = 0;
};





Add Discussion as Guest

Log in