From kde-core-devel Mon Mar 10 19:42:59 2003 From: Ian Reinhart Geiser Date: Mon, 10 Mar 2003 19:42:59 +0000 To: kde-core-devel Subject: Re: A test suite for dcop X-MARC-Message: https://marc.info/?l=kde-core-devel&m=104732549822027 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would like to go on record that I personally like tests... and dcop tests are even better. If they are automated then they rock IMHO. Could you place them in kdenonbeta for public abuse or post them on a URL? Id be interested in seeing them. Cheers -ian reinhart geiser On Monday 10 March 2003 03:24 pm, Luis Pedro Coelho wrote: > Hi, > > As dfaure says in his last commit to kdelibs/dcop/dcopidl/yacc.yy: > > > Revert my hack for a>. Better have a compile-time warning than a > non-working > DCOP call (the type "d " is not handled by dcop due to the trailing > space it seems). > Someone who knows a bit more about dcop's type handling should look into > this (but if no compiler really breaks on a> there isn't much point). > > > Except that it wasn't a hack for a>, it was a bugfix and dcop is very > broken with respect to error handling. In the process of starting to fix it > a bit, I got all Extreme Programmingish and create a little test suite for > dcop. It is now more or less usable and dcop (still) fails on many of the > tests. > > ( For those interested here is what I do: I get a few test cases and then > use perl to generate code to run these test cases in 3 modes: "local": no > dcop involved, just function calls, "shell": using "dcop TestApp ...." and > "remote": I get another programm which connects through dcop to the first > app and calls the functions through a stub. The results (return values + > stdout printing) of these three modes. This tests "dcop", "dcopidl" and > "dcopidl2cpp" and some kdecore functions. ) > > > I was wondering what to do with the test suite? > Should I just keep it to myself (in its current ugly state, I will not even > post it :) or should I clean it up and commit (or submit it here). They > should probably go under kdelibs/tests/dcop because they depend on kdecore > and should be built (and run) last. > > Regards, - -- - --:Ian Reinhart Geiser - --:Public Key: http://geiseri.myip.org:8080/publickey.txt - --:Jabber: geiseri@geiseri.myip.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+bOrDPy62TRm8dvgRAqeCAJ9TSUIshK5C87feI3AMHL3vwGgxawCgpgub 94zHSUC36MJnHl1LYShj5z0= =a5DI -----END PGP SIGNATURE-----