Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qjunittestlogger.cpp File Reference

(1dfa922606e497918e57a6a06f96ee63b7fb163e)

#include <QtTest/private/qjunittestlogger_p.h>
#include <QtTest/private/qtestelement_p.h>
#include <QtTest/private/qtestjunitstreamer_p.h>
#include <QtTest/qtestcase.h>
#include <QtTest/private/qtestresult_p.h>
#include <QtTest/private/qbenchmark_p.h>
#include <QtTest/private/qtestlog_p.h>
#include <QtCore/qlibraryinfo.h>
#include <string.h>
+ Include dependency graph for qjunittestlogger.cpp:

Go to the source code of this file.

Functions

static qreal elapsedTestCaseSeconds ()
 
static QByteArray toSecondsFormat (qreal ms)
 

Variables

static Q_CONSTINIT QElapsedTimer elapsedTestcaseTime
 

Function Documentation

◆ elapsedTestCaseSeconds()

static qreal elapsedTestCaseSeconds ( )
static

Definition at line 42 of file qjunittestlogger.cpp.

References elapsedTestcaseTime.

◆ toSecondsFormat()

static QByteArray toSecondsFormat ( qreal ms)
static

Definition at line 47 of file qjunittestlogger.cpp.

References QByteArray::number().

Referenced by QJUnitTestLogger::stopLogging().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ elapsedTestcaseTime

Q_CONSTINIT QElapsedTimer elapsedTestcaseTime
static