Public Member Functions | Private Attributes | List of all members
Catch::TestCase Class Reference

#include <catch.hpp>

Inheritance diagram for Catch::TestCase:
Inheritance graph
[legend]

Public Member Functions

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

Private Attributes

std::shared_ptr< ITestInvokertest
 

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, NonPortable = 1 << 5, Benchmark = 1 << 6
}
 
- Public Attributes inherited from Catch::TestCaseInfo
std::string className
 
std::string description
 
std::vector< std::string > lcaseTags
 
SourceLineInfo lineInfo
 
std::string name
 
SpecialProperties properties
 
std::vector< std::string > tags
 

Detailed Description

Definition at line 3329 of file catch.hpp.

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

Member Data Documentation

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

Definition at line 3344 of file catch.hpp.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Sat Jun 8 2019 17:59:58