summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-30 06:58:12 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-30 06:58:12 (GMT)
commite18f1e06a46c6cd20da9f4706318dbde32bd966c (patch)
tree9a56e9edc049d1f291b4b1e5b97f3cb16a9d648a
parent987c3ba0fcdefb6974cfc6cdb9f138ea6a99d260 (diff)
Rename variable
-rw-r--r--autotests/clientpidmaptest.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/autotests/clientpidmaptest.cpp b/autotests/clientpidmaptest.cpp
index 2cf4b89..2554cd2 100644
--- a/autotests/clientpidmaptest.cpp
+++ b/autotests/clientpidmaptest.cpp
@@ -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;