29 #include <QtTest/QtTest>
31 #include <QtCore/private/qduplicatetracker_p.h>
43 void appendTo_special();
46 void tst_QDuplicateTracker::hasSeen()
80 void tst_QDuplicateTracker::clear()
95 void tst_QDuplicateTracker::appendTo()
103 std::sort(
a.begin(),
a.end());
108 std::sort(
b.begin(),
b.end());
113 std::move(tracker).appendTo(
c);
114 std::sort(
c.begin(),
c.end());
159 return lhs.
i ==
rhs.i;
191 void tst_QDuplicateTracker::appendTo_special()
216 std::move(tracker).appendTo(
a);
232 #include "tst_qduplicatetracker.moc"
void appendTo(C &c) const &
template< typename Enum > size_t qHash(QFlags< Enum > flags, size_t seed=0) noexcept
The QObject class is the base class of all Qt objects.
The QString class provides a Unicode character string.
static QString number(int, int base=10)
QHash< int, QWidget * > hash
[35multi]
void swap(SimpleVector< T > &v1, SimpleVector< T > &v2)
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
#define QTEST_MAIN(TestObject)
#define QVERIFY(statement)
~ConstructionCounted()=default
ConstructionCounted & operator=(ConstructionCounted &&other) noexcept
ConstructionCounted & operator=(const ConstructionCounted &other) noexcept
ConstructionCounted(int i)
ConstructionCounted(ConstructionCounted &&other) noexcept
void swap(ConstructionCounted &other)
friend bool operator==(const ConstructionCounted &lhs, const ConstructionCounted &rhs)
ConstructionCounted(const ConstructionCounted &other) noexcept
std::size_t operator()(const ConstructionCounted &c) const noexcept