summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcoreelement_p.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-07-29 16:40:09 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-08-05 03:58:50 +0200
commit5a483656bca949f6c31b5da5339fa5cbe1dfac76 (patch)
tree44b803a7955de910f5e46afeec2dc94dd1bb911f /src/testlib/qtestcoreelement_p.h
parentbb74e72aa92b599cb4c80c23161ce9b66639ec01 (diff)
testlib: Sync up QTest::LogElementType with element names
539553a57216c4ece292ff54fb623807c334cdb6 renamed the LET_Error element enum to LET_Message, without renaming the corresponding "error" element name. This was not an issue in practice, since we never write the actual element in QTestJUnitStreamer, but the two should be in sync to avoid any confusion. Pick-to: 6.2 Change-Id: I6c29f5303393b5f36b2f9877940bf3f6eaf3b7d2 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/testlib/qtestcoreelement_p.h')
-rw-r--r--src/testlib/qtestcoreelement_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testlib/qtestcoreelement_p.h b/src/testlib/qtestcoreelement_p.h
index 4eb7361a5c..98de54ccff 100644
--- a/src/testlib/qtestcoreelement_p.h
+++ b/src/testlib/qtestcoreelement_p.h
@@ -139,6 +139,7 @@ const char *QTestCoreElement<ElementType>::elementName() const
"testcase",
"testsuite",
"benchmark",
+ "message",
"system-err",
"system-out"
};