Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
#include <QtCore/qglobal.h>
8
#include <QtTest/qttestlib-config.h>
9
#include <QtTest/qttestexports.h>
10
11
QT_BEGIN_NAMESPACE
12
13
#if (defined Q_CC_HPACC) && (defined __ia64)
14
# ifdef Q_TESTLIB_EXPORT
15
# undef Q_TESTLIB_EXPORT
16
# endif
17
# define Q_TESTLIB_EXPORT
18
#endif
19
20
#define QTEST_VERSION QT_VERSION
21
#define QTEST_VERSION_STR QT_VERSION_STR
22
23
namespace
QTest
24
{
25
enum
TestFailMode
{
Abort
= 1,
Continue
= 2 };
26
enum class
ComparisonOperation
{
27
CustomCompare
,
/* Used for QCOMPARE() */
28
Equal
,
29
NotEqual
,
30
LessThan
,
31
LessThanOrEqual
,
32
GreaterThan
,
33
GreaterThanOrEqual
,
34
};
35
}
36
37
QT_END_NAMESPACE
38
39
#endif
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QTest
[15]
Definition
qtestsupport_core.h:14
QTest::TestFailMode
TestFailMode
Definition
qttestglobal.h:25
QTest::Continue
@ Continue
Definition
qttestglobal.h:25
QTest::Abort
@ Abort
Definition
qttestglobal.h:25
QTest::ComparisonOperation
ComparisonOperation
Definition
qttestglobal.h:26
QTest::ComparisonOperation::NotEqual
@ NotEqual
QTest::ComparisonOperation::GreaterThanOrEqual
@ GreaterThanOrEqual
QTest::ComparisonOperation::CustomCompare
@ CustomCompare
QTest::ComparisonOperation::LessThanOrEqual
@ LessThanOrEqual
QTest::ComparisonOperation::LessThan
@ LessThan
QTest::ComparisonOperation::Equal
@ Equal
QTest::ComparisonOperation::GreaterThan
@ GreaterThan
qtbase
src
testlib
qttestglobal.h
Generated by
1.10.0