|
|
@ -283,7 +283,7 @@ void QueryTableTest::testQueryBasics()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CPPUNIT_FAIL(e->what());
|
|
|
|
CPPUNIT_FAIL(e->what().local8Bit().data());
|
|
|
|
delete e;
|
|
|
|
delete e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -429,7 +429,7 @@ void QueryTableTest::testAccountQuery()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CPPUNIT_FAIL(e->what());
|
|
|
|
CPPUNIT_FAIL(e->what().local8Bit().data());
|
|
|
|
delete e;
|
|
|
|
delete e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -605,7 +605,7 @@ void QueryTableTest::testInvestment(void)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CPPUNIT_FAIL(e->what());
|
|
|
|
CPPUNIT_FAIL(e->what().local8Bit().data());
|
|
|
|
delete e;
|
|
|
|
delete e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -659,7 +659,7 @@ void QueryTableTest::testInvestment(void)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
catch(MyMoneyException *e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CPPUNIT_FAIL(e->what());
|
|
|
|
CPPUNIT_FAIL(e->what().local8Bit().data());
|
|
|
|
delete e;
|
|
|
|
delete e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -690,7 +690,7 @@ void QueryTableTest::testTaxReport()
|
|
|
|
TQString html = qtbl_3.renderHTML();
|
|
|
|
TQString html = qtbl_3.renderHTML();
|
|
|
|
CPPUNIT_ASSERT(rows.count() == 1);
|
|
|
|
CPPUNIT_ASSERT(rows.count() == 1);
|
|
|
|
} catch(MyMoneyException *e) {
|
|
|
|
} catch(MyMoneyException *e) {
|
|
|
|
CPPUNIT_FAIL(e->what());
|
|
|
|
CPPUNIT_FAIL(e->what().local8Bit().data());
|
|
|
|
delete e;
|
|
|
|
delete e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|