Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/tests/mymoneyaccount-test.cpp
Context not available. | |||||
224 | a.setLastReconciliationDate(QDate::currentDate()); | 224 | a.setLastReconciliationDate(QDate::currentDate()); | ||
---|---|---|---|---|---|
225 | a.setAccountType(eMyMoney::Account::Type::Asset); | 225 | a.setAccountType(eMyMoney::Account::Type::Asset); | ||
226 | a.setParentAccountId("P-ID"); | 226 | a.setParentAccountId("P-ID"); | ||
227 | a.setId("A-ID"); | 227 | a.d_func()->setId("A-ID"); | ||
228 | a.setCurrencyId("C-ID"); | 228 | a.setCurrencyId("C-ID"); | ||
229 | a.setValue("Key", "Value"); | 229 | a.setValue("Key", "Value"); | ||
230 | 230 | | |||
Context not available. | |||||
269 | QVERIFY(!(b == a)); | 269 | QVERIFY(!(b == a)); | ||
270 | b = a; | 270 | b = a; | ||
271 | 271 | | |||
272 | a.setId("A-noID"); | 272 | a.d_func()->setId("A-noID"); | ||
273 | QVERIFY(!(b == a)); | 273 | QVERIFY(!(b == a)); | ||
274 | b = a; | 274 | b = a; | ||
275 | 275 | | |||
Context not available. |