[RFC] kshelltest
David Faure
faure at kde.org
Tue Sep 27 19:27:36 BST 2005
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 feel free to commit the conversion, in any case (I don't think we
need to review conversions to QtTestLib). Thanks!
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list