testIpAddress.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SRC_TEST_IPADDRESS_H
10 #define SQUID_SRC_TEST_IPADDRESS_H
11 
12 #include "compat/cppunit.h"
13 
14 /*
15  * test the IP storage type
16  */
17 
18 class testIpAddress : public CPPUNIT_NS::TestFixture
19 {
37 
40 
41 public:
42 
43 protected:
44  void testDefaults();
45 
46  void testInAddrConstructor();
51  void testStringConstructor();
52  void testCopyConstructor();
53 
54  void testsetEmpty();
55  void testBooleans();
56 
57  void testAddrInfo();
58 
59  void testtoStr();
60  void testtoUrl_fromInAddr();
62  void testgetReverseString();
63  void testMasking();
64 
65  // bugs.
66  void testBugNullingDisplay();
67 
68 };
69 
70 #endif /* SQUID_SRC_TEST_IPADDRESS_H */
71 
void testtoUrl_fromSockAddr()
CPPUNIT_TEST(testInAddrConstructor)
void testHostentConstructor()
CPPUNIT_TEST(testBooleans)
CPPUNIT_TEST(testSockAddr6Constructor)
CPPUNIT_TEST(testsetEmpty)
void testSockAddrConstructor()
CPPUNIT_TEST(testSockAddrConstructor)
CPPUNIT_TEST(testtoUrl_fromInAddr)
CPPUNIT_TEST(testBugNullingDisplay)
CPPUNIT_TEST(testStringConstructor)
CPPUNIT_TEST(testMasking)
CPPUNIT_TEST(testgetReverseString)
void testBugNullingDisplay()
void testgetReverseString()
void testDefaults()
void testInAddrConstructor()
CPPUNIT_TEST(testCopyConstructor)
void testCopyConstructor()
CPPUNIT_TEST(testtoStr)
CPPUNIT_TEST(testAddrInfo)
CPPUNIT_TEST_SUITE(testIpAddress)
CPPUNIT_TEST(testHostentConstructor)
void testtoUrl_fromInAddr()
CPPUNIT_TEST(testInAddr6Constructor)
CPPUNIT_TEST(testDefaults)
void testSockAddr6Constructor()
CPPUNIT_TEST(testtoUrl_fromSockAddr)
void testStringConstructor()
void testInAddr6Constructor()

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors