Namespaces | Classes | Functions | Variables
doctest Namespace Reference

Namespaces

 assertType
 
 Color
 
 detail
 
 TestCaseFailureReason
 

Classes

class  Approx
 
struct  AssertData
 
class  Context
 
struct  ContextOptions
 OCLINT too many fields. More...
 
struct  CurrentTestCaseStats
 
struct  IContextScope
 
struct  IReporter
 
struct  MessageData
 
struct  QueryData
 
class  String
 
struct  StringMaker
 
struct  StringMaker< R C::* >
 
struct  StringMaker< T * >
 
struct  SubcaseSignature
 
struct  TestCaseData
 
struct  TestCaseException
 
struct  TestRunStats
 

Functions

DOCTEST_INTERFACE const char * assertString (assertType::Enum at)
 
 DOCTEST_DEFINE_DECORATOR (test_suite, const char *, "")
 
 DOCTEST_DEFINE_DECORATOR (description, const char *, "")
 
 DOCTEST_DEFINE_DECORATOR (skip, bool, true)
 
 DOCTEST_DEFINE_DECORATOR (timeout, double, 0)
 
 DOCTEST_DEFINE_DECORATOR (may_fail, bool, true)
 
 DOCTEST_DEFINE_DECORATOR (should_fail, bool, true)
 
 DOCTEST_DEFINE_DECORATOR (expected_failures, int, 0)
 
DOCTEST_INTERFACE const char * failureString (assertType::Enum at)
 
DOCTEST_INTERFACE const ContextOptionsgetContextOptions ()
 
DOCTEST_INTERFACE bool operator!= (const String &lhs, const String &rhs)
 
DOCTEST_INTERFACE bool operator< (const String &lhs, const String &rhs)
 
DOCTEST_INTERFACE std::ostreamoperator<< (std::ostream &s, const String &in)
 
DOCTEST_INTERFACE bool operator<= (const String &lhs, const String &rhs)
 
DOCTEST_INTERFACE bool operator== (const String &lhs, const String &rhs)
 
DOCTEST_INTERFACE bool operator> (const String &lhs, const String &rhs)
 
DOCTEST_INTERFACE bool operator>= (const String &lhs, const String &rhs)
 
template<typename T >
int registerExceptionTranslator (String(*translateFunction)(T))
 
template<typename Reporter >
int registerReporter (const char *name, int priority, bool isReporter)
 
DOCTEST_INTERFACE const char * skipPathFromFilename (const char *file)
 
template<typename T >
String toString (const DOCTEST_REF_WRAP(T) value)
 
DOCTEST_INTERFACE String toString (bool in)
 
DOCTEST_INTERFACE String toString (float in)
 
DOCTEST_INTERFACE String toString (double in)
 
DOCTEST_INTERFACE String toString (double long in)
 
DOCTEST_INTERFACE String toString (char in)
 
DOCTEST_INTERFACE String toString (char signed in)
 
DOCTEST_INTERFACE String toString (char unsigned in)
 
DOCTEST_INTERFACE String toString (int short in)
 
DOCTEST_INTERFACE String toString (int short unsigned in)
 
DOCTEST_INTERFACE String toString (int in)
 
DOCTEST_INTERFACE String toString (int unsigned in)
 
DOCTEST_INTERFACE String toString (int long in)
 
DOCTEST_INTERFACE String toString (int long unsigned in)
 
DOCTEST_INTERFACE String toString (int long long in)
 
DOCTEST_INTERFACE String toString (int long long unsigned in)
 
DOCTEST_INTERFACE String toString (std::nullptr_t in)
 
DOCTEST_INTERFACE String toString (const Approx &in)
 

Variables

DOCTEST_INTERFACE bool is_running_in_test
 

Function Documentation

◆ assertString()

DOCTEST_INTERFACE const char* doctest::assertString ( assertType::Enum  at)

◆ DOCTEST_DEFINE_DECORATOR() [1/7]

doctest::DOCTEST_DEFINE_DECORATOR ( test_suite  ,
const char *  ,
""   
)

◆ DOCTEST_DEFINE_DECORATOR() [2/7]

doctest::DOCTEST_DEFINE_DECORATOR ( description  ,
const char *  ,
""   
)

◆ DOCTEST_DEFINE_DECORATOR() [3/7]

doctest::DOCTEST_DEFINE_DECORATOR ( skip  ,
bool  ,
true   
)

