Details
-
Type:
Bug
-
Status: Open
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 6.0
-
Fix Version/s: None
-
Component/s: Testing: qtestlib
-
Labels:None
Description
It happened ( QTBUG-80527 ) that unicode characters (the degree symbol of QCoordinate) were being passed through .toLatin1() causing corrupt data, before being passed as const char * to the description argument of QTestResult::verify().
To avoid these corruptions, we should say that all const char * arguments of qtestlib accept only UTF-8 encoded strings, and change all conversions to use .toUtf8().
Another thing we could do is add QString overloads to verify(), see QTBUG-81473.
Edward Welbourne Tor Arne Vestbø as we discussed.
Attachments
Issue Links
- resulted from
-
QTBUG-80527 qt/qtlocation autotests fail occasionally on MacOS 10.13
-
- Closed
-