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
23
24#if defined(QT_USE_APPLE_UNIFIED_LOGGING)
26{
27public:
28 static bool debugLoggingEnabled();
29
31
32 void enterTestFunction(const char *function) override;
34
35 void addIncident(IncidentTypes type, const char *description,
36 const char *file = nullptr, int line = 0) override;
38 const QString &) override;
40 const char *file = nullptr, int line = 0) override;
41
43 { Q_UNUSED(result); }
44
45private:
46 QString subsystem() const;
47 QString testIdentifier() const;
48};
49#endif
50
52
53#endif // QAPPLETESTLOGGER_P_H
\inmodule QtSql