4#ifndef QTAPTESTLOGGER_P_H
5#define QTAPTESTLOGGER_P_H
18#include <QtTest/private/qabstracttestlogger_p.h>
37 const char *
file =
nullptr,
int line = 0)
override;
39 const char *
file =
nullptr,
int line = 0)
override;
52 bool m_gatherMessages =
false;
Base class for test loggers.
IncidentTypes
\value Pass The test ran to completion successfully.
MessageTypes
The members whose names begin with Q describe messages that originate in calls, by the test or code u...
\macro QT_RESTRICTED_CAST_FROM_ASCII
void enterTestFunction(const char *) override
This virtual method is called before each test function is invoked.
void addMessage(MessageTypes type, const QString &message, const char *file=nullptr, int line=0) override
This is an overloaded member function, provided for convenience. It differs from the above function o...
void enterTestData(QTestData *data) override
This virtual method is called before and after each call to a test function.
void stopLogging() override
Called after the end of a test run.
void leaveTestFunction() override
This virtual method is called after a test function has completed, to match \l enterTestFunction().
void addIncident(IncidentTypes type, const char *description, const char *file=nullptr, int line=0) override
This virtual method is called when an event occurs that relates to the resolution of the test.
void addBenchmarkResult(const QBenchmarkResult &) override
This virtual method is called after a benchmark has been run enough times to produce usable data.
void startLogging() override
Called before the start of a test run.
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data