Fraxinus  22.04-rc5
An IGT application
Catch::TestCase Class Reference

#include <catch.hpp>

Inheritance diagram for Catch::TestCase:
Catch::TestCaseInfo

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
 
bool isHidden () const
 
bool hasTag (std::string const &tag) const
 
bool matchesTags (std::string const &tagPattern) const
 
std::set< std::string > const & getTags () const
 
void swap (TestCase &other)
 
bool operator== (TestCase const &other) const
 
bool operator< (TestCase const &other) const
 
TestCaseoperator= (TestCase const &other)
 

Additional Inherited Members

- Protected 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, bool _isHidden, SourceLineInfo const &_lineInfo)
 
 TestCaseInfo (TestCaseInfo const &other)
 
- Protected Attributes inherited from Catch::TestCaseInfo
std::string name
 
std::string className
 
std::string description
 
std::set< std::string > tags
 
std::string tagsAsString
 
SourceLineInfo lineInfo
 
bool isHidden
 

Detailed Description

Definition at line 1592 of file catch.hpp.

Constructor & Destructor Documentation

Catch::TestCase::TestCase ( ITestCase testCase,
TestCaseInfo const &  info 
)
Catch::TestCase::TestCase ( TestCase const &  other)

Member Function Documentation

std::set<std::string> const& Catch::TestCase::getTags ( ) const
TestCaseInfo const& Catch::TestCase::getTestCaseInfo ( ) const
bool Catch::TestCase::hasTag ( std::string const &  tag) const
void Catch::TestCase::invoke ( ) const
bool Catch::TestCase::isHidden ( ) const
bool Catch::TestCase::matchesTags ( std::string const &  tagPattern) const
bool Catch::TestCase::operator< ( TestCase const &  other) const
TestCase& Catch::TestCase::operator= ( TestCase const &  other)
bool Catch::TestCase::operator== ( TestCase const &  other) const
void Catch::TestCase::swap ( TestCase other)
TestCase Catch::TestCase::withName ( std::string const &  _newName) const

The documentation for this class was generated from the following file: