Unit tests for the libraries code.

MaLiK malik_cjm at o2.pl
Sun Jan 27 19:19:19 CET 2008

Dnia 2008-01-27, o godz. 11:39:12
Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> napisał(a):

> MaLiK wrote:
> > Thanks for the quick replay, and the very good suggestion. 
> > You have absolutly right. I've prepared the patch file.
> I've tried to apply the patch today. I had to tweak some parts to
> make it work with CUnit 2.0, see attached file. Nevertheless, the
> tests still don't work properly
> plus several more critical warnings. Please grab the attached patch
> and update it so it does not spit out critical warnings and does not
> crash.


I've create test by putting diffrent params to the testing functions.
It spit out critical warnings becouse i've put some null pointers
to the functions. It crash becouse after calling this function
xfce_desktop_entry_new(file_name, categories, -1)
the last param is not check.

Best regards

More information about the Xfce4-dev mailing list