Horizon
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Catch::TestCaseInfo Struct Reference

Various metadata about the test case. More...

#include <catch_amalgamated.hpp>

Inheritance diagram for Catch::TestCaseInfo:
Catch::Detail::NonCopyable

Public Member Functions

 TestCaseInfo (StringRef _className, NameAndTags const &_tags, SourceLineInfo const &_lineInfo)
 
bool isHidden () const
 
bool throws () const
 
bool okToFail () const
 
bool expectedToFail () const
 
void addFilenameTag ()
 
std::string tagsAsString () const
 

Public Attributes

std::string name
 
StringRef className
 
std::vector< Tagtags
 
SourceLineInfo lineInfo
 
TestCaseProperties properties = TestCaseProperties::None
 

Friends

bool operator< (TestCaseInfo const &lhs, TestCaseInfo const &rhs)
 Orders by name, classname and tags.
 

Detailed Description

Various metadata about the test case.

A test case is uniquely identified by its (class)name and tags combination, with source location being ignored, and other properties being determined from tags.

Tags are kept sorted.


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