Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:12:24

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QTTESTGLOBAL_H
0005 #define QTTESTGLOBAL_H
0006 
0007 #include <QtCore/qglobal.h>
0008 #include <QtTest/qttestlib-config.h>
0009 #include <QtTest/qttestexports.h>
0010 
0011 QT_BEGIN_NAMESPACE
0012 
0013 #if (defined Q_CC_HPACC) && (defined __ia64)
0014 # ifdef Q_TESTLIB_EXPORT
0015 #  undef Q_TESTLIB_EXPORT
0016 # endif
0017 # define Q_TESTLIB_EXPORT
0018 #endif
0019 
0020 #define QTEST_VERSION     QT_VERSION
0021 #define QTEST_VERSION_STR QT_VERSION_STR
0022 
0023 namespace QTest
0024 {
0025     enum TestFailMode { Abort = 1, Continue = 2 };
0026     enum class ComparisonOperation {
0027         CustomCompare, /* Used for QCOMPARE() */
0028         Equal,
0029         NotEqual,
0030         LessThan,
0031         LessThanOrEqual,
0032         GreaterThan,
0033         GreaterThanOrEqual,
0034     };
0035 }
0036 
0037 QT_END_NAMESPACE
0038 
0039 #endif