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 32 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 670 of file testIpAddress.cc.
References Ip::Address::FreeAddr(), and Ip::Address::getAddrInfo().
◆ testBooleans()
|
protected |
Definition at line 353 of file testIpAddress.cc.
References Ip::Address::matchIPAddr(), Ip::Address::setAnyAddr(), and Ip::Address::setNoAddr().
◆ testBugNullingDisplay()
|
protected |
Definition at line 734 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 206 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 85 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 555 of file testIpAddress.cc.
References Ip::Address::getReverseString(), and MAX_IPSTRLEN.
◆ testHostentConstructor()
|
protected |
Definition at line 236 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().
◆ testInAddr6Constructor()
|
protected |
Definition at line 121 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 99 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 589 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 324 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 174 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 145 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 261 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 465 of file testIpAddress.cc.
References MAX_IPSTRLEN, Ip::Address::setAnyAddr(), Ip::Address::setNoAddr(), and Ip::Address::toStr().
◆ testtoUrl_fromInAddr()
|
protected |
Definition at line 489 of file testIpAddress.cc.
References MAX_IPSTRLEN, and Ip::Address::toUrl().
◆ testtoUrl_fromSockAddr()
|
protected |
Definition at line 518 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