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
602 B
36 lines
602 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 <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
|