Commit 3798552b authored by hjk's avatar hjk
Browse files

Debugger: Make QVariant(QHostAddress) test pass with LLDB



Enums are printed differently. Accept the fact.

Change-Id: I8e1599517c7e711ea8b04d85f8298b0d73f1cbab
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 6dc03f72
......@@ -3955,14 +3955,18 @@ void tst_Dumpers::dumper_data()
% Check("ha.ipString", "\"127.0.0.1\"", "@QString")
% Check("ha.isParsed", "true", "bool")
% Check("ha.protocol", "@QAbstractSocket::IPv4Protocol (0)",
"@QAbstractSocket::NetworkLayerProtocol")
"@QAbstractSocket::NetworkLayerProtocol").setForGdbOnly()
% Check("ha.protocol", "IPv4Protocol",
"@QAbstractSocket::NetworkLayerProtocol").setForLldbOnly()
% Check("ha.scopeId", "\"\"", "@QString")
% Check("ha1", "\"127.0.0.1\"", "@QHostAddress")
% Check("ha1.a", "2130706433", "@quint32")
% Check("ha1.ipString", "\"127.0.0.1\"", "@QString")
% Check("ha1.isParsed", "true", "bool")
% Check("ha1.protocol", "@QAbstractSocket::IPv4Protocol (0)",
"@QAbstractSocket::NetworkLayerProtocol")
"@QAbstractSocket::NetworkLayerProtocol").setForGdbOnly()
% Check("ha1.protocol", "IPv4Protocol",
"@QAbstractSocket::NetworkLayerProtocol").setForLldbOnly()
% Check("ha1.scopeId", "\"\"", "@QString")
% Check("var", "", "@QVariant (@QHostAddress)")
% Check("var.data", "\"127.0.0.1\"", "@QHostAddress");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment