summaryrefslogtreecommitdiffstats
path: root/kunittest/runner.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kunittest/runner.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kunittest/runner.h')
-rw-r--r--kunittest/runner.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kunittest/runner.h b/kunittest/runner.h
index be1b056c8..49bbb0a4a 100644
--- a/kunittest/runner.h
+++ b/kunittest/runner.h
@@ -36,9 +36,9 @@
#include <iostream>
using namespace std;
-#include <qobject.h>
-#include <qasciidict.h>
-#include <qstring.h>
+#include <tqobject.h>
+#include <tqasciidict.h>
+#include <tqstring.h>
#include <kdelibs_export.h>
@@ -54,7 +54,7 @@ namespace KUnitTest
* defines the name of the test suite.
*/
#define KUNITTEST_SUITE(suite)\
- static const QString s_kunittest_suite = suite;
+ static const TQString s_kunittest_suite = suite;
/*! @def KUNITTEST_REGISTER_TESTER( tester )
* @brief Automatic registration of Tester classes.
@@ -66,16 +66,16 @@ namespace KUnitTest
* You can always use the static Runner::registerTester(const char *name, Tester *test) method.
*/
#define KUNITTEST_REGISTER_TESTER( tester )\
- static TesterAutoregister tester##Autoregister( QString(s_kunittest_suite + QString("::") + QString::fromLocal8Bit(#tester)).local8Bit() , new tester ())
+ static TesterAutoregister tester##Autoregister( TQString(s_kunittest_suite + TQString("::") + TQString::fromLocal8Bit(#tester)).local8Bit() , new tester ())
#define KUNITTEST_REGISTER_NAMEDTESTER( name, tester )\
- static TesterAutoregister tester##Autoregister( QString(s_kunittest_suite + QString("::") + QString::fromLocal8Bit(name)).local8Bit() , new tester ())
+ static TesterAutoregister tester##Autoregister( TQString(s_kunittest_suite + TQString("::") + TQString::fromLocal8Bit(name)).local8Bit() , new tester ())
/*! The type of the registry. */
- typedef QAsciiDict<Tester> RegistryType;
+ typedef TQAsciiDict<Tester> RegistryType;
/*! A type that can be used to iterate through the registry. */
- typedef QAsciiDictIterator<Tester> RegistryIteratorType;
+ typedef TQAsciiDictIterator<Tester> RegistryIteratorType;
/*! The Runner class holds a list of registered Tester classes and is able
* to run those test cases. The Runner class follows the singleton design
@@ -121,7 +121,7 @@ namespace KUnitTest
* @param folder The folder where to look for modules.
* @param query A regular expression. Only modules which match the query will be run.
*/
- static void loadModules(const QString &folder, const QString &query);
+ static void loadModules(const TQString &folder, const TQString &query);
/*! The runner can spit out special debug messages needed by the Perl script: kunittest_debughelper.
* This script can attach the debug output of each suite to the results in the KUnitTest GUI.
@@ -171,7 +171,7 @@ namespace KUnitTest
/*! Call this slot to run tests with names starting with prefix.
* @param prefix Only run tests starting with the string prefix.
*/
- void runMatchingTests(const QString &prefix);
+ void runMatchingTests(const TQString &prefix);
/*! Reset the Runner in order to prepare it to run one or more tests again.
*/