summaryrefslogtreecommitdiffstats
path: root/kmail/tests/utiltests.h
blob: cb6c225a9e38008fc4f257875800f3b40f33106a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * 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