diff --git a/plugins/debuggercommon/tests/debuggees/qurl.cpp b/plugins/debuggercommon/tests/debuggees/qurl.cpp --- a/plugins/debuggercommon/tests/debuggees/qurl.cpp +++ b/plugins/debuggercommon/tests/debuggees/qurl.cpp @@ -1,6 +1,6 @@ #include int main() { - QUrl u(QStringLiteral("http://www.kdevelop.org/foo")); + QUrl u(QStringLiteral("http://user@www.kdevelop.org:12345/foo?xyz=bar#asdf")); return 0; } diff --git a/plugins/lldb/unittests/test_lldbformatters.cpp b/plugins/lldb/unittests/test_lldbformatters.cpp --- a/plugins/lldb/unittests/test_lldbformatters.cpp +++ b/plugins/lldb/unittests/test_lldbformatters.cpp @@ -941,15 +941,15 @@ WAIT_FOR_A_WHILE_AND_IDLE(m_session, 50); QList> children; - children.append({QStringLiteral("(port)"), QStringLiteral("-1")}); + children.append({QStringLiteral("(port)"), QStringLiteral("12345")}); children.append({QStringLiteral("(scheme)"), QStringLiteral("\"http\"")}); - children.append({QStringLiteral("(userName)"), QStringLiteral("")}); + children.append({QStringLiteral("(userName)"), QStringLiteral("user")}); children.append({QStringLiteral("(password)"), QStringLiteral("")}); children.append({QStringLiteral("(host)"), QStringLiteral("\"www.kdevelop.org\"")}); children.append({QStringLiteral("(path)"), QStringLiteral("\"/foo\"")}); - children.append({QStringLiteral("(query)"), QStringLiteral("")}); - children.append({QStringLiteral("(fragment)"), QStringLiteral("")}); - VERIFY_LOCAL(0, "u", "\"http://www.kdevelop.org/foo\"", children); + children.append({QStringLiteral("(query)"), QStringLiteral("xyz=bar")}); + children.append({QStringLiteral("(fragment)"), QStringLiteral("asdf")}); + VERIFY_LOCAL(0, "u", "\"http://user@www.kdevelop.org:12345/foo?xyz=bar#asdf\"", children); } void LldbFormattersTest::testQUuid()