![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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, const char *lhsExpr, const char *rhsExpr, const char *expected, const char *file, int line) |
template<typename LeftType, typename RightType, typename OrderingType> | |
void | QTestPrivate::testAllComparisonOperators (LeftType lhs, RightType rhs, OrderingType expectedOrdering) |
Definition at line 121 of file qcomparisontesthelper_p.h.
Definition at line 130 of file qcomparisontesthelper_p.h.
Definition at line 66 of file qcomparisontesthelper_p.h.
Definition at line 47 of file qcomparisontesthelper_p.h.
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 343 of file qcomparisontesthelper_p.h.