[Kmymoney-devel] KMyMoney - CSV Importer

Fernando Vilas fvilas at iname.com
Fri Jun 25 14:21:10 CEST 2010


On Friday, June 25, 2010 02:34:30 Cristian Oneţ wrote:
> On Fri, Jun 25, 2010 at 2:21 AM, allan <aganderson at ukonline.co.uk> wrote:
> [snip]
> 
[..]
> > I mentioned this afternoon that the unit testing had been overtaken by
> > events since I sent it to you, it being CPPUNIT based.  I now have the
> > QTest version working in isolation, and will the integrate it into the
> > plugin version and let you have that as soon as poss.
> 
> Then, after I clean up the plugin code, I'll commit it to SVN. I'm not
> sure how will we handle the unit tests though since the tests have to
> be standalone in the plugin (not built with the kmymoney tests) but I
> think QTest can handle that.
> 

It is actually easier to do that with QTest than it was with CPPUNIT. In the 
CMakeLists.txt for the plugin, add a section that checks for KDE4_BUILD_TESTS, 
and put the test inside that block. If the plugin is enabled and built, it 
will build and run the test.

-- 
Thanks,
Fernando Vilas
fvilas at iname.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100625/389682bb/attachment.sig 


More information about the KMyMoney-devel mailing list