Commit e18f1e06 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename variable

parent 987c3ba0
......@@ -145,8 +145,8 @@ void ClientPidMapTest::shouldCreateVCard()
addr.setEmails(QStringList() << QStringLiteral("foo@kde.org"));
addr.setUid(QStringLiteral("testuid"));
KContacts::ClientPidMap::List lstClientPidMap;
KContacts::ClientPidMap role(QStringLiteral("fr"));
lstClientPidMap << role;
KContacts::ClientPidMap clientpidmap(QStringLiteral("fr"));
lstClientPidMap << clientpidmap;
addr.setClientPidMapList(lstClientPidMap);
lst << addr;
KContacts::VCardTool vcard;
......@@ -169,9 +169,9 @@ void ClientPidMapTest::shouldCreateVCardWithTwoClientPidMap()
addr.setEmails(QStringList() << QStringLiteral("foo@kde.org"));
addr.setUid(QStringLiteral("testuid"));
KContacts::ClientPidMap::List lstClientPidMap;
KContacts::ClientPidMap role(QStringLiteral("fr"));
KContacts::ClientPidMap role2(QStringLiteral("fr2"));
lstClientPidMap << role << role2;
KContacts::ClientPidMap clientpidmap(QStringLiteral("fr"));
KContacts::ClientPidMap clientpidmap2(QStringLiteral("fr2"));
lstClientPidMap << clientpidmap << clientpidmap2;
addr.setClientPidMapList(lstClientPidMap);
lst << addr;
KContacts::VCardTool vcard;
......@@ -195,12 +195,12 @@ void ClientPidMapTest::shouldCreateVCardWithParameters()
addr.setEmails(QStringList() << QStringLiteral("foo@kde.org"));
addr.setUid(QStringLiteral("testuid"));
KContacts::ClientPidMap::List lstClientPidMap;
KContacts::ClientPidMap role(QStringLiteral("fr"));
KContacts::ClientPidMap clientpidmap(QStringLiteral("fr"));
QMap<QString, QStringList> params;
params.insert(QStringLiteral("Foo1"), QStringList() << QStringLiteral("bla1") << QStringLiteral("blo1"));
params.insert(QStringLiteral("Foo2"), QStringList() << QStringLiteral("bla2") << QStringLiteral("blo2"));
role.setParameters(params);
lstClientPidMap << role;
clientpidmap.setParameters(params);
lstClientPidMap << clientpidmap;
addr.setClientPidMapList(lstClientPidMap);
lst << addr;
KContacts::VCardTool vcard;
......@@ -222,12 +222,12 @@ void ClientPidMapTest::shouldGenerateClientPidMapForVCard3()
addr.setEmails(QStringList() << QStringLiteral("foo@kde.org"));
addr.setUid(QStringLiteral("testuid"));
KContacts::ClientPidMap::List lstClientPidMap;
KContacts::ClientPidMap role(QStringLiteral("fr"));
KContacts::ClientPidMap clientpidmap(QStringLiteral("fr"));
QMap<QString, QStringList> params;
params.insert(QStringLiteral("Foo1"), QStringList() << QStringLiteral("bla1") << QStringLiteral("blo1"));
params.insert(QStringLiteral("Foo2"), QStringList() << QStringLiteral("bla2") << QStringLiteral("blo2"));
role.setParameters(params);
lstClientPidMap << role;
clientpidmap.setParameters(params);
lstClientPidMap << clientpidmap;
addr.setClientPidMapList(lstClientPidMap);
lst << addr;
KContacts::VCardTool vcard;
......
Supports Markdown
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