Review Request 127103: Add autotests for IconItem

David Rosca nowrep at gmail.com
Thu Feb 18 11:32:29 UTC 2016



> On Feb. 18, 2016, 11:20 a.m., Kai Uwe Broulik wrote:
> > autotests/iconitemtest.h, line 20
> > <https://git.reviewboard.kde.org/r/127103/diff/1/?file=444564#file444564line20>
> >
> >     Can we use this now?

It's supported by all compilers in minimal versions supported by frameworks, but yeah it's non-standard.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127103/#review92524
-----------------------------------------------------------


On Feb. 17, 2016, 5:37 p.m., David Rosca wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127103/
> -----------------------------------------------------------
> 
> (Updated Feb. 17, 2016, 5:37 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> Add some tests for IconItem.
> Also found one issue in animation when quickly changing source, first frame will be rendered with wrong icon.
> 
> 
> Diffs
> -----
> 
>   autotests/CMakeLists.txt 258adb8 
>   autotests/data/icons/hicolor/22x22/apps/bug359388.svg PRE-CREATION 
>   autotests/data/view.qml PRE-CREATION 
>   autotests/iconitemtest.h PRE-CREATION 
>   autotests/iconitemtest.cpp PRE-CREATION 
>   src/declarativeimports/core/iconitem.cpp 085f284 
> 
> Diff: https://git.reviewboard.kde.org/r/127103/diff/
> 
> 
> Testing
> -------
> 
> Tests pass localy, I used only icons that are shipped with plasma-framework breeze theme so it should work on CI too.
> 
> There is also test that checks if animation is not running after the item was hidden. This needs https://git.reviewboard.kde.org/r/122859/, so this should land only after that.
> 
> 
> Thanks,
> 
> David Rosca
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160218/fe97fc4c/attachment.html>


More information about the Plasma-devel mailing list