Horizon
|
Various metadata about the test case. More...
#include <catch_amalgamated.hpp>
Public Member Functions | |
TestCaseInfo (StringRef _className, NameAndTags const &_tags, 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 |
Friends | |
bool | operator< (TestCaseInfo const &lhs, TestCaseInfo const &rhs) |
Orders by name, classname and tags. | |
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.