Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
#include <QObject>
|
||||
#include <QtTest>
|
||||
|
||||
class FunctionTopicSmokeTest : public QObject {
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void test_containers() {
|
||||
QStringList list;
|
||||
list << QStringLiteral("a") << QStringLiteral("b") << QStringLiteral("c");
|
||||
QCOMPARE(list.size(), 3);
|
||||
QVERIFY(list.contains(QStringLiteral("b")));
|
||||
}
|
||||
void test_qmap_basic() {
|
||||
QMap<QString,int> m;
|
||||
m[QStringLiteral("one")] = 1;
|
||||
m[QStringLiteral("two")] = 2;
|
||||
QCOMPARE(m.value(QStringLiteral("two")), 2);
|
||||
}
|
||||
};
|
||||
|
||||
QTEST_MAIN(FunctionTopicSmokeTest)
|
||||
#include "ddsFunctionTopicTests_smoke.moc"
|
||||
Reference in new issue
Block a user