1//
2// IPAddressTest.h
3//
4// Definition of the IPAddressTest class.
5//
6// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12
13#ifndef IPAddressTest_INCLUDED
14#define IPAddressTest_INCLUDED
15
16
17#include "Poco/Net/Net.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class IPAddressTest: public CppUnit::TestCase
22{
23public:
24 IPAddressTest(const std::string& name);
25 ~IPAddressTest();
26
27 void testStringConv();
28 void testStringConv6();
29 void testParse();
30 void testClassification();
31 void testMCClassification();
32 void testClassification6();
33 void testMCClassification6();
34 void testRelationals();
35 void testRelationals6();
36 void testWildcard();
37 void testBroadcast();
38 void testPrefixCons();
39 void testPrefixLen();
40 void testOperators();
41 void testByteOrderMacros();
42
43 void setUp();
44 void tearDown();
45
46 static CppUnit::Test* suite();
47
48private:
49};
50
51
52#endif // IPAddressTest_INCLUDED
53