Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8
-
None
Description
In this example log we see the same datatag "AProperty" printing its result twice:
XFAIL : tst_qml_common::tst_propertyNameToChangedHandlerName(AProperty) Cannot distinguish between property names starting with upper case from properties starting with a lower case letter. Loc: [/home/qt/work/qt/qtdeclarative/tests/auto/qml/common/tst_qml_common.cpp(56)] PASS : tst_qml_common::tst_propertyNameToChangedHandlerName(AProperty)
In the XML file (attached) we see that there are two incidents recorded on this datatag:
<Incident type="xfail" file="/home/qt/work/qt/qtdeclarative/tests/auto/qml/common/tst_qml_common.cpp" line="92"> <DataTag><![CDATA[AProperty]]></DataTag> <Description><![CDATA[Cannot distinguish between signal names starting with upper case from signal names starting with a lower case letter.]]></Description> </Incident> <Incident type="pass" file="" line="0"> <DataTag><![CDATA[AProperty]]></DataTag> </Incident>
This leads to recording two test results, like the datatag has re-run.
Just for sake of completion, we see opposite behaviour in the JUnit XML file (attached), and no indication that there was an XFAIL. It's recorded just as a single PASS:
<testcase name="tst_propertyNameToChangedHandlerName(AProperty)" classname="tst_qml_common" time="0.000"> <system-out> <![CDATA[Cannot distinguish between property names starting with upper case from properties starting with a lower case letter.]]> </system-out> </testcase>