ManaPlus
|
#include <catch.hpp>
Public Member Functions | |
TestCase (ITestCase *testCase, TestCaseInfo const &info) | |
TestCase (TestCase const &other) | |
TestCase | withName (std::string const &_newName) const |
void | invoke () const |
TestCaseInfo const & | getTestCaseInfo () const |
void | swap (TestCase &other) |
bool | operator== (TestCase const &other) const |
bool | operator< (TestCase const &other) const |
TestCase & | operator= (TestCase const &other) |
Public Member Functions inherited from Catch::TestCaseInfo | |
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 | isHidden () const |
bool | throws () const |
bool | okToFail () const |
bool | expectedToFail () const |
Private Attributes | |
Ptr< ITestCase > | test |
Additional Inherited Members | |
Public Types inherited from Catch::TestCaseInfo | |
enum | SpecialProperties { None = 0 , IsHidden = 1 << 1 , ShouldFail = 1 << 2 , MayFail = 1 << 3 , Throws = 1 << 4 } |
Data Fields inherited from Catch::TestCaseInfo | |
std::string | name |
std::string | className |
std::string | description |
std::set< std::string > | tags |
std::set< std::string > | lcaseTags |
std::string | tagsAsString |
SourceLineInfo | lineInfo |
SpecialProperties | properties |
Catch::TestCase::TestCase | ( | ITestCase * | testCase, |
TestCaseInfo const & | info | ||
) |
Catch::TestCase::TestCase | ( | TestCase const & | other | ) |
TestCaseInfo const& Catch::TestCase::getTestCaseInfo | ( | ) | const |
void Catch::TestCase::invoke | ( | ) | const |
bool Catch::TestCase::operator< | ( | TestCase const & | other | ) | const |
bool Catch::TestCase::operator== | ( | TestCase const & | other | ) | const |
void Catch::TestCase::swap | ( | TestCase & | other | ) |
TestCase Catch::TestCase::withName | ( | std::string const & | _newName | ) | const |