ManaPlus
Public Member Functions | Data Fields
doctest::detail::TestCase Struct Reference

#include <doctest.h>

Inheritance diagram for doctest::detail::TestCase:
doctest::TestCaseData

Public Member Functions

 TestCase (funcType test, const char *file, unsigned line, const TestSuite &test_suite, const char *type="", int template_id=-1)
 
 TestCase ()
 
 ~ TestCase ()
 
 TestCase (const TestCase &other)
 
 DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH (26434) TestCase &operator
 
DOCTEST_MSVC_SUPPRESS_WARNING_POP TestCaseoperator* (const char *in)
 
template<typename T >
TestCaseoperator* (const T &in)
 
bool operator< (const TestCase &other) const
 
- Public Member Functions inherited from doctest::TestCaseData
 TestCaseData ()
 
 ~ TestCaseData ()
 
 TestCaseData (const TestCaseData &)
 
TestCaseDataoperator= (const TestCaseData &)
 

Data Fields

detail::funcType m_test
 
const char * m_type
 
int m_template_id
 
String m_full_name
 
- Data Fields inherited from doctest::TestCaseData
const char * m_file
 
unsigned m_line
 
const char * m_name
 
const char * m_test_suite
 
const char * m_description
 
bool m_skip
 
bool m_may_fail
 
bool m_should_fail
 
int m_expected_failures
 
double m_timeout
 

Detailed Description

Definition at line 1266 of file doctest.h.

Constructor & Destructor Documentation

◆ TestCase() [1/3]

doctest::detail::TestCase::TestCase ( funcType  test,
const char *  file,
unsigned  line,
const TestSuite test_suite,
const char *  type = "",
int  template_id = -1 
)

◆ TestCase() [2/3]

doctest::detail::TestCase::TestCase ( )

◆ ~ TestCase()

doctest::detail::TestCase::~ TestCase ( )

◆ TestCase() [3/3]

doctest::detail::TestCase::TestCase ( const TestCase other)

Member Function Documentation

◆ DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH()

doctest::detail::TestCase::DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH ( 26434  ) &

◆ operator*() [1/2]

DOCTEST_MSVC_SUPPRESS_WARNING_POP TestCase& doctest::detail::TestCase::operator* ( const char *  in)

◆ operator*() [2/2]

template<typename T >
TestCase& doctest::detail::TestCase::operator* ( const T &  in)
inline

Definition at line 1288 of file doctest.h.

1288  {
1289  in.fill(*this);
1290  return *this;
1291  }

◆ operator<()

bool doctest::detail::TestCase::operator< ( const TestCase other) const

Field Documentation

◆ m_full_name

String doctest::detail::TestCase::m_full_name

Definition at line 1272 of file doctest.h.

◆ m_template_id

int doctest::detail::TestCase::m_template_id

Definition at line 1271 of file doctest.h.

◆ m_test

detail::funcType doctest::detail::TestCase::m_test

Definition at line 1268 of file doctest.h.

◆ m_type

const char* doctest::detail::TestCase::m_type

Definition at line 1270 of file doctest.h.


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