SpiecsEngine
 
Loading...
Searching...
No Matches

◆ TEST() [25/59]

SpicesTest::TEST ( InetAddress_test ,
InetAddress  )

Testing Spices::Net::InetAddress.

Definition at line 17 of file InetAddress_test.h.

17 {
18
20
21 const Spices::Net::InetAddress address(8080, "192.168.0.127");
22
23 EXPECT_EQ(address.ToIP(), "192.168.0.127");
24 EXPECT_EQ(address.ToIPPort(), "192.168.0.127:8080");
25 EXPECT_EQ(address.ToPort(), 8080);
26 }
#define SPICESTEST_PROFILE_FUNCTION()
This class is Wrapper of current socket address.
Definition InetAddress.h:22

References Spices::Net::InetAddress::ToPort().