qt6windows7/tests/auto/testlib/selftests/fetchbogus/tst_fetchbogus.cpp

31 lines
569 B
C++
Raw Normal View History

2023-10-30 06:33:08 +08:00
// 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"