forked from qt-creator/qt-creator
debugger: offer an option to show C-style escaped strings
Task-number: QTCREATORBUG-5667 Change-Id: I1c48fb19ece055c0b3a4b29ccee063cbce06f525 Reviewed-on: http://codereview.qt.nokia.com/2582 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1640,6 +1640,11 @@ void xxxx()
|
||||
|
||||
void testQString()
|
||||
{
|
||||
QString str1("Hello Qt"); // --> Value: "Hello Qt"
|
||||
QString str2("Hello\nQt"); // --> Value: ""Hello\nQt"" (double quote not expected)
|
||||
QString str3("Hello\rQt"); // --> Value: ""HelloQt"" (double quote and missing \r not expected)
|
||||
QString str4("Hello\tQt"); // --> Value: "Hello\9Qt" (expected \t instead of \9)
|
||||
|
||||
QString str = "Hello ";
|
||||
str += " big, ";
|
||||
str += "\t";
|
||||
|
||||
Reference in New Issue
Block a user