qt6windows7/tests/auto/testlib/selftests/fetchbogus/tst_fetchbogus.cpp
2023-10-29 23:33:08 +01:00

31 lines
569 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include <QtCore/QCoreApplication>
#include <QTest>
class tst_FetchBogus: public QObject
{
Q_OBJECT
private slots:
void fetchBogus_data();
void fetchBogus();
};
void tst_FetchBogus::fetchBogus_data()
{
QTest::addColumn<QString>("string");
QTest::newRow("foo") << QString("blah");
}
void tst_FetchBogus::fetchBogus()
{
QFETCH(QString, bubu);
}
QTEST_MAIN(tst_FetchBogus)
#include "tst_fetchbogus.moc"