From 15b965af3a9c5387af74fad9ccf884ed15394d2c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 18 May 2007 23:36:58 +0000 Subject: David Faure wrote: > Sounds like the kind of method that would benefit greatly from a unit test :) OK, committing my first unit test for KDE. Although very minimal it's at least a start ;-) (currently deactivated as I've some problem in CMakeList.txt) svn path=/trunk/KDE/kdebase/apps/; revision=666162 --- src/tests/renamedialogtest.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/tests/renamedialogtest.h (limited to 'src/tests/renamedialogtest.h') diff --git a/src/tests/renamedialogtest.h b/src/tests/renamedialogtest.h new file mode 100644 index 000000000..0aabc62a5 --- /dev/null +++ b/src/tests/renamedialogtest.h @@ -0,0 +1,33 @@ +/*************************************************************************** + * Copyright (C) 2006 by Peter Penz * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * + ***************************************************************************/ + +#ifndef RENAMEDIALOGTEST_H +#define RENAMEDIALOGTEST_H + +#include + +class RenameDialogTest : public QObject +{ + Q_OBJECT + +private slots: + void testExtensionString(); +}; + +#endif -- cgit v1.3.1