Struct TestCaseInfo

Inheritance Relationships

Derived Type

Struct Documentation

struct TestCaseInfo

Subclassed by Catch::TestCase

Public Types

enum SpecialProperties

Values:

enumerator None
enumerator IsHidden
enumerator ShouldFail
enumerator MayFail
enumerator Throws
enumerator NonPortable
enumerator Benchmark

Public Functions

TestCaseInfo(std::string const &_name, std::string const &_className, std::string const &_description, std::vector<std::string> const &_tags, SourceLineInfo const &_lineInfo)
bool isHidden() const
bool throws() const
bool okToFail() const
bool expectedToFail() const
std::string tagsAsString() const

Public Members

std::string name
std::string className
std::string description
std::vector<std::string> tags
std::vector<std::string> lcaseTags
SourceLineInfo lineInfo
SpecialProperties properties

Friends

friend void setTags(TestCaseInfo &testCaseInfo, std::vector<std::string> tags)