summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtaptestlogger_p.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-03-29 14:32:21 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-03-29 22:21:58 +0200
commitac38401d3112f2ffeca072b65e1a254a9469fe30 (patch)
tree175164781b29150b0e128919ad10b1478875c818 /src/testlib/qtaptestlogger_p.h
parent299186602a3ad5c7cec0879170901ffcda673414 (diff)
Move TAP's messages block to after the primary report details
In the process, split it from its comments block and don't bother with a YAML block if it would only have contained comments. Task-number: QTBUG-96844 Change-Id: I08c20f796252bb270ba9caa4c055cdcc0843a88b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/testlib/qtaptestlogger_p.h')
-rw-r--r--src/testlib/qtaptestlogger_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtaptestlogger_p.h b/src/testlib/qtaptestlogger_p.h
index 99902b2f08..2650e95895 100644
--- a/src/testlib/qtaptestlogger_p.h
+++ b/src/testlib/qtaptestlogger_p.h
@@ -78,7 +78,7 @@ public:
private:
void outputTestLine(bool ok, int testNumber, const QTestCharBuffer &directive);
void outputBuffer(const QTestCharBuffer &buffer);
- bool hasMessages() const { return m_comments.constData()[0] || m_messages.constData()[0]; }
+ void flushComments();
void flushMessages();
void beginYamlish();
void endYamlish();