4#ifndef QAPPLETESTLOGGER_P_H
5#define QAPPLETESTLOGGER_P_H
18#include <QtTest/private/qabstracttestlogger_p.h>
20#include <QtCore/private/qcore_mac_p.h>
24#if defined(QT_USE_APPLE_UNIFIED_LOGGING)
28 static bool debugLoggingEnabled();
36 const char *
file =
nullptr,
int line = 0)
override;
40 const char *
file =
nullptr,
int line = 0)
override;
Base class for test loggers.
virtual void addBenchmarkResult(const QBenchmarkResult &result)=0
This virtual method is called after a benchmark has been run enough times to produce usable data.
virtual void leaveTestFunction()=0
This virtual method is called after a test function has completed, to match \l enterTestFunction().
virtual void addMessage(QtMsgType, const QMessageLogContext &, const QString &)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void enterTestFunction(const char *function)=0
This virtual method is called before each test function is invoked.
virtual void addIncident(IncidentTypes type, const char *description, const char *file=nullptr, int line=0)=0
This virtual method is called when an event occurs that relates to the resolution of the test.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message