summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/tests/ipaddrtest.h
blob: 6aff018cb7ac740fb79bb92a75a8be87d4321ecc (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 <[email protected]>, (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 TQT_FATAL_ASSERT 1

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

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

	void CheckTest(bool TestPassed);
};

#endif