A test suite for dcop
Ian Reinhart Geiser
geiseri at yahoo.com
Mon Mar 10 19:42:59 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
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.
-ian reinhart geiser
On Monday 10 March 2003 03:24 pm, Luis Pedro Coelho wrote:
> As dfaure says in his last commit to kdelibs/dcop/dcopidl/yacc.yy:
> Revert my hack for a<b<c>>. Better have a compile-time warning than a
> DCOP call (the type "d<e> " 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<b<c>> there isn't much point).
> Except that it wasn't a hack for a<b<c>>, 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
> ( 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.
- --:Ian Reinhart Geiser <geiseri at yahoo.com>
- --:Public Key: http://geiseri.myip.org:8080/publickey.txt
- --:Jabber: geiseri at geiseri.myip.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel