mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 12:30:32 +08:00
31 lines
569 B
C++
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"
|