summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp')
-rw-r--r--kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
index 9decdce..c4505e3 100644
--- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
+++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp
@@ -354,7 +354,7 @@ void MyMoneySeqAccessMgrTest::testModifyAccount() {
m->commitTransaction();
m->startTransaction();
MyMoneyAccount b = m->account("A000001");
- CPPUNIT_ASSERT(b.tqparentAccountId() == a.tqparentAccountId());
+ CPPUNIT_ASSERT(b.parentAccountId() == a.parentAccountId());
CPPUNIT_ASSERT(b.name() == "New account name");
CPPUNIT_ASSERT(m->dirty() == true);
} catch (MyMoneyException *e) {
@@ -422,7 +422,7 @@ void MyMoneySeqAccessMgrTest::testModifyInstitution() {
}
}
-void MyMoneySeqAccessMgrTest::testRetqparentAccount() {
+void MyMoneySeqAccessMgrTest::testReparentAccount() {
// this one adds some accounts to the database
MyMoneyAccount ex1;
ex1.setAccountType(MyMoneyAccount::Expense);
@@ -475,12 +475,12 @@ void MyMoneySeqAccessMgrTest::testRetqparentAccount() {
CPPUNIT_ASSERT(m->expense().accountCount() == 3);
CPPUNIT_ASSERT(m->account(ex1.id()).accountCount() == 1);
- CPPUNIT_ASSERT(ex3.tqparentAccountId() == STD_ACC_EXPENSE);
+ CPPUNIT_ASSERT(ex3.parentAccountId() == STD_ACC_EXPENSE);
m->reparentAccount(ex3, ex1);
CPPUNIT_ASSERT(m->expense().accountCount() == 2);
CPPUNIT_ASSERT(m->account(ex1.id()).accountCount() == 2);
- CPPUNIT_ASSERT(ex3.tqparentAccountId() == ex1.id());
+ CPPUNIT_ASSERT(ex3.parentAccountId() == ex1.id());
} catch (MyMoneyException *e) {
std::cout << std::endl << e->what() << std::endl;
delete e;
@@ -489,7 +489,7 @@ void MyMoneySeqAccessMgrTest::testRetqparentAccount() {
}
void MyMoneySeqAccessMgrTest::testAddTransactions() {
- testRetqparentAccount();
+ testReparentAccount();
MyMoneyAccount ch;
MyMoneyTransaction t1, t2;
@@ -822,7 +822,7 @@ void MyMoneySeqAccessMgrTest::testRemoveUsedAccount() {
void MyMoneySeqAccessMgrTest::testRemoveInstitution() {
testModifyInstitution();
- testRetqparentAccount();
+ testReparentAccount();
MyMoneyInstitution i;
MyMoneyAccount a;