summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/tests/ipaddrtest.h
blob: 9452ad82ce28609445c5963fec860aed5b76d562 (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 <qglobal.h>
#include <qapplication.h>
#include <qtimer.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