summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit902ba103f2215bcefa22d62b1c9138aa4b88891c (patch)
tree63ef88424b9be33a31e5a8de61343fb8d7633937 /kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
parent7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (diff)
downloadkmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.tar.gz
kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp b/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
index aae78ab..fa5b1a3 100644
--- a/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
+++ b/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
@@ -41,7 +41,7 @@ void MyMoneyFinancialCalculatorTest::testEmptyConstructor() {
CPPUNIT_ASSERT(m->m_prec == 2);
CPPUNIT_ASSERT(m->m_bep == false);
CPPUNIT_ASSERT(m->m_disc == true);
- CPPUNIT_ASSERT(m->m_tqmask == 0);
+ CPPUNIT_ASSERT(m->m_mask == 0);
}
void MyMoneyFinancialCalculatorTest::testSetPrec() {
@@ -52,7 +52,7 @@ void MyMoneyFinancialCalculatorTest::testSetPrec() {
void MyMoneyFinancialCalculatorTest::testSetNpp() {
m->setNpp(20);
CPPUNIT_ASSERT(m->m_npp == 20);
- CPPUNIT_ASSERT(m->m_tqmask == NPP_SET);
+ CPPUNIT_ASSERT(m->m_mask == NPP_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPF() {
@@ -86,25 +86,25 @@ void MyMoneyFinancialCalculatorTest::testSetDisc() {
void MyMoneyFinancialCalculatorTest::testSetIr() {
m->setIr(12.3);
CPPUNIT_ASSERT(m->m_ir == 12.3);
- CPPUNIT_ASSERT(m->m_tqmask == IR_SET);
+ CPPUNIT_ASSERT(m->m_mask == IR_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPv() {
m->setPv(23.4);
CPPUNIT_ASSERT(m->m_pv == 23.4);
- CPPUNIT_ASSERT(m->m_tqmask == PV_SET);
+ CPPUNIT_ASSERT(m->m_mask == PV_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPmt() {
m->setPmt(34.5);
CPPUNIT_ASSERT(m->m_pmt == 34.5);
- CPPUNIT_ASSERT(m->m_tqmask == PMT_SET);
+ CPPUNIT_ASSERT(m->m_mask == PMT_SET);
}
void MyMoneyFinancialCalculatorTest::testSetFv() {
m->setFv(45.6);
CPPUNIT_ASSERT(m->m_fv == 45.6);
- CPPUNIT_ASSERT(m->m_tqmask == FV_SET);
+ CPPUNIT_ASSERT(m->m_mask == FV_SET);
}
void MyMoneyFinancialCalculatorTest::testCombinedSet() {
@@ -114,7 +114,7 @@ void MyMoneyFinancialCalculatorTest::testCombinedSet() {
m->setPmt(34.5);
m->setFv(45.6);
- CPPUNIT_ASSERT(m->m_tqmask == (NPP_SET | PV_SET | IR_SET | PMT_SET | FV_SET));
+ CPPUNIT_ASSERT(m->m_mask == (NPP_SET | PV_SET | IR_SET | PMT_SET | FV_SET));
}
void MyMoneyFinancialCalculatorTest::testNumPayments() {