#include <catch.hpp>
Public Types | |
enum | SpecialProperties { None = 0, IsHidden = 1 << 1, ShouldFail = 1 << 2, MayFail = 1 << 3, Throws = 1 << 4, NonPortable = 1 << 5, Benchmark = 1 << 6 } |
Public Member Functions | |
bool | expectedToFail () const |
bool | isHidden () const |
bool | okToFail () const |
std::string | tagsAsString () const |
TestCaseInfo (std::string const &_name, std::string const &_className, std::string const &_description, std::vector< std::string > const &_tags, SourceLineInfo const &_lineInfo) | |
bool | throws () const |
Public Attributes | |
std::string | className |
std::string | description |
std::vector< std::string > | lcaseTags |
SourceLineInfo | lineInfo |
std::string | name |
SpecialProperties | properties |
std::vector< std::string > | tags |
Friends | |
void | setTags (TestCaseInfo &testCaseInfo, std::vector< std::string > tags) |
Catch::TestCaseInfo::TestCaseInfo | ( | std::string const & | _name, |
std::string const & | _className, | ||
std::string const & | _description, | ||
std::vector< std::string > const & | _tags, | ||
SourceLineInfo const & | _lineInfo | ||
) |
bool Catch::TestCaseInfo::expectedToFail | ( | ) | const |
bool Catch::TestCaseInfo::isHidden | ( | ) | const |
bool Catch::TestCaseInfo::okToFail | ( | ) | const |
std::string Catch::TestCaseInfo::tagsAsString | ( | ) | const |
bool Catch::TestCaseInfo::throws | ( | ) | const |
|
friend |
std::string Catch::TestCaseInfo::className |
std::string Catch::TestCaseInfo::description |
std::vector<std::string> Catch::TestCaseInfo::lcaseTags |
SourceLineInfo Catch::TestCaseInfo::lineInfo |
std::string Catch::TestCaseInfo::name |
SpecialProperties Catch::TestCaseInfo::properties |
std::vector<std::string> Catch::TestCaseInfo::tags |