testIpAddress.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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
18class testIpAddress : public CPPUNIT_NS::TestFixture
19{
37
40
41public:
42
43protected:
44 void testDefaults();
45
53
54 void testsetEmpty();
55 void testBooleans();
56
57 void testAddrInfo();
58
59 void testtoStr();
63 void testMasking();
64
65 // bugs.
67
68};
69
70#endif /* SQUID_SRC_TEST_IPADDRESS_H */
71
void testBugNullingDisplay()
CPPUNIT_TEST(testMasking)
CPPUNIT_TEST(testSockAddrConstructor)
void testInAddr6Constructor()
void testtoUrl_fromSockAddr()
CPPUNIT_TEST(testInAddrConstructor)
void testtoUrl_fromInAddr()
CPPUNIT_TEST(testInAddr6Constructor)
CPPUNIT_TEST(testtoStr)
void testSockAddr6Constructor()
void testSockAddrConstructor()
CPPUNIT_TEST(testtoUrl_fromInAddr)
CPPUNIT_TEST(testSockAddr6Constructor)
void testInAddrConstructor()
CPPUNIT_TEST(testgetReverseString)
CPPUNIT_TEST(testStringConstructor)
void testgetReverseString()
CPPUNIT_TEST(testsetEmpty)
CPPUNIT_TEST(testCopyConstructor)
CPPUNIT_TEST(testHostentConstructor)
CPPUNIT_TEST_SUITE(testIpAddress)
void testCopyConstructor()
void testHostentConstructor()
void testStringConstructor()
CPPUNIT_TEST(testBooleans)
void testDefaults()
CPPUNIT_TEST(testAddrInfo)
CPPUNIT_TEST(testtoUrl_fromSockAddr)
CPPUNIT_TEST(testDefaults)
CPPUNIT_TEST(testBugNullingDisplay)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors