diff options
Diffstat (limited to 'kunittest/example/simple/sampletest.cpp')
-rw-r--r-- | kunittest/example/simple/sampletest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kunittest/example/simple/sampletest.cpp b/kunittest/example/simple/sampletest.cpp index 32d97703..846d514f 100644 --- a/kunittest/example/simple/sampletest.cpp +++ b/kunittest/example/simple/sampletest.cpp @@ -23,7 +23,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <qstringlist.h> +#include <tqstringlist.h> #include <kdebug.h> #include <kunittest/runner.h> @@ -39,7 +39,7 @@ KUNITTEST_REGISTER_TESTER(SomeSampleTester); void SimpleSampleTester::allTests() { kdDebug() << "Debug output belonging to SimpleSampleTester." << endl; - CHECK( QString("SimpleSample") , QString("SimpleSample") ); + CHECK( TQString("SimpleSample") , TQString("SimpleSample") ); SKIP("Just curious how this 'skipping' works."); } @@ -49,7 +49,7 @@ void SomeSampleTester::allTests() kdDebug() << "Checking operator precedences." << endl; CHECK( 2.0 * 3.0 / 2.0 * 4.0 / 2.0 , 6.0 ); - QStringList testList; + TQStringList testList; testList << "one" << "two"; - CHECK( testList.count() , (QStringList::size_type) 2 ); + CHECK( testList.count() , (TQStringList::size_type) 2 ); } |