Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Classes | |
struct | Compare |
struct | Compare< ComparisonOperation::Equal > |
struct | Compare< ComparisonOperation::GreaterThan > |
struct | Compare< ComparisonOperation::GreaterThanOrEqual > |
struct | Compare< ComparisonOperation::LessThan > |
struct | Compare< ComparisonOperation::LessThanOrEqual > |
struct | Compare< ComparisonOperation::NotEqual > |
class | HasInitMain |
struct | QCborValueFormatter |
Typedefs | |
template<typename T > | |
using | is_suitable_type_v |
Functions | |
template<typename T > | |
std::enable_if< HasInitMain< T >::value, void >::type | callInitMain () |
template<typename T > | |
std::enable_if<!HasInitMain< T >::value, void >::type | callInitMain () |
const char * | toString (QSizePolicy::Policy p) |
QByteArray | toString (QSizePolicy::ControlTypes ct) |
QByteArray | toString (QSizePolicy sp) |
Q_TESTLIB_EXPORT void | throwOnFail () |
Q_TESTLIB_EXPORT void | throwOnSkip () |
Q_TESTLIB_EXPORT void | maybeThrowOnFail () |
Q_TESTLIB_EXPORT void | maybeThrowOnSkip () |
Q_TESTLIB_EXPORT QString | formatTryTimeoutDebugMessage (q_no_char8_t::QUtf8StringView expr, int timeout, int actual) |
template<typename T1 > | |
const char * | genericToString (const void *arg) |
template<> | |
const char * | genericToString< char * > (const void *arg) |
template<typename T > | |
const char * | pointerToString (const void *arg) |
template<typename T > | |
std::enable_if< QtPrivate::IsQEnumHelper< T >::Value, char * >::type | toString (T e) |
template<typename T > | |
std::enable_if<!QtPrivate::IsQEnumHelper< T >::Value &&std::is_enum_v< T >, char * >::type | toString (const T &e) |
template<typename T > | |
std::enable_if<!QtPrivate::IsQEnumHelper< T >::Value &&!std::is_enum_v< T >, char * >::type | toString (const T &t) |
template<typename F > | |
std::enable_if< QtPrivate::IsQEnumHelper< F >::Value, char * >::type | toString (QFlags< F > f) |
template<typename F > | |
std::enable_if<!QtPrivate::IsQEnumHelper< F >::Value, char * >::type | toString (QFlags< F > f) |
Variables | |
bool | noCrashHandler = false |
static bool | failed = false |
template<typename T > | |
constexpr bool | is_suitable_type_helper_v |
using QTest::Internal::is_suitable_type_v |
Definition at line 89 of file qtesttostring.h.
std::enable_if< HasInitMain< T >::value, void >::type QTest::Internal::callInitMain | ( | ) |
std::enable_if<!HasInitMain< T >::value, void >::type QTest::Internal::callInitMain | ( | ) |
QString QTest::Internal::formatTryTimeoutDebugMessage | ( | q_no_char8_t::QUtf8StringView | expr, |
int | timeout, | ||
int | actual ) |
Definition at line 357 of file qtestcase.cpp.
References QString::number().
const char * QTest::Internal::genericToString | ( | const void * | arg | ) |
Definition at line 352 of file qtestcase.h.
References arg, QTest::toString(), and toString().
Referenced by QTest::qCompare(), and QTest::qCompareOp().
|
inline |
Definition at line 358 of file qtestcase.h.
References arg, QTest::toString(), and toString().
void QTest::Internal::maybeThrowOnFail | ( | ) |
Definition at line 201 of file qtestcase.cpp.
References QTest::g_throwOnFail, and throwOnFail().
void QTest::Internal::maybeThrowOnSkip | ( | ) |
Definition at line 207 of file qtestcase.cpp.
References QTest::g_throwOnSkip, and throwOnSkip().
const char * QTest::Internal::pointerToString | ( | const void * | arg | ) |
Definition at line 364 of file qtestcase.h.
References arg, QTest::toString(), and toString().
void QTest::Internal::throwOnFail | ( | ) |
Definition at line 195 of file qtestcase.cpp.
Referenced by maybeThrowOnFail().
void QTest::Internal::throwOnSkip | ( | ) |
Definition at line 196 of file qtestcase.cpp.
Referenced by maybeThrowOnSkip().
|
inline |
Definition at line 45 of file qtesttostring.h.
References QByteArray::number(), and qstrdup().
|
inline |
Definition at line 51 of file qtesttostring.h.
References qstrdup().
|
inline |
Definition at line 67 of file qtesttostring.h.
References QByteArray::constData(), qstrdup(), and QMetaEnum::valueToKeys().
|
inline |
Definition at line 74 of file qtesttostring.h.
References qsnprintf().
|
inline |
Definition at line 49 of file qtest_widgets.h.
References QByteArray::number(), QByteArray(), sp, and toString().
|
inline |
Definition at line 43 of file qtest_widgets.h.
References QMetaEnum::valueToKeys().
|
inline |
Definition at line 37 of file qtest_widgets.h.
References QMetaEnum::valueToKey().
Referenced by genericToString(), genericToString< char * >(), pointerToString(), QTest::toString(), toString(), toString(), toString(), and toString().
|
inline |
Definition at line 38 of file qtesttostring.h.
References qstrdup(), and QMetaEnum::valueToKey().
|
static |
Definition at line 26 of file qtestresult.cpp.
Referenced by QTest::hasFailed(), and QTest::setFailed().
|
constexpr |
Definition at line 83 of file qtesttostring.h.
Q_TESTLIB_EXPORT bool QTest::Internal::noCrashHandler = false |
Definition at line 440 of file qtestcase.cpp.
Referenced by QTest::qtest_qParseArgs(), and quick_test_main_with_setup().