Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
#include <QObject>
|
||||
#include <QtTest>
|
||||
|
||||
class GenericSmokeTest : public QObject {
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void test_string_ops() {
|
||||
QString s = QString::fromUtf8("mIxEd");
|
||||
QCOMPARE(s.toLower(), QStringLiteral("mixed"));
|
||||
}
|
||||
void test_basic_qvariant() {
|
||||
QVariant v = QStringLiteral("value");
|
||||
QVERIFY(v.canConvert<QString>());
|
||||
QCOMPARE(v.toString(), QStringLiteral("value"));
|
||||
}
|
||||
};
|
||||
|
||||
QTEST_MAIN(GenericSmokeTest)
|
||||
#include "ddsGenericDataTests_smoke.moc"
|
||||
Reference in new issue
Block a user