You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
* Copyright (C) 2007 David Faure <faure@kde.org>
|
|
|
|
*
|
|
|
|
* This file is subject to the GPL version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef UTILTESTS_H
|
|
|
|
#define UTILTESTS_H
|
|
|
|
|
|
|
|
#include <kunittest/tester.h>
|
|
|
|
|
|
|
|
class UtilTester : public KUnitTest::SlotTester
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void setUp();
|
|
|
|
void tearDown();
|
|
|
|
void test_lf2crlf();
|
|
|
|
void test_crlf2lf();
|
|
|
|
void test_escapeFrom();
|
|
|
|
void test_append();
|
|
|
|
void test_insert();
|
|
|
|
void test_DwStringConversions();
|
|
|
|
void test_TQByteArrayTQCString();
|
|
|
|
private:
|
|
|
|
void test_DwStringConversions( const TQCString& cstr );
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|