ManaPlus
|
Namespaces | |
assertAction | |
binaryAssertComparison | |
has_insertion_operator_impl | |
Data Structures | |
struct | deferred_false |
struct | has_insertion_operator |
struct | StringMakerBase |
struct | StringMakerBase< true > |
struct | TestFailureException |
struct | Subcase |
struct | Result |
struct | Expression_lhs |
struct | ExpressionDecomposer |
struct | TestSuite |
struct | TestCase |
struct | RelationalComparator |
struct | RelationalComparator< 0, L, R > |
struct | RelationalComparator< 1, L, R > |
struct | RelationalComparator< 2, L, R > |
struct | RelationalComparator< 3, L, R > |
struct | RelationalComparator< 4, L, R > |
struct | RelationalComparator< 5, L, R > |
struct | ResultBuilder |
struct | IExceptionTranslator |
class | ExceptionTranslator |
OCLINT destructor of virtual class. More... | |
struct | StringStreamBase |
struct | StringStreamBase< true > |
struct | StringStream |
class | ContextBuilder |
class | ContextScope |
struct | MessageBuilder |
Typedefs | |
typedef void(* | funcType) () |
Functions | |
void * | getNull () |
void | my_memcpy (void *dest, const void *src, unsigned num) |
std::ostream * | createStream () |
String | getStreamResult (std::ostream *) |
void | freeStream (std::ostream *) |
String | rawMemoryToString (const void *object, unsigned size) |
template<typename T > | |
String | rawMemoryToString (const T &object) |
template<typename T > | |
const char * | type_to_string () |
bool | checkIfShouldThrow (assertType::Enum at) |
void | fastAssertThrowIfFlagSet (int flags) |
const ContextOptions * | getContextOptions () |
template<typename L , typename R > | |
String | stringifyBinaryExpr (const L &lhs, const char *op, const R &rhs) |
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH | DOCTEST_CLANG_SUPPRESS_WARNING ("-Wsign-conversion") DOCTEST_CLANG_SUPPRESS_WARNING("-Wsign-compare") DOCTEST_GCC_SUPPRESS_WARNING_PUSH DOCTEST_GCC_SUPPRESS_WARNING("-Wsign-conversion") DOCTEST_GCC_SUPPRESS_WARNING("-Wsign-compare") DOCTEST_MSVC_SUPPRESS_WARNING_PUSH DOCTEST_MSVC_SUPPRESS_WARNING(4388) DOCTEST_MSVC_SUPPRESS_WARNING(4389) DOCTEST_MSVC_SUPPRESS_WARNING(4018) template< typename L |
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH R bool | eq (const L &lhs, const R &rhs) |
template<typename L , typename R > | |
bool | ne (const L &lhs, const R &rhs) |
template<typename L , typename R > | |
bool | lt (const L &lhs, const R &rhs) |
template<typename L , typename R > | |
bool | gt (const L &lhs, const R &rhs) |
template<typename L , typename R > | |
bool | le (const L &lhs, const R &rhs) |
template<typename L , typename R > | |
bool | ge (const L &lhs, const R &rhs) |
int | regTest (const TestCase &tc) |
int | setTestSuite (const TestSuite &ts) |
template<int comparison, typename L , typename R > | |
__attribute__ ((noinline)) int fast_binary_assert(assertType | |
template<typename L > | |
__attribute__ ((noinline)) int fast_unary_assert(assertType | |
void | registerExceptionTranslatorImpl (const IExceptionTranslator *translateFunction) |
void | writeStringToStream (std::ostream *s, const String &str) |
template<typename T > | |
void | toStream (std::ostream *s, const T &value) |
void | toStream (std::ostream *s, bool in) |
void | toStream (std::ostream *s, float in) |
void | toStream (std::ostream *s, double in) |
void | toStream (std::ostream *s, double long in) |
void | toStream (std::ostream *s, char in) |
void | toStream (std::ostream *s, char signed in) |
void | toStream (std::ostream *s, char unsigned in) |
void | toStream (std::ostream *s, int short in) |
void | toStream (std::ostream *s, int short unsigned in) |
void | toStream (std::ostream *s, int in) |
void | toStream (std::ostream *s, int unsigned in) |
void | toStream (std::ostream *s, int long in) |
void | toStream (std::ostream *s, int long unsigned in) |
void | toStream (std::ostream *s, int long long in) |
void | toStream (std::ostream *s, int long long unsigned in) |
template<> | |
const char * | type_to_string< bool > () |
template<> | |
const char * | type_to_string< float > () |
template<> | |
const char * | type_to_string< double > () |
template<> | |
const char * | type_to_string< long double > () |
template<> | |
const char * | type_to_string< char > () |
template<> | |
const char * | type_to_string< signed char > () |
template<> | |
const char * | type_to_string< unsigned char > () |
template<> | |
const char * | type_to_string< wchar_t > () |
template<> | |
const char * | type_to_string< short int > () |
template<> | |
const char * | type_to_string< unsigned short int > () |
template<> | |
const char * | type_to_string< int > () |
template<> | |
const char * | type_to_string< unsigned int > () |
template<> | |
const char * | type_to_string< long int > () |
template<> | |
const char * | type_to_string< unsigned long int > () |
template<> | |
const char * | type_to_string< long long int > () |
template<> | |
const char * | type_to_string< unsigned long long int > () |
doctest::detail::__attribute__ | ( | (noinline) | ) |
Definition at line 1371 of file doctest.h.
References checkIfShouldThrow(), doctest::detail::assertAction::dbgbreak, DOCTEST_BREAK_INTO_DEBUGGER, fastAssertThrowIfFlagSet(), getContextOptions(), doctest::detail::ResultBuilder::log(), doctest::AssertData::m_decomposition, doctest::AssertData::m_failed, doctest::detail::assertAction::shouldthrow, stringifyBinaryExpr(), and doctest::ContextOptions::success.
doctest::detail::__attribute__ | ( | (noinline) | ) |
OCLINT bitwise operator in conditional
Definition at line 1403 of file doctest.h.
References checkIfShouldThrow(), doctest::detail::assertAction::dbgbreak, DOCTEST_BREAK_INTO_DEBUGGER, fastAssertThrowIfFlagSet(), getContextOptions(), doctest::assertType::is_false, doctest::detail::ResultBuilder::log(), doctest::AssertData::m_decomposition, doctest::AssertData::m_failed, doctest::detail::assertAction::shouldthrow, and doctest::toString().
bool doctest::detail::checkIfShouldThrow | ( | assertType::Enum | at | ) |
Referenced by __attribute__().
std::ostream* doctest::detail::createStream | ( | ) |
Referenced by doctest::detail::StringMakerBase< true >::convert().
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH doctest::detail::DOCTEST_CLANG_SUPPRESS_WARNING | ( | "-Wsign-conversion" | ) |
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH R bool doctest::detail::eq | ( | const L & | lhs, |
const R & | rhs | ||
) |
void doctest::detail::fastAssertThrowIfFlagSet | ( | int | flags | ) |
Referenced by __attribute__().
void doctest::detail::freeStream | ( | std::ostream * | ) |
Referenced by doctest::detail::StringMakerBase< true >::convert().
bool doctest::detail::ge | ( | const L & | lhs, |
const R & | rhs | ||
) |
const ContextOptions* doctest::detail::getContextOptions | ( | ) |
|
inline |
String doctest::detail::getStreamResult | ( | std::ostream * | ) |
Referenced by doctest::detail::StringMakerBase< true >::convert().
bool doctest::detail::gt | ( | const L & | lhs, |
const R & | rhs | ||
) |
bool doctest::detail::le | ( | const L & | lhs, |
const R & | rhs | ||
) |
bool doctest::detail::lt | ( | const L & | lhs, |
const R & | rhs | ||
) |
void doctest::detail::my_memcpy | ( | void * | dest, |
const void * | src, | ||
unsigned | num | ||
) |
Referenced by doctest::detail::ContextBuilder::__attribute__().
bool doctest::detail::ne | ( | const L & | lhs, |
const R & | rhs | ||
) |
String doctest::detail::rawMemoryToString | ( | const T & | object | ) |
Definition at line 847 of file doctest.h.
Referenced by doctest::StringMaker< R C::* >::convert(), and doctest::StringMaker< T * >::convert().
String doctest::detail::rawMemoryToString | ( | const void * | object, |
unsigned | size | ||
) |
void doctest::detail::registerExceptionTranslatorImpl | ( | const IExceptionTranslator * | translateFunction | ) |
Referenced by doctest::registerExceptionTranslator().
int doctest::detail::regTest | ( | const TestCase & | tc | ) |
int doctest::detail::setTestSuite | ( | const TestSuite & | ts | ) |
String doctest::detail::stringifyBinaryExpr | ( | const L & | lhs, |
const char * | op, | ||
const R & | rhs | ||
) |
Definition at line 1036 of file doctest.h.
References doctest::toString().
Referenced by __attribute__().
void doctest::detail::toStream | ( | std::ostream * | s, |
bool | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
char | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
char signed | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
char unsigned | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
const T & | value | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
double | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
double long | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
float | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int long | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int long long | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int long long unsigned | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int long unsigned | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int short | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int short unsigned | in | ||
) |
void doctest::detail::toStream | ( | std::ostream * | s, |
int unsigned | in | ||
) |
const char* doctest::detail::type_to_string | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void doctest::detail::writeStringToStream | ( | std::ostream * | s, |
const String & | str | ||
) |
Referenced by doctest::detail::StringStreamBase< C >::convert().