Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qttestglobal.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QTTESTGLOBAL_H
5#define QTTESTGLOBAL_H
6
7#if 0
8#pragma qt_deprecates(qtest_global.h)
9#endif
10
11#include <QtCore/qglobal.h>
12#include <QtTest/qttestlib-config.h>
13#include <QtTest/qttestexports.h>
14
16
17#if (defined Q_CC_HPACC) && (defined __ia64)
18# ifdef Q_TESTLIB_EXPORT
19# undef Q_TESTLIB_EXPORT
20# endif
21# define Q_TESTLIB_EXPORT
22#endif
23
24#define QTEST_VERSION QT_VERSION
25#define QTEST_VERSION_STR QT_VERSION_STR
26
27namespace QTest
28{
29 enum TestFailMode { Abort = 1, Continue = 2 };
31 CustomCompare, /* Used for QCOMPARE() */
32 Equal,
38 };
39}
40
42
43#endif
Combined button and popup list for selecting options.
ComparisonOperation