summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyaccounttest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyaccounttest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyaccounttest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/mymoney/mymoneyaccounttest.cpp b/kmymoney2/mymoney/mymoneyaccounttest.cpp
index 0e1fbbf..151dcc1 100644
--- a/kmymoney2/mymoney/mymoneyaccounttest.cpp
+++ b/kmymoney2/mymoney/mymoneyaccounttest.cpp
@@ -70,7 +70,7 @@ void MyMoneyAccountTest::testConstructor() {
CPPUNIT_ASSERT(a.number() == "465500");
CPPUNIT_ASSERT(a.description() == "Desc");
CPPUNIT_ASSERT(a.accountList().count() == 0);
- CPPUNIT_ASSERT(a.tqparentAccountId() == "Parent");
+ CPPUNIT_ASSERT(a.parentAccountId() == "Parent");
CPPUNIT_ASSERT(a.balance() == MyMoneyMoney(1,1));
TQMap<TQString, TQString> copy;
@@ -129,7 +129,7 @@ void MyMoneyAccountTest::testCopyConstructor() {
CPPUNIT_ASSERT(b.openingDate() == TQDate::tqcurrentDate());
CPPUNIT_ASSERT(b.description() == "Desc1");
CPPUNIT_ASSERT(b.number() == "Number");
- CPPUNIT_ASSERT(b.tqparentAccountId() == "ParentAccount");
+ CPPUNIT_ASSERT(b.parentAccountId() == "ParentAccount");
CPPUNIT_ASSERT(b.value("Key") == "Value");
}
@@ -300,7 +300,7 @@ void MyMoneyAccountTest::testWriteXML() {
TQString ref = TQString(
"<!DOCTYPE TEST>\n"
"<ACCOUNT-CONTAINER>\n"
- " <ACCOUNT tqparentaccount=\"Parent\" lastmodified=\"%1\" lastreconciled=\"\" institution=\"B000001\" number=\"465500\" opened=\"%2\" type=\"9\" id=\"A000001\" name=\"AccountName\" description=\"Desc\" >\n"
+ " <ACCOUNT parentaccount=\"Parent\" lastmodified=\"%1\" lastreconciled=\"\" institution=\"B000001\" number=\"465500\" opened=\"%2\" type=\"9\" id=\"A000001\" name=\"AccountName\" description=\"Desc\" >\n"
" <SUBACCOUNTS>\n"
" <SUBACCOUNT id=\"A000002\" />\n"
" </SUBACCOUNTS>\n"
@@ -319,7 +319,7 @@ void MyMoneyAccountTest::testReadXML() {
TQString ref_ok = TQString(
"<!DOCTYPE TEST>\n"
"<ACCOUNT-CONTAINER>\n"
- " <ACCOUNT tqparentaccount=\"Parent\" lastmodified=\"%1\" lastreconciled=\"\" institution=\"B000001\" number=\"465500\" opened=\"%2\" type=\"9\" id=\"A000001\" name=\"AccountName\" description=\"Desc\" >\n"
+ " <ACCOUNT parentaccount=\"Parent\" lastmodified=\"%1\" lastreconciled=\"\" institution=\"B000001\" number=\"465500\" opened=\"%2\" type=\"9\" id=\"A000001\" name=\"AccountName\" description=\"Desc\" >\n"
" <SUBACCOUNTS>\n"
" <SUBACCOUNT id=\"A000002\" />\n"
" <SUBACCOUNT id=\"A000003\" />\n"
@@ -335,7 +335,7 @@ void MyMoneyAccountTest::testReadXML() {
TQString ref_false = TQString(
"<!DOCTYPE TEST>\n"
"<ACCOUNT-CONTAINER>\n"
- " <KACCOUNT tqparentaccount=\"Parent\" lastmodified=\"%1\" lastreconciled=\"\" institution=\"B000001\" number=\"465500\" opened=\"%2\" type=\"9\" id=\"A000001\" name=\"AccountName\" description=\"Desc\" >\n"
+ " <KACCOUNT parentaccount=\"Parent\" lastmodified=\"%1\" lastreconciled=\"\" institution=\"B000001\" number=\"465500\" opened=\"%2\" type=\"9\" id=\"A000001\" name=\"AccountName\" description=\"Desc\" >\n"
" <SUBACCOUNTS>\n"
" <SUBACCOUNT id=\"A000002\" />\n"
" <SUBACCOUNT id=\"A000003\" />\n"