◆ DOCTEST_DEFINE_DECORATOR() [4/7]

doctest::DOCTEST_DEFINE_DECORATOR ( timeout  ,
double  ,
 
)

◆ DOCTEST_DEFINE_DECORATOR() [5/7]

doctest::DOCTEST_DEFINE_DECORATOR ( may_fail  ,
bool  ,
true   
)

◆ DOCTEST_DEFINE_DECORATOR() [6/7]

doctest::DOCTEST_DEFINE_DECORATOR ( should_fail  ,
bool  ,
true   
)

◆ DOCTEST_DEFINE_DECORATOR() [7/7]

doctest::DOCTEST_DEFINE_DECORATOR ( expected_failures  ,
int  ,
 
)

◆ failureString()

DOCTEST_INTERFACE const char* doctest::failureString ( assertType::Enum  at)

◆ getContextOptions()

DOCTEST_INTERFACE const ContextOptions* doctest::getContextOptions ( )

◆ operator!=()

DOCTEST_INTERFACE bool doctest::operator!= ( const String lhs,
const String rhs 
)

◆ operator<()

DOCTEST_INTERFACE bool doctest::operator< ( const String lhs,
const String rhs 
)

◆ operator<<()

DOCTEST_INTERFACE std::ostream& doctest::operator<< ( std::ostream s,
const String in 
)

◆ operator<=()

DOCTEST_INTERFACE bool doctest::operator<= ( const String lhs,
const String rhs 
)

◆ operator==()

DOCTEST_INTERFACE bool doctest::operator== ( const String lhs,
const String rhs 
)

◆ operator>()

DOCTEST_INTERFACE bool doctest::operator> ( const String lhs,
const String rhs 
)

◆ operator>=()

DOCTEST_INTERFACE bool doctest::operator>= ( const String lhs,
const String rhs 
)

◆ registerExceptionTranslator()

template<typename T >
int doctest::registerExceptionTranslator ( String(*)(T)  translateFunction)

Definition at line 1549 of file doctest.h.

◆ registerReporter()

template<typename Reporter >
int doctest::registerReporter ( const char *  name,
int  priority,
bool  isReporter 
)

Definition at line 1715 of file doctest.h.

◆ skipPathFromFilename()

DOCTEST_INTERFACE const char* doctest::skipPathFromFilename ( const char *  file)

◆ toString() [1/18]

template<typename T >
String doctest::toString ( const DOCTEST_REF_WRAP(T)  value)

Definition at line 850 of file doctest.h.

◆ toString() [2/18]

DOCTEST_INTERFACE String doctest::toString ( bool  in)

◆ toString() [3/18]

DOCTEST_INTERFACE String doctest::toString ( float  in)

◆ toString() [4/18]

DOCTEST_INTERFACE String doctest::toString ( double  in)

◆ toString() [5/18]

DOCTEST_INTERFACE String doctest::toString ( double long  in)

◆ toString() [6/18]

DOCTEST_INTERFACE String doctest::toString ( char  in)

◆ toString() [7/18]

DOCTEST_INTERFACE String doctest::toString ( char signed  in)

◆ toString() [8/18]

DOCTEST_INTERFACE String doctest::toString ( char unsigned  in)

◆ toString() [9/18]

DOCTEST_INTERFACE String doctest::toString ( int short  in)

◆ toString() [10/18]

DOCTEST_INTERFACE String doctest::toString ( int short unsigned  in)

◆ toString() [11/18]

DOCTEST_INTERFACE String doctest::toString ( int  in)

◆ toString() [12/18]

DOCTEST_INTERFACE String doctest::toString ( int unsigned  in)

◆ toString() [13/18]

DOCTEST_INTERFACE String doctest::toString ( int long  in)

◆ toString() [14/18]

DOCTEST_INTERFACE String doctest::toString ( int long unsigned  in)

◆ toString() [15/18]

DOCTEST_INTERFACE String doctest::toString ( int long long  in)

◆ toString() [16/18]

DOCTEST_INTERFACE String doctest::toString ( int long long unsigned  in)

◆ toString() [17/18]

DOCTEST_INTERFACE String doctest::toString ( std::nullptr_t  in)

◆ toString() [18/18]

DOCTEST_INTERFACE String doctest::toString ( const Approx in)

Variable Documentation

◆ is_running_in_test

DOCTEST_INTERFACE bool doctest::is_running_in_test


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23