summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 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 fa5b1a3..aae78ab 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_mask == 0);
+ CPPUNIT_ASSERT(m->m_tqmask == 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_mask == NPP_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == 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_mask == IR_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == IR_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPv() {
m->setPv(23.4);
CPPUNIT_ASSERT(m->m_pv == 23.4);
- CPPUNIT_ASSERT(m->m_mask == PV_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == PV_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPmt() {
m->setPmt(34.5);
CPPUNIT_ASSERT(m->m_pmt == 34.5);
- CPPUNIT_ASSERT(m->m_mask == PMT_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == PMT_SET);
}
void MyMoneyFinancialCalculatorTest::testSetFv() {
m->setFv(45.6);
CPPUNIT_ASSERT(m->m_fv == 45.6);
- CPPUNIT_ASSERT(m->m_mask == FV_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == FV_SET);
}
void MyMoneyFinancialCalculatorTest::testCombinedSet() {
@@ -114,7 +114,7 @@ void MyMoneyFinancialCalculatorTest::testCombinedSet() {
m->setPmt(34.5);
m->setFv(45.6);
- CPPUNIT_ASSERT(m->m_mask == (NPP_SET | PV_SET | IR_SET | PMT_SET | FV_SET));
+ CPPUNIT_ASSERT(m->m_tqmask == (NPP_SET | PV_SET | IR_SET | PMT_SET | FV_SET));
}
void MyMoneyFinancialCalculatorTest::testNumPayments() {