equal
deleted
inserted
replaced
158 property.setValue(QVariant::fromValue(document)); |
158 property.setValue(QVariant::fromValue(document)); |
159 QTest::newRow("AGENT property") << property << expectedResult; |
159 QTest::newRow("AGENT property") << property << expectedResult; |
160 |
160 |
161 // Value is base64 encoded. |
161 // Value is base64 encoded. |
162 QByteArray value("value"); |
162 QByteArray value("value"); |
163 expectedResult = "Springfield.HOUSE.PHOTO;ENCODING=B:" + value.toBase64() + "\r\n"; |
163 expectedResult = "Springfield.HOUSE.PHOTO;ENCODING=b:" + value.toBase64() + "\r\n"; |
164 QStringList groups(QString::fromAscii("Springfield")); |
164 QStringList groups(QString::fromAscii("Springfield")); |
165 groups.append(QString::fromAscii("HOUSE")); |
165 groups.append(QString::fromAscii("HOUSE")); |
166 property.setGroups(groups); |
166 property.setGroups(groups); |
167 property.setParameters(QMultiHash<QString,QString>()); |
167 property.setParameters(QMultiHash<QString,QString>()); |
168 property.setName(QString::fromAscii("PHOTO")); |
168 property.setName(QString::fromAscii("PHOTO")); |