Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtestassert.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
QTESTASSERT_H
5
#
define
QTESTASSERT_H
6
7
#
include
<
QtCore
/
qglobal
.
h
>
8
9
QT_BEGIN_NAMESPACE
10
11
#
define
QTEST_ASSERT
(
cond
)
(
(
cond
)
?
static_cast
<
void
>
(
0
)
:
qt_assert
(
#
cond
,
__FILE__
,
__LINE__
)
)
12
13
#
define
QTEST_ASSERT_X
(
cond
,
where
,
what
)
(
(
cond
)
?
static_cast
<
void
>
(
0
)
:
qt_assert_x
(
where
,
what
,
__FILE__
,
__LINE__
)
)
14
15
QT_END_NAMESPACE
16
17
#
endif
QBenchmarkResult
Definition
qbenchmark_p.h:61
QTestLog
Definition
qtestlog_p.h:34
QPlatformGraphicsBufferHelper
\inmodule QtGui
YAML_INDENT
#define YAML_INDENT
Definition
qtaptestlogger.cpp:164
qtbase
src
testlib
qtestassert.h
Generated on
for Qt by
1.14.0