summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_standalone_test/tst_standalone_test.cpp
blob: fa533602ecdfe6be74d73fd68b3d720b0ebe901f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <QTest>
#include <QWindow>

class tst_standalone_test : public QObject
{
    Q_OBJECT

private slots:
    void testLaunched()
    {
        QWindow w;
        w.show();
        QVERIFY(QTest::qWaitForWindowActive(&w));
    }
};

QTEST_MAIN(tst_standalone_test)

#include "tst_standalone_test.moc"