Changeset View
Changeset View
Standalone View
Standalone View
plugins/lldb/unittests/test_lldbformatters.cpp
Show First 20 Lines • Show All 937 Lines • ▼ Show 20 Line(s) | 930 | { | |||
---|---|---|---|---|---|
938 | QCOMPARE(variableCollection()->rowCount(), 2); | 938 | QCOMPARE(variableCollection()->rowCount(), 2); | ||
939 | 939 | | |||
940 | variableCollection()->expanded(localVariableIndexAt(0)); | 940 | variableCollection()->expanded(localVariableIndexAt(0)); | ||
941 | WAIT_FOR_A_WHILE_AND_IDLE(m_session, 50); | 941 | WAIT_FOR_A_WHILE_AND_IDLE(m_session, 50); | ||
942 | 942 | | |||
943 | QList<QPair<QString, QString>> children; | 943 | QList<QPair<QString, QString>> children; | ||
944 | children.append({QStringLiteral("(port)"), QStringLiteral("12345")}); | 944 | children.append({QStringLiteral("(port)"), QStringLiteral("12345")}); | ||
945 | children.append({QStringLiteral("(scheme)"), QStringLiteral("\"http\"")}); | 945 | children.append({QStringLiteral("(scheme)"), QStringLiteral("\"http\"")}); | ||
946 | children.append({QStringLiteral("(userName)"), QStringLiteral("user")}); | 946 | children.append({QStringLiteral("(userName)"), QStringLiteral("\"user\"")}); | ||
947 | children.append({QStringLiteral("(password)"), QStringLiteral("<Invalid>")}); | 947 | children.append({QStringLiteral("(password)"), QStringLiteral("<Invalid>")}); | ||
948 | children.append({QStringLiteral("(host)"), QStringLiteral("\"www.kdevelop.org\"")}); | 948 | children.append({QStringLiteral("(host)"), QStringLiteral("\"www.kdevelop.org\"")}); | ||
949 | children.append({QStringLiteral("(path)"), QStringLiteral("\"/foo\"")}); | 949 | children.append({QStringLiteral("(path)"), QStringLiteral("\"/foo\"")}); | ||
950 | children.append({QStringLiteral("(query)"), QStringLiteral("xyz=bar")}); | 950 | children.append({QStringLiteral("(query)"), QStringLiteral("\"xyz=bar\"")}); | ||
951 | children.append({QStringLiteral("(fragment)"), QStringLiteral("asdf")}); | 951 | children.append({QStringLiteral("(fragment)"), QStringLiteral("\"asdf\"")}); | ||
952 | VERIFY_LOCAL(0, "u", "\"http://user@www.kdevelop.org:12345/foo?xyz=bar#asdf\"", children); | 952 | VERIFY_LOCAL(0, "u", "\"http://user@www.kdevelop.org:12345/foo?xyz=bar#asdf\"", children); | ||
953 | } | 953 | } | ||
954 | 954 | | |||
955 | void LldbFormattersTest::testQUuid() | 955 | void LldbFormattersTest::testQUuid() | ||
956 | { | 956 | { | ||
957 | TestLaunchConfiguration cfg(QStringLiteral("debuggee_quuid")); | 957 | TestLaunchConfiguration cfg(QStringLiteral("debuggee_quuid")); | ||
958 | addCodeBreakpoint(QUrl::fromLocalFile(findSourceFile("quuid.cpp")), 4); | 958 | addCodeBreakpoint(QUrl::fromLocalFile(findSourceFile("quuid.cpp")), 4); | ||
959 | 959 | | |||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |