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
qappletestlogger_p.h
Go to the documentation of this file.
1
// Copyright (C) 2018 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
QAPPLETESTLOGGER_P_H
5
#
define
QAPPLETESTLOGGER_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtTest
/
private
/
qabstracttestlogger_p
.
h
>
19
20
#
include
<
QtCore
/
private
/
qcore_mac_p
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
#
if
defined
(
QT_USE_APPLE_UNIFIED_LOGGING
)
25
class
QAppleTestLogger
:
public
QAbstractTestLogger
26
{
27
public
:
28
static
bool
debugLoggingEnabled
();
29
30
QAppleTestLogger
();
31
32
void
enterTestFunction
(
const
char
*
function
)
override
;
33
void
leaveTestFunction
()
override
;
34
35
void
addIncident
(
IncidentTypes
type
,
const
char
*
description
,
36
const
char
*
file
=
nullptr
,
int
line
= 0)
override
;
37
void
addMessage
(
QtMsgType
,
const
QMessageLogContext
&,
38
const
QString
&)
override
;
39
void
addMessage
(
MessageTypes
type
,
const
QString
&
message
,
40
const
char
*
file
=
nullptr
,
int
line
= 0)
override
;
41
42
void
addBenchmarkResult
(
const
QBenchmarkResult
&
result
)
override
43
{
Q_UNUSED
(
result
); }
44
45
private
:
46
QString
subsystem
()
const
;
47
QString
testIdentifier
()
const
;
48
};
49
#
endif
50
51
QT_END_NAMESPACE
52
53
#
endif
// QAPPLETESTLOGGER_P_H
QSqlRelationalDelegate
\inmodule QtSql
qtbase
src
testlib
qappletestlogger_p.h
Generated on Mon Mar 10 2025 00:45:48 for Qt by
1.13.2