[Kmymoney-devel] Review Request: Patch which highlights the online statement balance if different from current file balance
Thomas Baumgart
thb at net-bembel.de
Sun Nov 27 16:40:35 UTC 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103264/#review8538
-----------------------------------------------------------
kmymoney/mymoney/mymoneyfile.h
<http://git.reviewboard.kde.org/r/103264/#comment7237>
Now that we have a new member in MyMoneyFile, please add testcase(s) to MyMoneyFileTest that prove that the code works as expected. See below for testcases I could imagine.
kmymoney/mymoney/mymoneyfile.h
<http://git.reviewboard.kde.org/r/103264/#comment7240>
Mention how method behaves in case no online balance is available for the account.
kmymoney/mymoney/mymoneyfile.h
<http://git.reviewboard.kde.org/r/103264/#comment7239>
make that a const method by adding the word 'const' between ')' and ';'.
kmymoney/mymoney/mymoneyfile.cpp
<http://git.reviewboard.kde.org/r/103264/#comment7238>
Ooops, this won't work. You need to check if you have an online balance and in case you don't, return false. Add a test cases for
a) no online balance available
b) online balance matches
c) online balance does not match
- Thomas Baumgart
On Nov. 27, 2011, 4:32 p.m., Marko Käning wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103264/
> -----------------------------------------------------------
>
> (Updated Nov. 27, 2011, 4:32 p.m.)
>
>
> Review request for KMymoney.
>
>
> Description
> -------
>
> Highlighting of online statement balance with red background and
> highlighted text if file balance and online balance are different.
> (This patch was put together from Thomas' and Cristian's advice on ML)
>
>
> This addresses bug 287494.
> http://bugs.kde.org/show_bug.cgi?id=287494
>
>
> Diffs
> -----
>
> kmymoney/mymoney/mymoneyfile.h d44e2ea
> kmymoney/mymoney/mymoneyfile.cpp f573f9a
> kmymoney/widgets/register.h 8cd1a32
> kmymoney/widgets/register.cpp 39d991c
>
> Diff: http://git.reviewboard.kde.org/r/103264/diff/diff
>
>
> Testing
> -------
>
> Yes
>
>
> Screenshots
> -----------
>
> small snapshot showing the highlighted group marker
> http://git.reviewboard.kde.org/r/103264/s/345/
>
>
> Thanks,
>
> Marko Käning
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20111127/a1412951/attachment-0001.html>
More information about the KMyMoney-devel
mailing list