diff options
author | hjk <hjk@qt.io> | 2017-02-01 11:44:40 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-02-01 12:12:38 +0000 |
commit | 19e6ee78628e6cf8540a09dfc207b6a825319fc6 (patch) | |
tree | 2ae691a592bcca5f064e4fcc1f83078ee67c51b9 /tests/auto/debugger/tst_dumpers.cpp | |
parent | 228e53aab1947e6e3c576b246adf0f39b213a072 (diff) | |
download | qt-creator-19e6ee78628e6cf8540a09dfc207b6a825319fc6.tar.gz |
Debugger: Adapt QHostAddress dumper after Qt Core change a6cdfacf
Change-Id: I750d37f7ab23a638c2e0c5f0fd808ba22a0b49d0
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'tests/auto/debugger/tst_dumpers.cpp')
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 198e27de93..4b4397ca21 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -2047,7 +2047,7 @@ void tst_Dumpers::dumper_data() + NetworkProfile() + Check("ha1", "129.0.0.130", "@QHostAddress") - + Check("ha2", "\"127.0.0.1\"", "@QHostAddress") + + Check("ha2", ValuePattern(".*127.0.0.1.*"), "@QHostAddress") + Check("addr", "1:203:506:0:809:a0b:0:0", "@QIPv6Address") + Check("addr.3", "[3]", "3", "unsigned char"); @@ -3695,26 +3695,26 @@ void tst_Dumpers::dumper_data() + NetworkProfile() - + Check("ha", "\"127.0.0.1\"", "@QHostAddress") + + Check("ha", ValuePattern(".*127.0.0.1.*"), "@QHostAddress") + Check("ha.a", "2130706433", TypeDef("unsigned int", "@quint32")) - + Check("ha.ipString", "\"127.0.0.1\"", "@QString") - + Check("ha.isParsed", "1", "bool") + + Check("ha.ipString", ValuePattern(".*127.0.0.1.*"), "@QString") + % QtVersion(0, 0x50800) //+ Check("ha.protocol", "@QAbstractSocket::IPv4Protocol (0)", // "@QAbstractSocket::NetworkLayerProtocol") % GdbEngine //+ Check("ha.protocol", "IPv4Protocol", // "@QAbstractSocket::NetworkLayerProtocol") % LldbEngine + Check("ha.scopeId", "\"\"", "@QString") - + Check("ha1", "\"127.0.0.1\"", "@QHostAddress") + + Check("ha1", ValuePattern(".*127.0.0.1.*"), "@QHostAddress") + Check("ha1.a", "2130706433", TypeDef("unsigned int", "@quint32")) + Check("ha1.ipString", "\"127.0.0.1\"", "@QString") - + Check("ha1.isParsed", "1", "bool") + % QtVersion(0, 0x50800) //+ Check("ha1.protocol", "@QAbstractSocket::IPv4Protocol (0)", // "@QAbstractSocket::NetworkLayerProtocol") % GdbEngine //+ Check("ha1.protocol", "IPv4Protocol", // "@QAbstractSocket::NetworkLayerProtocol") % LldbEngine + Check("ha1.scopeId", "\"\"", "@QString") + Check("var", "", "@QVariant (@QHostAddress)") - + Check("var.data", "\"127.0.0.1\"", "@QHostAddress"); + + Check("var.data", ValuePattern(".*127.0.0.1.*"), "@QHostAddress"); QTest::newRow("QVariantList") |