Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.15, 6.0
-
None
Description
Consider
import QtQuick 2.15 import QtTest 1.15 Item { component TC: TestCase { function test_tc() { verify(true) } } TC {} }
In this case, enumerateTestCases in quicktest.cpp won't list test_tc (but the actual test will run).
Attachments
Issue Links
- is duplicated by
-
QTBUG-94072 Inline component causes stack overflow with QQuickTest (endless recursion)
- Closed
- relates to
-
QTBUG-90740 Quick test: inline components within components passed to createTemporaryObject cause crash
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-90762 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
332155,4 | QuickTest: Do not recurse forever on inline components in enumerateTestCases | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
332367,2 | QuickTest: Do not recurse forever on inline components in enumerateTestCases | 6.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
332370,6 | QuickTest: Do not recurse forever on inline components in enumerateTestCases | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |