#include <catch_amalgamated.hpp>
Public Member Functions | |
TestCaseInfo (StringRef _className, NameAndTags const &_nameAndTags, SourceLineInfo const &_lineInfo) | |
bool | isHidden () const |
bool | throws () const |
bool | okToFail () const |
bool | expectedToFail () const |
void | addFilenameTag () |
std::string | tagsAsString () const |
Public Attributes | |
std::string | name |
StringRef | className |
std::vector< Tag > | tags |
SourceLineInfo | lineInfo |
TestCaseProperties | properties = TestCaseProperties::None |
Private Member Functions | |
void | internalAppendTag (StringRef tagString) |
Private Attributes | |
std::string | backingTags |
Friends | |
bool | operator< (TestCaseInfo const &lhs, TestCaseInfo const &rhs) |
Orders by name, classname and tags. | |
Additional Inherited Members | |
![]() | |
NonCopyable () noexcept=default | |
Various metadata about the test case.
A test case is uniquely identified by its (class)name and tags combination, with source location being ignored, and other properties being determined from tags.
Tags are kept sorted.
Catch::TestCaseInfo::TestCaseInfo | ( | StringRef | _className, |
NameAndTags const & | _nameAndTags, | ||
SourceLineInfo const & | _lineInfo ) |
void Catch::TestCaseInfo::addFilenameTag | ( | ) |
bool Catch::TestCaseInfo::expectedToFail | ( | ) | const |
|
private |
bool Catch::TestCaseInfo::isHidden | ( | ) | const |
bool Catch::TestCaseInfo::okToFail | ( | ) | const |
std::string Catch::TestCaseInfo::tagsAsString | ( | ) | const |
bool Catch::TestCaseInfo::throws | ( | ) | const |
|
friend |
Orders by name, classname and tags.
|
private |
StringRef Catch::TestCaseInfo::className |
SourceLineInfo Catch::TestCaseInfo::lineInfo |
std::string Catch::TestCaseInfo::name |
TestCaseProperties Catch::TestCaseInfo::properties = TestCaseProperties::None |
std::vector<Tag> Catch::TestCaseInfo::tags |