testAddress.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 <cppunit/extensions/HelperMacros.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 testCopyConstructor()
Definition: testAddress.cc:160
void testDefaults()
Definition: testAddress.cc:39
CPPUNIT_TEST_SUITE(testIpAddress)
void testInAddr6Constructor()
Definition: testAddress.cc:75
void testtoStr()
Definition: testAddress.cc:419
void testSockAddrConstructor()
Definition: testAddress.cc:99
CPPUNIT_TEST(testDefaults)
void testgetReverseString()
Definition: testAddress.cc:509
void testStringConstructor()
Definition: testAddress.cc:215
void testHostentConstructor()
Definition: testAddress.cc:190
void testBooleans()
Definition: testAddress.cc:307
void testtoUrl_fromSockAddr()
Definition: testAddress.cc:472
void testSockAddr6Constructor()
Definition: testAddress.cc:128
void testBugNullingDisplay()
Definition: testAddress.cc:721
void testtoUrl_fromInAddr()
Definition: testAddress.cc:443
void testMasking()
Definition: testAddress.cc:543
void testsetEmpty()
Definition: testAddress.cc:278
void testAddrInfo()
Definition: testAddress.cc:624
void testInAddrConstructor()
Definition: testAddress.cc:53

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors