querytabletest.cpp inconsistent
Thomas Baumgart
thb at net-bembel.de
Sun Mar 19 08:12:18 UTC 2017
Hi Łukasz,
On Saturday 18 March 2017 16:43:37 Łukasz Wojniłowicz wrote:
> Hi developers
>
> I would like to know if
> 575 th line of querytabletest.cpp i.e. QVERIFY(rows.count() == 3);
> fails for you too on your local machines.
No, it does not here. Not for master and not for 4.8.
> It fails for me because rows.count() returns 4 and not 3. I believe 4 is
> correct but I don't understand why that specific test passes on Jenkins.
Probably, because it passes here as well. I attach the output of both runs
made with option '-v2', that is
kmymoney/reports/querytabletest -v2
from within the build directory. Maybe you can spot a difference to yours.
--
Regards
Thomas Baumgart
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Cheaper is more expensive -- thb
-------------------------------------------------------------
-------------- next part --------------
********* Start testing of QueryTableTest *********
Config: Using QTest library 4.8.5, Qt 4.8.5
INFO : QueryTableTest::initTestCase() entering
PASS : QueryTableTest::initTestCase()
INFO : QueryTableTest::testQueryBasics() entering
QSYSTEM: QueryTableTest::testQueryBasics() kmymoney(2498)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(121)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(122)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(123)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-02-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(124)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(125)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(126)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(127)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Parent") == -(moParent1 + moParent2) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(130)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Parent: Child") == -(moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(131)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Solo") == -(moSolo) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(132)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Expense") == -(moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(133)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(134)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(146)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(147)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["topcategory"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(148)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-02-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(149)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(150)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["topcategory"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(151)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(152)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(153)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["topcategory"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(154)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(155)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Parent") == -(moParent1 + moParent2 + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(158)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Solo") == -(moSolo) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(159)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Expense") == -(moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(160)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(161)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 16)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(175)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[1]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(176)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[1]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(177)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[1]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(178)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[14]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(179)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[14]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(180)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[14]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(181)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance for checking account", "Total") + " Checking Account") == -(moSolo) * 3 + moCheckingOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(193)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance for credit card", "Total") + " Credit Card") == -(moParent1 + moParent2 + moChild) * 3 + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(194)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(195)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(208)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(209)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(210)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(211)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(212)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["category"] == "Parent: Child")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(213)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["postdate"] == "2004-11-07")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(214)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(215)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(216)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(217)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Test Payee") == -(moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(220)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(221)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(234)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(235)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(236)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(237)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(238)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["category"] == "Parent: Child")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(239)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["postdate"] == "2004-11-07")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(240)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(241)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(242)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(243)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Month of 2004-01-01") == -moSolo)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(246)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Month of 2004-11-01") == -(moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(247)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Month of 2004-05-01") == -moParent1 + moCheckingOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(248)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(249)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(262)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(263)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(264)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(265)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(266)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(267)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(268)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Week of 2003-12-29") == -moSolo)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(271)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Week of 2004-11-01") == -(moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(272)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Week of 2005-08-29") == -moParent2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(273)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(274)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(low < high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(292)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(low <= high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(293)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(high > low)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(294)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(high <= high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(295)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(high == high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(296)]
PASS : QueryTableTest::testQueryBasics()
INFO : QueryTableTest::testCashFlowAnalysis() entering
INFO : QueryTableTest::testCashFlowAnalysis() QVERIFY(IRR == MyMoneyMoney(1676, 1000))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(320)]
INFO : QueryTableTest::testCashFlowAnalysis() QVERIFY(IRR.isZero())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(327)]
PASS : QueryTableTest::testCashFlowAnalysis()
INFO : QueryTableTest::testAccountQuery() entering
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows.count() == 2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(349)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(350)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[0]["value"]) == moCheckingOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(351)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["equitytype"].isEmpty())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(352)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(353)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[1]["value"]) == moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(354)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["equitytype"].isEmpty())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(355)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " None") == moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(358)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(359)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows.count() == 2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(387)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(388)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[0]["value"]) == (moCheckingOpen - moSolo*3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(389)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(390)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[1]["value"]) == (moCreditOpen - (moParent1 + moParent2 + moChild) * 3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(391)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18n("Grand Total")) == moCheckingOpen + moCreditOpen - (moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(394)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows.count() == 2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(407)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(408)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[0]["value"]) == (moCheckingOpen - moSolo*3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(409)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(410)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[1]["value"]) == (moCreditOpen - (moParent1 + moParent2 + moChild) * 3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(411)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + ' ' + i18n("Checking")) == moCheckingOpen - moSolo*3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(414)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + ' ' + i18n("Credit Card")) == moCreditOpen - (moParent1 + moParent2 + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(415)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == moCheckingOpen + moCreditOpen - (moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(416)]
PASS : QueryTableTest::testAccountQuery()
INFO : QueryTableTest::testInvestment() entering
INFO : QueryTableTest::testInvestment() QVERIFY(rows.count() == 17)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(472)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["value"]) == MyMoneyMoney(100000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(473)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["value"]) == MyMoneyMoney(110000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(474)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[3]["value"]) == MyMoneyMoney(-24000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(475)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[4]["value"]) == MyMoneyMoney(-20000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(476)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[5]["value"]) == MyMoneyMoney(5000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(477)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[6]["value"]) == MyMoneyMoney(4000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(478)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(484)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[3]["price"]) == MyMoneyMoney(120.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(485)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[5]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(486)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[7]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(487)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[10]["price"]) == MyMoneyMoney(120.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(488)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["shares"]) == MyMoneyMoney(1000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(490)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[4]["shares"]) == MyMoneyMoney(-200.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(491)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[6]["shares"]) == MyMoneyMoney(50.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(492)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[8]["shares"]) == MyMoneyMoney(0.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(493)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[11]["shares"]) == MyMoneyMoney(0.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(494)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[1]["action"] == "Buy")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(496)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[3]["action"] == "Sell")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(497)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[5]["action"] == "Reinvest")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(498)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[7]["action"] == "Dividend")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(499)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[13]["action"] == "Yield")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(500)]
INFO : QueryTableTest::testInvestment() QVERIFY(searchHTML(html, i18n("Total Stock 1")) == MyMoneyMoney(175000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(535)]
INFO : QueryTableTest::testInvestment() QVERIFY(searchHTML(html, i18n("Grand Total")) == MyMoneyMoney(175000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(536)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows.count() == 1)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(563)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["return"]) == MyMoneyMoney("669/10000"))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(564)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["buys"]) == MyMoneyMoney(210000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(565)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["sells"]) == MyMoneyMoney(-44000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(566)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["reinvestincome"]) == MyMoneyMoney(9000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(567)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["cashincome"]) == MyMoneyMoney(3300.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(568)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["shares"]) == MyMoneyMoney(1700.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(569)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(570)]
INFO : QueryTableTest::testInvestment() QVERIFY(searchHTML(html, i18n("Grand Total")) == MyMoneyMoney(170000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(573)]
PASS : QueryTableTest::testInvestment()
INFO : QueryTableTest::testBalanceColumn() entering
INFO : QueryTableTest::testBalanceColumn() QVERIFY(rows.count() == 16)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(629)]
INFO : QueryTableTest::testBalanceColumn() QVERIFY(html.indexOf(openingDate + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Opening Balance")) > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(634)]
INFO : QueryTableTest::testBalanceColumn() QVERIFY(html.indexOf(closingDate + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -702.36</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(635)]
INFO : QueryTableTest::testBalanceColumn() QVERIFY(html.indexOf(closingDate + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -705.69</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(636)]
PASS : QueryTableTest::testBalanceColumn()
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() entering
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(rows.count() == 19)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(693)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(openingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Opening Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 0.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(700)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 304.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(701)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -300.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(702)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td>JPY -400.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(703)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000001>" + openingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Japanese Checking</td><td class=\"value\"> 1.00</td><td> 1.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(706)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000002>" + openingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Credit Card</td><td class=\"value\"> 100.00</td><td> 101.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(709)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000003>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Japanese Checking</td><td class=\"value\"> 1.00</td><td> 102.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(712)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000004>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Credit Card</td><td class=\"value\"> 100.00</td><td> 202.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(715)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000005>" + closingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Japanese Checking</td><td class=\"value\"> 2.00</td><td> 204.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(718)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000006>" + closingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Credit Card</td><td class=\"value\"> 100.00</td><td> 304.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(721)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000007>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Solo</td><td class=\"value\">JPY -100.00</td><td>JPY -300.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(724)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(rows.count() == 19)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(737)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(openingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Opening Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 0.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(740)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 304.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(741)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -300.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(742)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -8.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(744)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000001>" + openingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer to Checking Account</td><td class=\"value\"> -1.00</td><td> -1.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(747)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000003>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer to Checking Account</td><td class=\"value\"> -1.00</td><td> -2.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(750)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000007>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Solo</td><td class=\"value\"> -1.00</td><td> -3.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(753)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000005>" + closingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer to Checking Account</td><td class=\"value\"> -2.00</td><td> -5.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(756)]
PASS : QueryTableTest::testBalanceColumnWithMultipleCurrencies()
INFO : QueryTableTest::testTaxReport() entering
INFO : QueryTableTest::testTaxReport() QVERIFY(rows.count() == 1)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/querytabletest.cpp(786)]
PASS : QueryTableTest::testTaxReport()
INFO : QueryTableTest::cleanupTestCase() entering
PASS : QueryTableTest::cleanupTestCase()
Totals: 9 passed, 0 failed, 0 skipped
********* Finished testing of QueryTableTest *********
-------------- next part --------------
********* Start testing of QueryTableTest *********
Config: Using QtTest library 5.6.1, Qt 5.6.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.8.5)
INFO : QueryTableTest::initTestCase() entering
PASS : QueryTableTest::initTestCase()
INFO : QueryTableTest::testQueryBasics() entering
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(113)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(114)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(115)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-02-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(116)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(117)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(118)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(119)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Parent") == -(moParent1 + moParent2) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(122)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Parent: Child") == -(moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(123)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Solo") == -(moSolo) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(124)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Expense") == -(moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(125)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(126)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(138)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(139)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["topcategory"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(140)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-02-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(141)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(142)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["topcategory"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(143)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(144)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["categorytype"] == "Expense")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(145)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["topcategory"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(146)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(147)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Parent") == -(moParent1 + moParent2 + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(150)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Solo") == -(moSolo) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(151)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Expense") == -(moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(152)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(153)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 16)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(167)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[1]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(168)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[1]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(169)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[1]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(170)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[14]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(171)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[14]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(172)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[14]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(173)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance for checking account", "Total") + " Checking Account") == -(moSolo) * 3 + moCheckingOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(185)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance for credit card", "Total") + " Credit Card") == -(moParent1 + moParent2 + moChild) * 3 + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(186)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(187)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(200)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(201)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(202)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(203)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(204)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["category"] == "Parent: Child")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(205)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["postdate"] == "2004-11-07")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(206)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(207)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(208)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(209)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Test Payee") == -(moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(212)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(213)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(226)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(227)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(228)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(229)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(230)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["category"] == "Parent: Child")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(231)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[8]["postdate"] == "2004-11-07")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(232)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(233)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(234)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(235)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Month of 2004-01-01") == -moSolo)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(238)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Month of 2004-11-01") == -(moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(239)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Month of 2004-05-01") == -moParent1 + moCheckingOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(240)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(241)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows.count() == 12)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(254)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(255)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["category"] == "Solo")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(256)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[0]["postdate"] == "2004-01-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(257)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["payee"] == "Test Payee")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(258)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["category"] == "Parent")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(259)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(rows[11]["postdate"] == "2005-09-01")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(260)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Week of 2003-12-29") == -moSolo)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(263)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Week of 2004-11-01") == -(moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(264)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " Week of 2005-08-29") == -moParent2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(265)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == -(moParent1 + moParent2 + moSolo + moChild) * 3 + moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(266)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(low < high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(284)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(low <= high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(285)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(high > low)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(286)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(high <= high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(287)]
INFO : QueryTableTest::testQueryBasics() QVERIFY(high == high)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(288)]
PASS : QueryTableTest::testQueryBasics()
INFO : QueryTableTest::testCashFlowAnalysis() entering
INFO : QueryTableTest::testCashFlowAnalysis() QVERIFY(IRR == MyMoneyMoney(1676, 1000))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(312)]
INFO : QueryTableTest::testCashFlowAnalysis() QVERIFY(IRR.isZero())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(319)]
PASS : QueryTableTest::testCashFlowAnalysis()
INFO : QueryTableTest::testAccountQuery() entering
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows.count() == 2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(341)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(342)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[0]["value"]) == moCheckingOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(343)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["equitytype"].isEmpty())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(344)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(345)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[1]["value"]) == moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(346)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["equitytype"].isEmpty())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(347)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + " None") == moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(350)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == moCheckingOpen + moCreditOpen)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(351)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows.count() == 2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(379)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(380)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[0]["value"]) == (moCheckingOpen - moSolo*3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(381)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(382)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[1]["value"]) == (moCreditOpen - (moParent1 + moParent2 + moChild) * 3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(383)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18n("Grand Total")) == moCheckingOpen + moCreditOpen - (moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(386)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows.count() == 2)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(399)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[0]["account"] == "Checking Account")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(400)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[0]["value"]) == (moCheckingOpen - moSolo*3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(401)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(rows[1]["account"] == "Credit Card")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(402)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(MyMoneyMoney(rows[1]["value"]) == (moCreditOpen - (moParent1 + moParent2 + moChild) * 3))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(403)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + ' ' + i18n("Checking")) == moCheckingOpen - moSolo*3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(406)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Total balance", "Total") + ' ' + i18n("Credit Card")) == moCreditOpen - (moParent1 + moParent2 + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(407)]
INFO : QueryTableTest::testAccountQuery() QVERIFY(searchHTML(html, i18nc("Grand total balance", "Grand Total")) == moCheckingOpen + moCreditOpen - (moParent1 + moParent2 + moSolo + moChild) * 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(408)]
PASS : QueryTableTest::testAccountQuery()
INFO : QueryTableTest::testInvestment() entering
INFO : QueryTableTest::testInvestment() QVERIFY(rows.count() == 28)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(475)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["value"]) == MyMoneyMoney(-100000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(476)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["value"]) == MyMoneyMoney(-110000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(477)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[3]["value"]) == MyMoneyMoney(24000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(478)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[4]["value"]) == MyMoneyMoney(20000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(479)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[5]["value"]) == MyMoneyMoney(5000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(480)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[6]["value"]) == MyMoneyMoney(4000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(481)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[18]["value"]) == MyMoneyMoney(-50100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(482)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[21]["value"]) == MyMoneyMoney(-45100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(483)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(489)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[3]["price"]) == MyMoneyMoney(120.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(490)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[5]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(491)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[7]["price"]) == MyMoneyMoney())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(492)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[10]["price"]) == MyMoneyMoney())
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(493)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[18]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(494)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[21]["price"]) == MyMoneyMoney(90.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(495)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["shares"]) == MyMoneyMoney(1000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(497)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[4]["shares"]) == MyMoneyMoney(-200.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(498)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[6]["shares"]) == MyMoneyMoney(50.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(499)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[8]["shares"]) == MyMoneyMoney(0.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(500)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[11]["shares"]) == MyMoneyMoney(0.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(501)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[18]["shares"]) == MyMoneyMoney(500.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(502)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[21]["shares"]) == MyMoneyMoney(500.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(503)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[1]["action"] == "Buy")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(505)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[3]["action"] == "Sell")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(506)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[5]["action"] == "Reinvest")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(507)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[7]["action"] == "Dividend")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(508)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[13]["action"] == "Yield")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(509)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[18]["action"] == "Buy")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(510)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows[21]["action"] == "Buy")
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(511)]
INFO : QueryTableTest::testInvestment() QVERIFY(searchHTML(html, i18n("Total Stock 1")) == MyMoneyMoney(-153700.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(546)]
INFO : QueryTableTest::testInvestment() QVERIFY(searchHTML(html, i18n("Total Stock 4")) == MyMoneyMoney(24600.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(547)]
INFO : QueryTableTest::testInvestment() QVERIFY(searchHTML(html, i18n("Grand Total")) == MyMoneyMoney(-129100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(548)]
INFO : QueryTableTest::testInvestment() QVERIFY(rows.count() == 3)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(575)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["return"]) == MyMoneyMoney("669/10000"))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(576)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["returninvestment"]) == MyMoneyMoney("87/2500"))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(577)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["buys"]) == MyMoneyMoney(-210000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(578)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["sells"]) == MyMoneyMoney(44000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(579)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["reinvestincome"]) == MyMoneyMoney(9000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(580)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["cashincome"]) == MyMoneyMoney(3300.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(581)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["shares"]) == MyMoneyMoney(1700.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(582)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[0]["price"]) == MyMoneyMoney(100.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(583)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["return"]) == MyMoneyMoney("1349/10000"))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(585)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["returninvestment"]) == MyMoneyMoney("1/10"))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(586)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["shares"]) == MyMoneyMoney(1000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(587)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["price"]) == MyMoneyMoney(110.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(588)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[1]["startingbal"]) == MyMoneyMoney(100000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(589)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["return"]) == MyMoneyMoney("2501/2500"))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(591)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["returninvestment"]) == MyMoneyMoney("323/1250"))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(592)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["buys"]) == MyMoneyMoney(-95200.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(593)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["sells"]) == MyMoneyMoney(119800.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(594)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["shares"]) == MyMoneyMoney(0.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(595)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["price"]) == MyMoneyMoney(110.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(596)]
INFO : QueryTableTest::testInvestment() QVERIFY(MyMoneyMoney(rows[2]["endingbal"]) == MyMoneyMoney(0.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(597)]
INFO : QueryTableTest::testInvestment() QVERIFY(searchHTML(html, i18n("Grand Total")) == MyMoneyMoney(280000.00))
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(600)]
PASS : QueryTableTest::testInvestment()
INFO : QueryTableTest::testBalanceColumn() entering
INFO : QueryTableTest::testBalanceColumn() QVERIFY(rows.count() == 16)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(656)]
INFO : QueryTableTest::testBalanceColumn() QVERIFY(html.indexOf(openingDate + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Opening Balance")) > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(661)]
INFO : QueryTableTest::testBalanceColumn() QVERIFY(html.indexOf(closingDate + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -702.36</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(662)]
INFO : QueryTableTest::testBalanceColumn() QVERIFY(html.indexOf(closingDate + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -705.69</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(663)]
PASS : QueryTableTest::testBalanceColumn()
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() entering
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(rows.count() == 19)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(720)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(openingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Opening Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 0.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(727)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 304.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(728)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -300.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(729)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td>JPY -400.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(730)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000001>" + openingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Japanese Checking</td><td class=\"value\"> 1.00</td><td> 1.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(733)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000002>" + openingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Credit Card</td><td class=\"value\"> 100.00</td><td> 101.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(736)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000003>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Japanese Checking</td><td class=\"value\"> 1.00</td><td> 102.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(739)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000004>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Credit Card</td><td class=\"value\"> 100.00</td><td> 202.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(742)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000005>" + closingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Japanese Checking</td><td class=\"value\"> 2.00</td><td> 204.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(745)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000001&tid=T000000000000000006>" + closingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer from Credit Card</td><td class=\"value\"> 100.00</td><td> 304.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(748)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000007>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Solo</td><td class=\"value\">JPY -100.00</td><td>JPY -300.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(751)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(rows.count() == 19)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(764)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(openingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Opening Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 0.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(767)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> 304.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(768)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -300.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(769)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf(closingDateString + "</td><td class=\"left\"></td><td class=\"left\">" + i18n("Closing Balance") + "</td><td class=\"left\"></td><td class=\"value\"></td><td> -8.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(771)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000001>" + openingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer to Checking Account</td><td class=\"value\"> -1.00</td><td> -1.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(774)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000003>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer to Checking Account</td><td class=\"value\"> -1.00</td><td> -2.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(777)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000007>" + intermediateDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Solo</td><td class=\"value\"> -1.00</td><td> -3.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(780)]
INFO : QueryTableTest::testBalanceColumnWithMultipleCurrencies() QVERIFY(html.indexOf("<a href=ledger?id=A000008&tid=T000000000000000005>" + closingDateString + "</a></td><td class=\"left\"></td><td class=\"left\">Test Payee</td><td class=\"left\">Transfer to Checking Account</td><td class=\"value\"> -2.00</td><td> -5.00</td></tr>") > 0)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(783)]
PASS : QueryTableTest::testBalanceColumnWithMultipleCurrencies()
INFO : QueryTableTest::testTaxReport() entering
INFO : QueryTableTest::testTaxReport() QVERIFY(rows.count() == 1)
Loc: [/home/thb/devel/kmymoney/kmymoney/reports/tests/querytable-test.cpp(813)]
PASS : QueryTableTest::testTaxReport()
INFO : QueryTableTest::cleanupTestCase() entering
PASS : QueryTableTest::cleanupTestCase()
Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted
********* Finished testing of QueryTableTest *********
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20170319/b8c0f3c3/attachment-0001.sig>
More information about the KMyMoney-devel
mailing list