-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqttestglobal.h
43 lines (34 loc) · 896 Bytes
/
qttestglobal.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QTTESTGLOBAL_H
#define QTTESTGLOBAL_H
#if 0
#pragma qt_deprecates(qtest_global.h)
#endif
#include <QtCore/qglobal.h>
#include <QtTest/qttestlib-config.h>
#include <QtTest/qttestexports.h>
QT_BEGIN_NAMESPACE
#if (defined Q_CC_HPACC) && (defined __ia64)
# ifdef Q_TESTLIB_EXPORT
# undef Q_TESTLIB_EXPORT
# endif
# define Q_TESTLIB_EXPORT
#endif
#define QTEST_VERSION QT_VERSION
#define QTEST_VERSION_STR QT_VERSION_STR
namespace QTest
{
enum TestFailMode { Abort = 1, Continue = 2 };
enum class ComparisonOperation {
CustomCompare, /* Used for QCOMPARE() */
Equal,
NotEqual,
LessThan,
LessThanOrEqual,
GreaterThan,
GreaterThanOrEqual,
};
}
QT_END_NAMESPACE
#endif