summaryrefslogtreecommitdiffstats
path: root/src/testlib/qttestglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qttestglobal.h')
-rw-r--r--src/testlib/qttestglobal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testlib/qttestglobal.h b/src/testlib/qttestglobal.h
index 4557eb5a07..8ede78c2a2 100644
--- a/src/testlib/qttestglobal.h
+++ b/src/testlib/qttestglobal.h
@@ -23,6 +23,15 @@ QT_BEGIN_NAMESPACE
namespace QTest
{
enum TestFailMode { Abort = 1, Continue = 2 };
+ enum class ComparisonOperation {
+ CustomCompare, /* Used for QCOMPARE() */
+ Equal,
+ NotEqual,
+ LessThan,
+ LessThanOrEqual,
+ GreaterThan,
+ GreaterThanOrEqual,
+ };
}
QT_END_NAMESPACE