Public Types | Public Member Functions | Public Attributes | Friends | List of all members
Catch::TestCaseInfo Struct Reference

#include <catch.hpp>

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

Public Types

enum  SpecialProperties {
  None = 0, IsHidden = 1 << 1, ShouldFail = 1 << 2, MayFail = 1 << 3,
  Throws = 1 << 4, NonPortable = 1 << 5, Benchmark = 1 << 6
}
 

Public Member Functions

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
 

Public Attributes

std::string className
 
std::string description
 
std::vector< std::stringlcaseTags
 
SourceLineInfo lineInfo
 
std::string name
 
SpecialProperties properties
 
std::vector< std::stringtags
 

Friends

void setTags (TestCaseInfo &testCaseInfo, std::vector< std::string > tags)
 

Detailed Description

Definition at line 4759 of file catch.hpp.

Member Enumeration Documentation

Enumerator
None 
IsHidden 
ShouldFail 
MayFail 
Throws 
NonPortable 
Benchmark 

Definition at line 4760 of file catch.hpp.

Constructor & Destructor Documentation

Catch::TestCaseInfo::TestCaseInfo ( std::string const &  _name,
std::string const &  _className,
std::string const &  _description,
std::vector< std::string > const &  _tags,
SourceLineInfo const &  _lineInfo 
)

Member Function Documentation

bool Catch::TestCaseInfo::expectedToFail ( ) const
bool Catch::TestCaseInfo::isHidden ( ) const
bool Catch::TestCaseInfo::okToFail ( ) const
std::string Catch::TestCaseInfo::tagsAsString ( ) const
bool Catch::TestCaseInfo::throws ( ) const

Friends And Related Function Documentation

void setTags ( TestCaseInfo testCaseInfo,
std::vector< std::string tags 
)
friend

Member Data Documentation

std::string Catch::TestCaseInfo::className

Definition at line 4786 of file catch.hpp.

std::string Catch::TestCaseInfo::description

Definition at line 4787 of file catch.hpp.

std::vector<std::string> Catch::TestCaseInfo::lcaseTags

Definition at line 4789 of file catch.hpp.

SourceLineInfo Catch::TestCaseInfo::lineInfo

Definition at line 4790 of file catch.hpp.

std::string Catch::TestCaseInfo::name

Definition at line 4785 of file catch.hpp.

SpecialProperties Catch::TestCaseInfo::properties

Definition at line 4791 of file catch.hpp.

std::vector<std::string> Catch::TestCaseInfo::tags

Definition at line 4788 of file catch.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:35