

Protected Member Functions | |
void | testDefaults () |
void | testInAddrConstructor () |
void | testInAddr6Constructor () |
void | testSockAddrConstructor () |
void | testSockAddr6Constructor () |
void | testHostentConstructor () |
void | testStringConstructor () |
void | testCopyConstructor () |
void | testsetEmpty () |
void | testBooleans () |
void | testAddrInfo () |
void | testtoStr () |
void | testtoUrl_fromInAddr () |
void | testtoUrl_fromSockAddr () |
void | testgetReverseString () |
void | testMasking () |
void | testBugNullingDisplay () |
Detailed Description
Definition at line 30 of file testIpAddress.cc.
Member Function Documentation
◆ CPPUNIT_TEST() [1/17]
|
private |
◆ CPPUNIT_TEST() [2/17]
|
private |
◆ CPPUNIT_TEST() [3/17]
|
private |
◆ CPPUNIT_TEST() [4/17]
|
private |
◆ CPPUNIT_TEST() [5/17]
|
private |
◆ CPPUNIT_TEST() [6/17]
|
private |
◆ CPPUNIT_TEST() [7/17]
|
private |
◆ CPPUNIT_TEST() [8/17]
|
private |
◆ CPPUNIT_TEST() [9/17]
|
private |
◆ CPPUNIT_TEST() [10/17]
|
private |
◆ CPPUNIT_TEST() [11/17]
|
private |
◆ CPPUNIT_TEST() [12/17]
|
private |
◆ CPPUNIT_TEST() [13/17]
|
private |
◆ CPPUNIT_TEST() [14/17]
|
private |
◆ CPPUNIT_TEST() [15/17]
|
private |
◆ CPPUNIT_TEST() [16/17]
|
private |
◆ CPPUNIT_TEST() [17/17]
|
private |
◆ CPPUNIT_TEST_SUITE()
|
private |
◆ CPPUNIT_TEST_SUITE_END()
|
private |
◆ testAddrInfo()
|
protected |
Definition at line 667 of file testIpAddress.cc.
References Ip::Address::FreeAddr(), and Ip::Address::getAddrInfo().
◆ testBooleans()
|
protected |
Definition at line 350 of file testIpAddress.cc.
References Ip::Address::matchIPAddr(), Ip::Address::setAnyAddr(), and Ip::Address::setNoAddr().
◆ testBugNullingDisplay()
|
protected |
Definition at line 731 of file testIpAddress.cc.
References Ip::Address::getInAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), MAX_IPSTRLEN, Ip::Address::port(), Ip::Address::toHostStr(), Ip::Address::toStr(), and Ip::Address::toUrl().
◆ testCopyConstructor()
|
protected |
Definition at line 204 of file testIpAddress.cc.
References Ip::Address::getSockAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), and Ip::Address::port().
◆ testDefaults()
|
protected |
Definition at line 83 of file testIpAddress.cc.
References Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), and Ip::Address::port().
◆ testgetReverseString()
|
protected |
Definition at line 552 of file testIpAddress.cc.
References Ip::Address::getReverseString(), and MAX_IPSTRLEN.
◆ testHostentConstructor()
|
protected |
Definition at line 234 of file testIpAddress.cc.
References Ip::Address::getInAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), Ip::Address::port(), and xgethostbyname().
◆ testInAddr6Constructor()
|
protected |
Definition at line 119 of file testIpAddress.cc.
References Ip::Address::getInAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), and Ip::Address::port().
◆ testInAddrConstructor()
|
protected |
Definition at line 97 of file testIpAddress.cc.
References Ip::Address::getInAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), and Ip::Address::port().
◆ testMasking()
|
protected |
Definition at line 586 of file testIpAddress.cc.
References Ip::Address::applyMask(), Ip::Address::cidr(), Ip::Address::getInAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), MAX_IPSTRLEN, Ip::Address::setAnyAddr(), Ip::Address::setNoAddr(), and Ip::Address::toStr().
◆ testsetEmpty()
|
protected |
Definition at line 321 of file testIpAddress.cc.
References Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), Ip::Address::port(), and Ip::Address::setEmpty().
◆ testSockAddr6Constructor()
|
protected |
Definition at line 172 of file testIpAddress.cc.
References Ip::Address::getSockAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), and Ip::Address::port().
◆ testSockAddrConstructor()
|
protected |
Definition at line 143 of file testIpAddress.cc.
References Ip::Address::getSockAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), and Ip::Address::port().
◆ testStringConstructor()
|
protected |
Definition at line 258 of file testIpAddress.cc.
References Ip::Address::getInAddr(), Ip::Address::isAnyAddr(), Ip::Address::isIPv4(), Ip::Address::isIPv6(), Ip::Address::isNoAddr(), Ip::Address::isSockAddr(), and Ip::Address::port().
◆ testtoStr()
|
protected |
Definition at line 462 of file testIpAddress.cc.
References MAX_IPSTRLEN, Ip::Address::setAnyAddr(), Ip::Address::setNoAddr(), and Ip::Address::toStr().
◆ testtoUrl_fromInAddr()
|
protected |
Definition at line 486 of file testIpAddress.cc.
References MAX_IPSTRLEN, and Ip::Address::toUrl().
◆ testtoUrl_fromSockAddr()
|
protected |
Definition at line 515 of file testIpAddress.cc.
References MAX_IPSTRLEN, and Ip::Address::toUrl().
The documentation for this class was generated from the following file:
- src/tests/testIpAddress.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products