[RFC] kshelltest

Oswald Buddenhagen ossi at kde.org
Tue Sep 27 19:31:26 BST 2005


On Tue, Sep 27, 2005 at 08:27:36PM +0200, David Faure wrote:
> On Tuesday 27 September 2005 19:51, Thomas Braxton wrote:
> >         QStringList list;
> >         list << "this" << "is" << "a" << "test";
> >         COMPARE(KShell::joinArgs(list), QString("this is a test"));
> 
> I guess it would be useful to test the less trivial cases too - e.g. an 
> argument with a space, a single quote, a double quote, etc.
> 
but this is the trivial function that does not handle these cases
specially. :)
the "proper" function is tested below.

> But feel free to commit the conversion, in any case (I don't think we
> need to review conversions to QtTestLib). Thanks!
> 
i tend to agree.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list