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>.
|
#include <QtCore/q20type_traits.h>
#include <QtCore/qxptype_traits.h>
#include <QtTest/qtest.h>
Go to the source code of this file.
Namespaces | |
namespace | QTestPrivate |
Macros | |
#define | FOR_EACH_CREF(Func, Left, Right, Op, Result) |
#define | CHECK_SINGLE_OPERATOR(Left, Right, Op, Result) |
#define | CHECK_RUNTIME_CREF(Func, Left, Right, Op, Expected) |
#define | CHECK_RUNTIME_LR(Left, Right, Op, Expected) |
#define | QT_TEST_EQUALITY_OPS(Left, Right, Expected) |
#define | QT_TEST_ALL_COMPARISON_OPS(Left, Right, Expected) |
Functions | |
QByteArray | QTestPrivate::formatTypeWithCRefImpl (QMetaType type, bool isConst, bool isRef, bool isRvalueRef) |
template<typename T > | |
QByteArray | QTestPrivate::formatTypeWithCRef () |
template<typename LeftType , typename RightType = LeftType> | |
void | QTestPrivate::testEqualityOperatorsCompile () |
template<typename LeftType , typename RightType = LeftType> | |
void | QTestPrivate::testAllComparisonOperatorsCompile () |
template<typename LeftType , typename RightType > | |
void | QTestPrivate::testEqualityOperators (LeftType lhs, RightType rhs, bool expectedEqual) |
template<typename LeftType , typename RightType , typename OrderingType > | |
void | QTestPrivate::testAllComparisonOperators (LeftType lhs, RightType rhs, OrderingType expectedOrdering) |
Definition at line 132 of file qcomparisontesthelper_p.h.
Referenced by QTestPrivate::testAllComparisonOperators(), and QTestPrivate::testEqualityOperators().
Definition at line 141 of file qcomparisontesthelper_p.h.
Referenced by QTestPrivate::testAllComparisonOperators(), and QTestPrivate::testEqualityOperators().
Definition at line 66 of file qcomparisontesthelper_p.h.
Referenced by QTestPrivate::testAllComparisonOperatorsCompile(), and QTestPrivate::testEqualityOperatorsCompile().
Definition at line 47 of file qcomparisontesthelper_p.h.
Referenced by QTestPrivate::testAllComparisonOperatorsCompile(), and QTestPrivate::testEqualityOperatorsCompile().
A helper macro that calls QTestPrivate::testAllComparisonOperators(), checks the test's state after the function is executed, and generates a meaningful debug message with the original file and line numbers if the test has failed.
Definition at line 359 of file qcomparisontesthelper_p.h.
A helper macro that calls QTestPrivate::testEqualityOperators(), checks the test's state after the function is executed, and generates a meaningful debug message with the original file and line numbers if the test has failed.
Definition at line 339 of file qcomparisontesthelper_p.h.