[Kmymoney-devel] Review Request: Display the number of not marked transactions for every account on KMM's homepage

Alvaro Soliverez asoliverez at kde.org
Mon Jan 7 22:19:45 UTC 2013


Just to make sure, clean your build dir and build from scratch. That will
clear any cache that might hinder your tests


On Mon, Jan 7, 2013 at 7:12 PM, Marko Käning <mk-lists at email.de> wrote:

>    This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108150/
>    kmymoney/mymoney/mymoneyfiletest.cpp<http://git.reviewboard.kde.org/r/108150/diff/3/?file=105316#file105316line2118> (Diff
> revision 3)
>
> void MyMoneyFileTest::testCountNotReconciledTransactions()
>
>    2118
>
>   t.setState(MyMoneyCheckingTransaction::Cleared);
>
>   I am completely and utterly puzzled right now. For some reason this code doesn't build anymore (as I believe it did yesterday):
>
> [ 77%] Building CXX object kmymoney/mymoney/CMakeFiles/mymoneyfiletest.dir/mymoneyfiletest.cpp.o
> /Users/marko/WC/GIT/kmymoney.homeview-additional_columns/kmymoney/mymoney/mymoneyfiletest.cpp: In member function 'void MyMoneyFileTest::testCountNotReconciledTransactions()':
> /Users/marko/WC/GIT/kmymoney.homeview-additional_columns/kmymoney/mymoney/mymoneyfiletest.cpp:2118: error: 'class MyMoneyTransaction' has no member named 'setState'
> /Users/marko/WC/GIT/kmymoney.homeview-additional_columns/kmymoney/mymoney/mymoneyfiletest.cpp:2118: error: 'MyMoneyCheckingTransaction' has not been declared
> make[2]: *** [kmymoney/mymoney/CMakeFiles/mymoneyfiletest.dir/mymoneyfiletest.cpp.o] Error 1
> make[1]: *** [kmymoney/mymoney/CMakeFiles/mymoneyfiletest.dir/all] Error 2
> make: *** [all] Error 2
>
> Was I working for some reason in another build directory when running this test successfully?
>
> Only now I see that the t.setState()-call appears only twice in comments made by Thomas and in my function.
>
>
> - Marko
>
> On January 6th, 2013, 8:25 p.m., Marko Käning wrote:
>   Review request for KMymoney and Łukasz Maszczyński.
> By Marko Käning.
>
> *Updated Jan. 6, 2013, 8:25 p.m.*
> Description
>
> This patch introduces new columns in the accounts tables on KMM's homepage (similar to [1]) which will list the number of not marked transactions for each specific account.
>
> This information will give the user the chance to immediately spot accounts which aren't properly looked after.
>
>
> ---
> [1] "homepage: extend accounts table with additional columns to reflect online-status" https://git.reviewboard.kde.org/r/107364/
>
>   Testing
>
> Builds and runs fine.
>
> TODO:
>  - implement tests for MyMoneyFile::countNotReconciledTransactions(const QString& accId)
>
>   Diffs
>
>    - kmymoney/dialogs/settings/ksettingshomedecl.ui
>    (4cb36cced4801f5d6ecf35ef84f375a629cd8792)
>    - kmymoney/kmymoney.kcfg (a60ccad153385c961fa15c5b0964588c14e7ad89)
>    - kmymoney/mymoney/mymoneyfile.h
>    (c43977ce7413eee2bc1e0a841fa548314c71e9df)
>    - kmymoney/mymoney/mymoneyfile.cpp
>    (6640356d5e07152f8eb4aecff23d62ee8d853dbd)
>    - kmymoney/mymoney/mymoneyfiletest.h
>    (5551fa94b6b34022c8e91c0301847d5479e6b1f2)
>    - kmymoney/mymoney/mymoneyfiletest.cpp
>    (feb9d57ecd7156fc1eea189a905fa797aeae9183)
>    - kmymoney/views/khomeview.cpp
>    (c79337176b7265cabe15cad4972bc719e797af7c)
>
> View Diff <http://git.reviewboard.kde.org/r/108150/diff/>
> Screenshots
> [image: accounts tables with the additional column for the number of not
> reconciled transactions] <http://git.reviewboard.kde.org/r/108150/s/985/>
>
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20130107/d7b3b3fc/attachment-0001.html>


More information about the KMyMoney-devel mailing list