summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/tests/ipaddrtest.h
blob: f2fa0fec463680f3efe848ff21a977c6fb81e7e3 (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
32
33
34
35
//
// C++ Implementation: clientstream_test
//
// Description:
//
//
// Author: Kopete Developers <kopete-devel@kde.org>, (C) 2004
// Licensed under the GNU General Public License

#ifndef IPADDRTEST_H
#define IPADDRTEST_H

#include <tqglobal.h>
#include <tqapplication.h>
#include <tqtimer.h>

#include "oscarutils.h"

#define QT_FATAL_ASSERT 1

class IPAddrTest : public QApplication
{
public:
	IPAddrTest(int argc, char ** argv);
	~IPAddrTest();

	bool testDottedDecimal();
	bool testNumericalIP();
	bool testAllZeroDotted();
	bool testAllZeroNumerical();

	void CheckTest(bool TestPassed);
};

#endif