[Kde-games-devel] KGame Testing

Albert Astals Cid aacid at kde.org
Sun Apr 29 12:23:59 CEST 2007


A Diumenge 29 Abril 2007, Martin Heni va escriure:
> > Look at trunk/kdegames/libkdegames/tests/kgamesvgdocumenttest.[cpp|h],
> > and the CMakeLists.txt in that dir.  Those are functioning tests,
> > although they certainly don't test the whole interface yet.
>
> I added a first test case for the KGamePropertyHandler (and fixed the bug
> which crashed KWin4).
>
> However, I have one problem: The test cannot include the KGame include
> files unless I use a direct path to them like "../kgame/kgameproperty.h".
> Any idea why this is? Can someone look at
> libkdegames/test/kgamepropertytest.*

Using

#include "kgame/kgame.h"
#include "kgame/kgamepropertyhandler.h"

in kgamepropertytest.h works for me

Albert

>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel




More information about the kde-games-devel mailing list