[Kmymoney-devel] Building of tests fails
Marko Käning
mk-lists at email.de
Wed Nov 30 18:32:39 UTC 2011
This is what I saw when trying to have a more detailed look into the test:
---
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Here we are in ~MyMoneySplit() dtor.
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Error in function const QMap<QString, MyMoneyTransaction> MyMoneyStorageSql::fetchTransactions(const QString&, const QString&, bool) const : reading Splits
Driver = QSQLITE, Host = localhost, User = marko, Database = /var/folders/Dn/Dna0JhQ5HL4lXLJ0U0EATk+++TM/-Tmp-/kmm_test_driver
Driver Error:
Database Error No -1:
Text:
Error type 0
Executed:
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Here we are in ~MyMoneySplit() dtor.
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Here we are in ~MyMoneySplit() dtor.
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Here we are in ~MyMoneySplit() dtor.
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Here we are in ~MyMoneySplit() dtor.
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Here we are in ~MyMoneySplit() dtor.
QDEBUG : MyMoneyDatabaseMgrTest::testAddTransactions() Here we are in ~MyMoneySplit() dtor.
FAIL! : MyMoneyDatabaseMgrTest::testAddTransactions() Unexpected exception: Error in function const QMap<QString, MyMoneyTransaction> MyMoneyStorageSql::fetchTransactions(const QString&, const QString&, bool) const : reading Splits
Driver = QSQLITE, Host = localhost, User = marko, Database = /var/folders/Dn/Dna0JhQ5HL4lXLJ0U0EATk+++TM/-Tmp-/kmm_test_driver
Driver Error:
Database Error No -1:
Text:
Error type 0
Executed:
Loc: [/Users/marko/WC/GIT/kmymoney/kmymoney/mymoney/mymoneytestutils.cpp(36)]
---
Looks like the test case has problems to read the splits!
More information about the KMyMoney-devel
mailing list