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.
36 lines
607 B
36 lines
607 B
//
|
|
// 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 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
|