Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
#include <QObject>
|
||||
#include <QtTest>
|
||||
|
||||
class DataTopicSmokeTest : public QObject {
|
||||
Q_OBJECT
|
||||
private slots:
|
||||
void initTestCase() {
|
||||
// basic QCoreApplication check via QCoreApplication::applicationName
|
||||
QVERIFY(QCoreApplication::instance() == nullptr || true); // harmless check
|
||||
}
|
||||
void test_qstring_format() {
|
||||
QString fmt = QStringLiteral("%1-%2").arg(42).arg(QStringLiteral("abc"));
|
||||
QCOMPARE(fmt, QStringLiteral("42-abc"));
|
||||
}
|
||||
};
|
||||
|
||||
QTEST_MAIN(DataTopicSmokeTest)
|
||||
#include "ddsDataTopicTests_smoke.moc"
|
||||
Reference in new issue
Block a user