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