Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
doctest::detail::TestCase Struct Reference

#include <doctest.h>

+ Inheritance diagram for doctest::detail::TestCase:

Public Member Functions

 TestCase (funcType test, const char *file, unsigned line, const TestSuite &test_suite, const String &type=String(), int template_id=-1)
 
 TestCase (const TestCase &other)
 
 TestCase (TestCase &&)=delete
 
TestCaseoperator= (const TestCase &other)
 
DOCTEST_MSVC_SUPPRESS_WARNING_POP TestCaseoperator= (TestCase &&)=delete
 
TestCaseoperator* (const char *in)
 
template<typename T >
TestCaseoperator* (const T &in)
 
bool operator< (const TestCase &other) const
 
 ~TestCase ()=default
 

Data Fields

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

Detailed Description

Definition at line 1615 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 String & type = String(),
int template_id = -1 )

◆ TestCase() [2/3]

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

◆ TestCase() [3/3]

doctest::detail::TestCase::TestCase ( TestCase && )
delete

◆ ~TestCase()

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

Member Function Documentation

◆ operator*() [1/2]

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 1638 of file doctest.h.

1638 {
1639 in.fill(*this);
1640 return *this;
1641 }

◆ operator<()

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

◆ operator=() [1/2]

TestCase & doctest::detail::TestCase::operator= ( const TestCase & other)

◆ operator=() [2/2]

DOCTEST_MSVC_SUPPRESS_WARNING_POP TestCase & doctest::detail::TestCase::operator= ( TestCase && )
delete

Field Documentation

◆ m_full_name

String doctest::detail::TestCase::m_full_name

Definition at line 1621 of file doctest.h.

◆ m_template_id

int doctest::detail::TestCase::m_template_id

Definition at line 1620 of file doctest.h.

◆ m_test

funcType doctest::detail::TestCase::m_test

Definition at line 1617 of file doctest.h.

◆ m_type

String doctest::detail::TestCase::m_type

Definition at line 1619 of file doctest.h.


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