FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::TestCase Class Reference
Inheritance diagram for Catch::TestCase:
Catch::TestCaseInfo

Public Member Functions

 TestCase (ITestInvoker *testCase, TestCaseInfo &&info)
 
TestCase withName (std::string const &_newName) const
 
void invoke () const
 
TestCaseInfo const & getTestCaseInfo () const
 
bool operator== (TestCase const &other) const
 
bool operator< (TestCase const &other) const
 
- Public Member Functions inherited from 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 isHidden () const
 
bool throws () const
 
bool okToFail () const
 
bool expectedToFail () const
 
std::string tagsAsString () const
 

Private Attributes

std::shared_ptr< ITestInvokertest
 

Additional Inherited Members

- Public Types inherited from Catch::TestCaseInfo
enum  SpecialProperties
 
- Data Fields inherited from Catch::TestCaseInfo
std::string name
 
std::string className
 
std::string description
 
std::vector< std::string > tags
 
std::vector< std::string > lcaseTags
 
SourceLineInfo lineInfo
 
SpecialProperties properties
 

Constructor & Destructor Documentation

Catch::TestCase::TestCase ( ITestInvoker testCase,
TestCaseInfo &&  info 
)

Member Function Documentation

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
TestCase Catch::TestCase::withName ( std::string const &  _newName) const

Field Documentation

std::shared_ptr<ITestInvoker> Catch::TestCase::test
private